setfstab()/getfstab()

Robert Watson rwatson at FreeBSD.ORG
Wed Apr 2 12:30:33 PST 2003


Hmm.  Maybe an issetugid() check before using the environmental variable?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Network Associates Laboratories

On Tue, 1 Apr 2003, Matthew N. Dodd wrote:

> ftp://ftp.jurai.net/users/winter/patches/setfstab.patch
> 
> This allows you to use getfsent, getfsspec, getfsfile etc against files
> other than "/etc/fstab".
> 
> 'mount' and 'umount' have not yet been modified to directly use this so to
> play with it you'll have to use the PATH_FSTAB environment variable.
> 
> Comments?
> 
> -- 
> | Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
> | winter at jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
> | http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
> 



More information about the freebsd-fs mailing list