Date: Mon, 19 Oct 1998 18:42:02 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: mike@smith.net.au (Mike Smith) Cc: chuckr@mat.net, peter@netplex.com.au, nik@nothing-going-on.demon.co.uk, andyf@speednet.com.au, freebsd-current@FreeBSD.ORG Subject: Re: mount flags Message-ID: <199810191842.LAA01225@usr02.primenet.com> In-Reply-To: <199810190558.WAA16555@dingo.cdrom.com> from "Mike Smith" at Oct 18, 98 10:58:13 pm
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. Careful. For one instance of a program, the return from the sysctl's is cached by the library function (getvfsbyname(3)). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. 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?199810191842.LAA01225>
