Re: umount without sync
On 17/09/10 22:25, T o n g wrote:
> Hi,
>
> I saw that it is a common practice to issue sync several times before
> umount. I know it's a good practice, but is it really necessary?
>
> If I copy a big chuck of file to my USB, then issue umount immediately,
> will I lost any data? I think Linux will make sure all data are flushed
> to USB before the umount is successfully finished, but I want a confirm.
>
> How about umount swaps? umount really necessary?
>
> Thanks
>
umount has been answered already...
With the USB I'd add the obvious - don't use "umount -l"
Any unusual mount options you're using?
What is the file system?
umount swap? I suspect you mean "swapoff" (though I can't think of many
uses).
man swapon
Cheers
Reply to: