Commit Graph

15049 Commits

Author SHA1 Message Date
thorpej
dc33841893 NFSCLIENT -> NFS. 1997-01-31 02:58:48 +00:00
thorpej
2ec3e70ff4 - Don't look for a "suitable interface"; we're now given the name of the
network interface to use.
- If any part of the NFS root mount process fails, don't panic.
  Simply return the appropriate error and let the caller recover.
1997-01-31 02:57:31 +00:00
thorpej
68de7ca719 - Implement vfs_mountroot(). This function is called my main() to
mount the root file system.  If the operator specified the root
  file system type in the kernel configuration file, attempt to
  mount that file system type on the root device.  If the root
  file system type was wildcarded (or unspecified), try all of
  the file systems statically built into the kernel until one
  succeeds.  If no file systems succeed, return an error.  The
  system will recover from this condition.
- Implement vfs_getopsbyname().  This function returns the file
  system ops vector given a file system name.
1997-01-31 02:50:36 +00:00
cgd
d3f790f3d0 add 'major' declaration for wd 1997-01-31 02:49:57 +00:00
cgd
3603b076e1 add major and minor numbers for 'wd', slight clean 1997-01-31 02:49:35 +00:00
thorpej
e101942fa0 NFSCLIENT -> NFS 1997-01-31 02:36:24 +00:00
thorpej
1005d16030 Syscalls.master changed, regen. (NFSCLIENT -> NFS) 1997-01-31 02:35:52 +00:00
thorpej
55ee7ceeb8 NFSCLIENT -> NFS 1997-01-31 02:34:23 +00:00
thorpej
ec15ba06cb Add a sysctl node "kern.root_device", which contains the external
name of the device that root was mounted on (e.g. "sd0").
1997-01-31 02:33:59 +00:00
thorpej
0408b501ce - Implement a new machine-independent setroot() function, mostly derived
from the version used by NetBSD/alpha, with several changes by me.
  Support for asking for root device and root file system type on any
  kernel, obsoleting "options GENERIC".
- Make my mountroothook implementation used by the sparc and x68k
  ports machine-independent, and use it here.  Mountroothooks allow
  devices to execute special functions before being mounted as the
  root device (such as ejecting the floppy and prompting for a new
  floppy disk).
- Make swapconf() machine-independent.  It was identical on all ports.
1997-01-31 02:31:33 +00:00
thorpej
883ccf99b6 - NFSCLIENT -> NFS
- Run mountroot hooks before we attempt to mount the root device, and
  destroy mountroot hooks after the root file system has been sucessfully
  mounted.
- Don't panic if we can't mount root.  Instead, set RB_ASKNAME and
  call setroot(), which will prompt the operator for the root device
  and file system type.
1997-01-31 02:25:47 +00:00
thorpej
f41783799b - Add cd9660_mountroot to cd9660_vfsops.
- Only attempt to mount root if root_device is a DV_DISK class device.
1997-01-31 02:23:25 +00:00
thorpej
578626f7ea nfsclient -> nfs 1997-01-31 02:21:33 +00:00
thorpej
8e50039b7c Syscalls.master changed, regen. (NFSCLIENT -> NFS) 1997-01-31 02:20:58 +00:00
thorpej
90b1ce5234 NFSCLIENT -> NFS 1997-01-31 02:20:03 +00:00
thorpej
bf69384ef4 Syscalls.master chagned, regen. (NFSCLIENT -> NFS) 1997-01-31 02:19:34 +00:00
thorpej
83b3ffe116 NFSCLIENT -> NFS 1997-01-31 02:18:54 +00:00
thorpej
b266dedfc8 Syscalls.master changed, regen. (NFSCLIENT -> NFS) 1997-01-31 02:18:26 +00:00
thorpej
12cb3aaf21 NFSCLIENT -> NFS 1997-01-31 02:17:46 +00:00
thorpej
2525eee053 Use new machine-independent mountroothook code. 1997-01-31 02:15:54 +00:00
thorpej
e37a1f5794 Use new machine-independent setroot() and mountroothook code. 1997-01-31 02:15:09 +00:00
thorpej
be49bd8254 Update for new file system and root spec grammar. 1997-01-31 02:14:19 +00:00
thorpej
9b683dc125 Use new machine-independent setroot(). 1997-01-31 02:13:40 +00:00
thorpej
003dad8fdd Pass a struct device ** down to the functions that find the boot device. 1997-01-31 02:12:31 +00:00
thorpej
fc9c10afb7 Update prototypes to match new calling convention of functions that
find the boot device.
1997-01-31 02:11:51 +00:00
thorpej
2b43c7eab7 Adopt for new file system and root spec grammar. 1997-01-31 02:10:33 +00:00
thorpej
bb87691950 Use new machine-independent setroot(). 1997-01-31 02:08:50 +00:00
thorpej
95380a8478 Adopt for new file system and root spec grammar. 1997-01-31 02:08:19 +00:00
thorpej
801f7e1a0e Use new machine-independent setroot() and mountroothook code. 1997-01-31 02:07:29 +00:00
thorpej
f159c829df Adopt for new file system and root spec grammar. 1997-01-31 02:06:41 +00:00
thorpej
304c785022 Find the root device in a much more sane way. Also, remove all of the
code that determines the root file system type.  This is now done in
machine-independent code, much differently.
1997-01-31 02:05:54 +00:00
thorpej
773c77b683 Use the new machine-independent setroot(). 1997-01-31 02:04:43 +00:00
thorpej
1a0f586e08 Declare booted_device and booted_partition as "extern". 1997-01-31 02:04:14 +00:00
thorpej
bd1a87986a Adopt for new file system and root spec grammar. 1997-01-31 02:03:38 +00:00
thorpej
65e736fcae Use new machine-independent setroot(). 1997-01-31 02:02:56 +00:00
thorpej
08dafb1339 Add a sick little hack to glue old-config-pmax-scsi-stuff into the
alldevs list.  This is required for the new machine-independent setroot().
1997-01-31 02:00:56 +00:00
thorpej
1b341f7e70 Update for new file system and root spec grammar. 1997-01-31 01:59:09 +00:00
thorpej
e4d6c27735 Use new machine-independent setroot(). 1997-01-31 01:58:44 +00:00
thorpej
16aa3354f7 Adopt for new file system and root spec grammar. 1997-01-31 01:58:17 +00:00
thorpej
0735d8d32e Use new machine-independent setroot(). 1997-01-31 01:57:51 +00:00
thorpej
fcb565dde2 Adopt for new file system and root spec grammar. 1997-01-31 01:57:08 +00:00
thorpej
70653a472d bootdv -> booted_device 1997-01-31 01:56:03 +00:00
thorpej
573e68b745 Use new machine-independent setroot(). 1997-01-31 01:55:40 +00:00
thorpej
0e3acd811d bootdv -> booted_device 1997-01-31 01:53:06 +00:00
thorpej
3fd4de4cd9 Adopt for new file system and root spec grammar. 1997-01-31 01:52:38 +00:00
thorpej
5f46d3130a Use new machine-independent setroot(). 1997-01-31 01:51:17 +00:00
thorpej
8eae9eaaec Adopt for new file system and root spec grammar. 1997-01-31 01:50:46 +00:00
thorpej
8763a04e25 Use the new machine-independent setroot(). 1997-01-31 01:49:41 +00:00
thorpej
8496115a38 Adopt for new file system and root spec grammar. 1997-01-31 01:48:24 +00:00
thorpej
3e47546598 Use new machine-independent setroot() 1997-01-31 01:47:25 +00:00