Is anybody using diskless on -current? My computers need the attached patch to boot. The diskless rc scripts seem to create an /etc filesystem with too few inodes to hold what we now have in /etc; -current now has more than 255 files.
dd@ref4% find /etc | wc -l find: /etc/isdn: Permission denied find: /etc/uucp: Permission denied 197 dd@ref5% find /etc | wc -l find: /etc/isdn: Permission denied find: /etc/uucp: Permission denied 366 (ref4 output provided for reference.) Any objections to the patch? Index: rc.diskless1 =================================================================== RCS file: /ref/cvsf/src/etc/rc.diskless1,v retrieving revision 1.16 diff -u -r1.16 rc.diskless1 --- rc.diskless1 22 Apr 2002 21:42:18 -0000 1.16 +++ rc.diskless1 17 Jul 2002 02:32:29 -0000 @@ -61,7 +61,7 @@ mount_md() { /sbin/mdconfig -a -t malloc -s $1 -u $3 /sbin/disklabel -r -w md$3 auto - /sbin/newfs /dev/md$3c + /sbin/newfs -i 4096 /dev/md$3c /sbin/mount /dev/md$3c $2 } Index: rc.d/initdiskless =================================================================== RCS file: /ref/cvsf/src/etc/rc.d/initdiskless,v retrieving revision 1.1 diff -u -r1.1 initdiskless --- rc.d/initdiskless 13 Jun 2002 22:14:36 -0000 1.1 +++ rc.d/initdiskless 17 Jul 2002 02:32:43 -0000 @@ -70,7 +70,7 @@ { /sbin/mdconfig -a -t malloc -s $1 -u $3 /sbin/disklabel -r -w md$3 auto - /sbin/newfs /dev/md$3c + /sbin/newfs -i 4096 /dev/md$3c /sbin/mount /dev/md$3c $2 } To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message