Date: Mon, 19 Oct 1998 16:35:48 +0400 From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> To: Chuck Robey <chuckr@mat.net> Cc: freebsd-current@FreeBSD.ORG Subject: Re: mount flags Message-ID: <199810191235.QAA13616@arc.hq.cti.ru> In-Reply-To: Your message of "Sun, 18 Oct 1998 12:48:39 EDT." <Pine.BSF.4.05.9810181240390.348-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. Just a small note: consider check for (f_flags & MNT_LOCAL) instead. I suspect it may be more appropriate in this case. (It is also Lite2-ism, AFAIR). Dima 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?199810191235.QAA13616>