Stock -current has more than 300 files in /etc, so 255 inodes for the

/etc filesystem isn't enough; consequently, add "-i 4096" to the newfs
command for /etc.  This results in 1022 inodes, which should be enough
for the forseeable future (although I don't know why we would ever
have more than 1000 files in a default /etc).

Silence by:	-current
This commit is contained in:
Dima Dorfman 2002-07-28 03:41:53 +00:00
parent cfab43190a
commit 527597b2d9
3 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,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
}

View File

@ -61,7 +61,7 @@ chkerr() {
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
}

View File

@ -69,7 +69,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
}