lkml.org 
[lkml]   [1999]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Why doesn't the sync mount option REALLY work on floppies??
Hi,

On Fri, 23 Jul 1999 18:10:02 +0200, Francis GALIEGUE
<desdemona@mail.cpod.fr> said:

> All is in the question. After looking at the sync(2) manpage:
> DESCRIPTION
> sync first commits inodes to buffers, and then buffers to
> disk.

> it just looks that the sync option does the first step but not the second
> (because filesystem panics when I remove a rw,sync mounted floppy).

"mount -o sync" has absolutely nothing to do with the sync(2) system
call. mount -o sync just means that ext2fs directory operations will be
performed synchronously to disk: it doesn't make that guarantee about
data files.

> At first I wanted to port supermount to 2.2, but lacked time (and
> moreover the VFS layer is gonna change - again - in 2.4.x), whereas my
> program works now - except for this.

The stackable filesystem templates:
http://www.cs.columbia.edu/~ezk/research/wip.html)
would be an excellent place to start if you want a supermount for 2.2.

--Stephen

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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.049 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site