summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getvfsent.c
Commit message (Collapse)AuthorAgeFilesLines
* vfsload maps into kldload only now, no more fork/exec of modload(8).peter1999-04-191-85/+1
|
* A feeble attempt at kld compatability. The mount_* programs assume thatpeter1998-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).
* Moved most of the (source-level) compatibility hacks for the vfsconfbde1998-01-201-2/+4
| | | | | interface from sys/mount.h to libc/getvfsent.c The new interface is now the default.
* Started getting rid of the compatibility cruft for the Lite1 mount()bde1998-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.
* Changed vfc_typenum back to vfc_index. The old vfsconf struct is nowbde1997-03-031-1/+1
| | | | visible again, and the new vfsconf struct didn't match reality.
* lite2 remame: vfc_index --> vfc_typenumadam1997-02-121-1/+1
|
* Fix an off-by-one error in getvfsent().joerg1996-10-261-1/+1
| | | | Detected by: phkmalloc :)
* Fix for vfsload(3):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().
* From Lite2: rename fs to vfs.hsu1996-03-111-1/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Fix so that people who don't have LKMs compiled in their kernels don'twollman1994-09-251-0/+8
| | | | | get hosed: vfsisloadable() always returns false if /dev/lkm cannot be opened for writing.
* Pass -q and -u flags to modload so that it shuts up and doesn't leavewollman1994-09-221-1/+1
| | | | modules lying around.
* Fix stupid memory-allocation error.wollman1994-09-221-3/+9
|
* Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,wollman1994-09-221-0/+234
endvfsent, vfsisloadable, vfsload. Someday these will even be documented.
OpenPOWER on IntegriCloud