Date: Sun, 18 Oct 1998 22:58:13 -0700 From: Mike Smith <mike@smith.net.au> To: Chuck Robey <chuckr@mat.net> Cc: Peter Wemm <peter@netplex.com.au>, Nik Clayton <nik@nothing-going-on.demon.co.uk>, Andy Farkas <andyf@speednet.com.au>, freebsd-current@FreeBSD.ORG Subject: Re: mount flags Message-ID: <199810190558.WAA16555@dingo.cdrom.com> In-Reply-To: Your message of "Sun, 18 Oct 1998 23:30:58 EDT." <Pine.BSF.4.05.9810182323290.348-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > If I do the getvfsbyname method, I do no pattern-matching at all > (FreeBSD does that for me). When I do the lookup, the data is good at > that point, isn't it, even in the face of the vfs or KLD loads/unloads, > right? And, as long as I do no dismounting (the fs is up) that number > can't change on me. The *set* of available numbers and their mappings > can change, but not the one I'm sitting on, right? That's correct; a VFS can't be unloaded while it's referenced. > I'd stop doing that, if I trusted that the statfs f_fstypename was > reliably being set. It's too new, and I haven't found where it's > getting set, no matter how much I search for it. You can probably count on it. If you can't, that's *definitely* a bug. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com 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?199810190558.WAA16555>
