Date: Mon, 19 Oct 1998 04:16:30 +1000 From: Andy Farkas <andyf@speednet.com.au> To: Chuck Robey <chuckr@mat.net> Cc: freebsd-current@FreeBSD.ORG Subject: Re: mount flags Message-ID: <362A307E.8C676700@speednet.com.au> References: <Pine.BSF.4.05.9810181240390.348-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey wrote: > > I have a very recently broke thing that was happily using a call to > statfs, to tell if it was an NFS filesystem or not. Last time I had > occasion to take a look at this, there were flags of the sort MOUNT_XXX, > where the XXX could have been UFS, MFS, NFS, etc. The application is > specifically looking for MOUNT_NFS, and it's just not around anymore, > that I can find. Yeah, something fishy is going on here with statfs(2). According to the man page on a 2.2.7 system, and in <sys/mount.h>, there are definitions for struct statfs->f_type, but on a 3.0-current, they have strangely disappeared. > Anyhow, anyone got a recommendation on how to change this thing so that > it works under current? You're not trying to compile Midnight Commander are you? If so, add "#define NO_INFOMOUNT 1" to config.h as a workaround .... > A real short history on what's changed in > regards to this would be a nice thing to stick in the mail archives. <AOL>Me too!</AOL> -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speed Internet Services http://www.speednet.com.au/ 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?362A307E.8C676700>