summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getvfsent.c
Commit message (Collapse)AuthorAgeFilesLines
* vfsload maps into kldload only now, no more fork/exec of modload(8).Peter Wemm1999-04-191-85/+1
| | | | Notes: svn path=/head/; revision=45824
* A feeble attempt at kld compatability. The mount_* programs assume thatPeter Wemm1998-11-031-1/+10
| | | | | | | | | | | | | | they cannot mount a filesystem that they cannot see in getvfsbyname(). Part 1 of this is a hack, make vfsisloadable() always return true - the ultimate decider of whether it's loadable or not is kldload() or mount(). Part 2 of this is to have vfsload() call kldload(2) and return success if it works. This means that we will use a viable kld module in preference to an LKM! Ultimately, the thing to do is remove the hacks to do a vfsload in all the mount_* commands and let the kernel do it by itself in mount(2). Notes: svn path=/head/; revision=40863
* Moved most of the (source-level) compatibility hacks for the vfsconfBruce Evans1998-01-201-2/+4
| | | | | | | | interface from sys/mount.h to libc/getvfsent.c The new interface is now the default. Notes: svn path=/head/; revision=32643
* Started getting rid of the compatibility cruft for the Lite1 mount()Bruce Evans1998-01-171-0/+2
| | | | | | | | | | | and the pre-Lite2 vfsconf interfaces. For getvfsent.c, just define _OLD_VFSCONF. This will give the current default macro hacks in <sys/mount.h> when the default is reversed. This is an intermediate step. Notes: svn path=/head/; revision=32594
* Changed vfc_typenum back to vfc_index. The old vfsconf struct is nowBruce Evans1997-03-031-1/+1
| | | | | | | visible again, and the new vfsconf struct didn't match reality. Notes: svn path=/head/; revision=23312
* lite2 remame: vfc_index --> vfc_typenumAdam David1997-02-121-1/+1
| | | | Notes: svn path=/head/; revision=22576
* Fix an off-by-one error in getvfsent().Joerg Wunsch1996-10-261-1/+1
| | | | | | | Detected by: phkmalloc :) Notes: svn path=/head/; revision=19199
* Fix for vfsload(3):Garrett Wollman1996-05-171-7/+7
| | | | | | | | | - Don't allow non-root users to specify LKMDIR. - Don't allow any users to specify TMPDIR. - Call /sbin/modload using execl() rather than execlp(). Notes: svn path=/head/; revision=15804
* From Lite2: rename fs to vfs.Jeffrey Hsu1996-03-111-1/+1
| | | | Notes: svn path=/head/; revision=14516
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8870
* Fix so that people who don't have LKMs compiled in their kernels don'tGarrett Wollman1994-09-251-0/+8
| | | | | | | | get hosed: vfsisloadable() always returns false if /dev/lkm cannot be opened for writing. Notes: svn path=/head/; revision=3061
* Pass -q and -u flags to modload so that it shuts up and doesn't leaveGarrett Wollman1994-09-221-1/+1
| | | | | | | modules lying around. Notes: svn path=/head/; revision=3001
* Fix stupid memory-allocation error.Garrett Wollman1994-09-221-3/+9
| | | | Notes: svn path=/head/; revision=2970
* Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,Garrett Wollman1994-09-221-0/+234
endvfsent, vfsisloadable, vfsload. Someday these will even be documented. Notes: svn path=/head/; revision=2963