aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Smith <kensmith@FreeBSD.org>2008-01-22 16:35:10 +0000
committerKen Smith <kensmith@FreeBSD.org>2008-01-22 16:35:10 +0000
commita1435ad4915e20a95f0606877708b2145fc3acff (patch)
treea982f48a042139d56d2e58cfb8f615e9518504a6
parent68c5515fe8499d67ee85f7c167c86a71e8fb1dcc (diff)
downloadsrc-a1435ad4915e20a95f0606877708b2145fc3acff.tar.gz
src-a1435ad4915e20a95f0606877708b2145fc3acff.zip
In 'fixit mode' running "fsck /dev/ad0s1a" typically complains that it
can't find fsck_4.2bsd because there was no fstab file saying what filesystem type it is looking at so it got the filesystem type from the disk's label. When that fails admins who haven't been in this situation before are most likely to try "fsck -t ufs /dev/ad0s1a" because ufs is the type used in fstab files on working systems but that also fails complaining it can't find fsck_ufs. This just sets it up so /stand in the MFS image (/sbin is a symlink to /stand) includes hard links pointing fsck_4.2bsd and fsck_ufs to fsck_ffs which is what is present in /sbin on installed systems. Prodded by: obrien MFC after: 1 day
Notes
Notes: svn path=/head/; revision=175567
-rw-r--r--release/amd64/boot_crunch.conf2
-rw-r--r--release/i386/boot_crunch.conf2
-rw-r--r--release/ia64/boot_crunch.conf2
-rw-r--r--release/pc98/boot_crunch.conf2
-rw-r--r--release/powerpc/boot_crunch.conf2
-rw-r--r--release/sparc64/boot_crunch.conf2
-rw-r--r--release/sun4v/boot_crunch.conf2
7 files changed, 14 insertions, 0 deletions
diff --git a/release/amd64/boot_crunch.conf b/release/amd64/boot_crunch.conf
index e478b258815d..2cefa5a20818 100644
--- a/release/amd64/boot_crunch.conf
+++ b/release/amd64/boot_crunch.conf
@@ -25,6 +25,8 @@ progs route
progs rtsol
progs slattach
progs tunefs
+ln fsck_ffs fsck_4.2bsd
+ln fsck_ffs fsck_ufs
srcdirs /usr/src/usr.bin
progs find
diff --git a/release/i386/boot_crunch.conf b/release/i386/boot_crunch.conf
index e478b258815d..2cefa5a20818 100644
--- a/release/i386/boot_crunch.conf
+++ b/release/i386/boot_crunch.conf
@@ -25,6 +25,8 @@ progs route
progs rtsol
progs slattach
progs tunefs
+ln fsck_ffs fsck_4.2bsd
+ln fsck_ffs fsck_ufs
srcdirs /usr/src/usr.bin
progs find
diff --git a/release/ia64/boot_crunch.conf b/release/ia64/boot_crunch.conf
index b6b52aa84cbb..d133f49ac651 100644
--- a/release/ia64/boot_crunch.conf
+++ b/release/ia64/boot_crunch.conf
@@ -27,6 +27,8 @@ progs newfs_msdos
progs route
progs rtsol
progs tunefs
+ln fsck_ffs fsck_4.2bsd
+ln fsck_ffs fsck_ufs
srcdirs /usr/src/usr.bin
progs find
diff --git a/release/pc98/boot_crunch.conf b/release/pc98/boot_crunch.conf
index b630c887efd5..104a953f685b 100644
--- a/release/pc98/boot_crunch.conf
+++ b/release/pc98/boot_crunch.conf
@@ -25,6 +25,8 @@ progs route
progs rtsol
progs slattach
progs tunefs
+ln fsck_ffs fsck_4.2bsd
+ln fsck_ffs fsck_ufs
srcdirs /usr/src/usr.bin
progs find
diff --git a/release/powerpc/boot_crunch.conf b/release/powerpc/boot_crunch.conf
index 0237a44818b5..cfc40fe83675 100644
--- a/release/powerpc/boot_crunch.conf
+++ b/release/powerpc/boot_crunch.conf
@@ -27,6 +27,8 @@ progs route
progs rtsol
progs slattach
progs tunefs
+ln fsck_ffs fsck_4.2bsd
+ln fsck_ffs fsck_ufs
srcdirs /usr/src/usr.bin
progs find
diff --git a/release/sparc64/boot_crunch.conf b/release/sparc64/boot_crunch.conf
index ce31af3b9eb6..14f59d307f6f 100644
--- a/release/sparc64/boot_crunch.conf
+++ b/release/sparc64/boot_crunch.conf
@@ -25,6 +25,8 @@ progs route
progs rtsol
progs slattach
progs tunefs
+ln fsck_ffs fsck_4.2bsd
+ln fsck_ffs fsck_ufs
srcdirs /usr/src/usr.bin
progs find
diff --git a/release/sun4v/boot_crunch.conf b/release/sun4v/boot_crunch.conf
index ce31af3b9eb6..14f59d307f6f 100644
--- a/release/sun4v/boot_crunch.conf
+++ b/release/sun4v/boot_crunch.conf
@@ -25,6 +25,8 @@ progs route
progs rtsol
progs slattach
progs tunefs
+ln fsck_ffs fsck_4.2bsd
+ln fsck_ffs fsck_ufs
srcdirs /usr/src/usr.bin
progs find