Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 1999 14:24:40 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Jim Bryant <jbryant@unix.tfs.net>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>, freebsd-current@FreeBSD.ORG
Subject:   Re: file disappeared?
Message-ID:  <Pine.BSF.3.96.990426142328.2095x-100000@cygnus.rush.net>
In-Reply-To: <199904261858.NAA21791@argus.tfs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Apr 1999, Jim Bryant wrote:

> In reply:
> > Can VFS_STATFS return a value that indicates whether a file system
> > is mounted?  If so, it would seem logical to have fsck check the status.
> > 
> > status = VFS_STATFS(mp, sbp, p);
> > if (status & MOUNTED)
> >    perror("file system mounted");
> 
> I am saying this without having looked at the code first, but I
> believe that it is already impossible to umount a filesystem with any
> OPEN files on it: "filesystem in use".  

umount -f

will force a dismount and make all open references go to deadfs afaik.

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990426142328.2095x-100000>