On Thu, 24 Aug 2000 10:29:03 MST, Jos Backus wrote:

> In /etc/rc, rc.i386 is invoked before rc.devfs. This causes moused to fail to
> start for those people who use a link from /dev/<mousedev> to /dev/mouse.  The
> fix seems to be to switch the order of invocation:

Your problem raises another interesting problem.  Takea look at the
bottom of rc.diskless2, where /dev is mounted in mfs.  That operation
needs to be conditionalized on the presence of DEFVS.

What we really need is for someone who runs a diskless environment to
try placing the call to rc.devfs immediately before the call to
rc.diskless1 and to apply something like the following patch to

Index: rc.diskless2
RCS file: /home/ncvs/src/etc/rc.diskless2,v
retrieving revision 1.6
diff -u -d -r1.6 rc.diskless2
--- rc.diskless2        2000/04/27 08:43:48     1.6
+++ rc.diskless2        2000/08/25 08:51:20
@@ -34,6 +34,8 @@
 # extract a list of device entries, then copy them to a writable partition
-(cd /; find -x dev | cpio -o -H newc) > /tmp/dev.tmp
-mount_mfs -s 4096 -i 512 -T qp120at dummy /dev
-(cd /; cpio -i -H newc -d < /tmp/dev.tmp)
+if ! mount | grep -q 'devfs on /dev'; then
+       (cd /; find -x dev | cpio -o -H newc) > /tmp/dev.tmp
+       mount_mfs -s 4096 -i 512 -T qp120at dummy /dev
+       (cd /; cpio -i -H newc -d < /tmp/dev.tmp)

Feedback from such a person would be most useful, I think.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to