Re: the umount() saga for regular linux desktop users

From: Tom Felker (tfelker2_at_uiuc.edu)
Date: 12/31/04

  • Next message: Linus Torvalds: "Re: ptrace single-stepping change breaks Wine"
    To: gene.heskett@verizon.net
    Date:	Fri, 31 Dec 2004 15:48:11 -0600
    
    

    On Friday 31 December 2004 12:22 pm, Gene Heskett wrote:

    > There are some times when the usual 5 second flush schedule should be
    > tossed out the window, and the data written immediately. A quickly
    > unpluggable usb memory dongle is a prime candidate to bite the user
    > precisely where it hurts. Floppies also fit this same scenario, I
    > don't know at the times I've written an image with dd, got up out of
    > my chair and went to the machine and slapped the eject button to
    > discover to my horror, that when my hand came away from the button
    > with disk in hand, the frigging access led was now on that wasn't
    > when I tapped the button.

    For that you should add "sync" as an option when mounting the filesystem, in
    which case writes won't return until the data has actually been written. man
    mount doesn't mention that being implemented for FAT, though - is that
    accurate, and if so, shouldn't it be?

    -- 
    Tom Felker, <tcfelker@mtco.com>
    <http://vlevel.sourceforge.net> - Stop fiddling with the volume knob.
    McBride: "I have here in my hand a list of two hundred and five..."
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Linus Torvalds: "Re: ptrace single-stepping change breaks Wine"