> > No doubt. :-) > > If the sync(2) has actual consistency and reliability benefits, it > should > probably be done by the umount(2) system call, so that other future > auto-mounters, etc, also get the same result, rather than having to > encode it > in every application. If it's done on blind faith, perhaps it > shouldn't be > done at all. > I wouldn't say it's necessary, but if you look at dounmount() in vfs_mount.c, it does a VFS_SYNC() before VFS_UNMOUNT(). I needed to fix nfs_sync() for forced dismounts to work because of this.
rick _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"