Subject: Re: FFS reliability problems
To: None <tech-kern@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 06/05/2002 10:15:17
> (Actually, in my case with VXFS, unmounting the file system would
> have lost me my data... does our unmount(2) clear things as well?)

Yes and no.

You can't normally unmount(2) a filesystem that has files open,
unlinked or not, meaning that in order to unmount it you have to get
all the files out of the open-but-unlinked state.

I don't know what happens with umount -f (MNT_FORCE to unmount(2)), but
ISTM that either it clears the files or leaves the filesystem dirty.

					der Mouse