freebsd-dev/sbin/mount_nfs
Peter Wemm 4db5660477 Bandaid for mount_nfs segfaulting with the more obscure mount options
in /etc/fstab.  This isn't a real fix though and I'm still not sure
why it started failing.  mount(8) breaks up the nfs args into seperate
repeated '-o option=value' arguments.  But, the altflags variable that
we use to track things is incrementally built up each time we see the
next option and shows us the cumulative set of flags, not just the
flag that we are currently looking at.  As a result, the strstr hack
for looking up flags in a giant -o opt=val,opt=val, etc string was failing
and causing a segfault.  I do not know what changed recently that caused
this to suddenly break, but the code has been rather bogus for some time.
2002-09-06 19:59:29 +00:00
..
Makefile Default to WARNS=2. 2001-12-04 02:19:58 +00:00
mount_nfs.8 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nfs.c Bandaid for mount_nfs segfaulting with the more obscure mount options 2002-09-06 19:59:29 +00:00