summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-07-28 03:41:53 +0000
committerdd <dd@FreeBSD.org>2002-07-28 03:41:53 +0000
commit67306baf36ea103e13fb9bb2a526bb5cecd3b13e (patch)
treeacefe8d39d43fcd8da2d4e82d033065f8396c6c3 /etc
parent6f27324be28760db3674ef2f4a265884e4963683 (diff)
downloadFreeBSD-src-67306baf36ea103e13fb9bb2a526bb5cecd3b13e.zip
FreeBSD-src-67306baf36ea103e13fb9bb2a526bb5cecd3b13e.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/initdiskless2
-rw-r--r--etc/rc.diskless12
-rw-r--r--etc/rc.initdiskless2
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/initdiskless b/etc/rc.d/initdiskless
index 1b72009..6e47bb9 100644
--- a/etc/rc.d/initdiskless
+++ b/etc/rc.d/initdiskless
@@ -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
}
diff --git a/etc/rc.diskless1 b/etc/rc.diskless1
index 4eb37fa..bdda6d8 100644
--- a/etc/rc.diskless1
+++ b/etc/rc.diskless1
@@ -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
}
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless
index 1b72009..6e47bb9 100644
--- a/etc/rc.initdiskless
+++ b/etc/rc.initdiskless
@@ -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
}
OpenPOWER on IntegriCloud