Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.slackware    |    I think its the one without Selinux crap    |    87,272 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 85,996 of 87,272    |
|    Henrik Carlqvist to Mike Small    |
|    Re: sync after mkfs?    |
|    29 Sep 22 05:50:10    |
      From: Henrik.Carlqvist@deadspam.com              On Tue, 27 Sep 2022 13:15:25 -0400, Mike Small wrote:       > 1. create an ext4 fs       > 2. mount it       > 3. copy files to it       > 4. unmount it       > 5. remount it at a different point       > 6. access copied files.       >       > This sequence sometimes fails at step 5 and rarely in step 6. Typically       > it does not fail. Could be a hardware error or something else (I'm       > always looking for a new thing to blame udevd on, for instance), but it       > sure would be nice (but not reassuring) if only a sync or two was what       > was needed.              Umount is supposed to sync the file system before unmounting and       returning.              As Bit Twister said, it might be a good idea to check the exit status of       all the commands and especially the umount commoand. Also look for error       messages from the commands and most of all, check for warnings and errors       in the output from dmesg when something like this goes wrong.              regards Henrik              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca