Re: Weirdness of "mount -o remount,rw" with write-protected floppy

From: Rob Landley
Date: Sat Oct 29 2005 - 02:15:33 EST


On Friday 28 October 2005 09:52, Evgeny Stambulchik wrote:
> You're right, when I mount the floppy with "-o sync", touch fails
> immediately (I did try earlier sync(1), as somebody suggested, and it
> didn't matter; yes, I know about the difference between sync(2) and
> fsync(2)). On the other hand, umount is supposed to flush all the data
> by the time it returns yet still it succeeded.

Is that guaranteed? Or do you need to pass some weird flag to umount? (I
know there's lazy unmounts, for example. I don't know what the guarantees
are for standard unmounts...)

Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/