From owner-freebsd-current Sun Oct 18 19:19:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA03583 for freebsd-current-outgoing; Sun, 18 Oct 1998 19:19:25 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA03571 for ; Sun, 18 Oct 1998 19:19:21 -0700 (PDT) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with ESMTP id WAA03709; Sun, 18 Oct 1998 22:17:31 -0400 (EDT) Date: Sun, 18 Oct 1998 22:17:30 -0400 (EDT) From: Chuck Robey To: Peter Wemm cc: Nik Clayton , Andy Farkas , freebsd-current@FreeBSD.ORG Subject: Re: mount flags In-Reply-To: <199810190150.JAA03392@spinner.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 19 Oct 1998, Peter Wemm wrote: > > Bruce can presumably shed some more light. > > > > N > > The FS type numbers are essentially random numbers, so it's no good > trying to match them to a MOUNT_* constant. I was hoping you wouldn't say that. Murphy was telling me you would. Mike commented that both the old and new methods should be working ... I agree, at least until the new method doesn't resemble keystone kops so well. Bruce hasn't replied yet, let's be patient. I at least don't know enough about it to undo anything he's done. I *could* do that, but not with safety. > > NetBSD had them #defined to strings, ie: #define MOUNT_NFS "nfs" so that > you had some idea what you could expect from the kernel on a known > filesystem. There can be no such thing as a canonical list since of > fstypenames because new ones can be loaded on the fly. OK. Can the field in struct statfs, f_fsid, be mapped to something, like say the struct vfsconf that comes back from a getvfsbyname(), the vfc_typenum field? Geeze, that nfs code is impenetrable. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message