aboutsummaryrefslogtreecommitdiff
path: root/release/powerpc
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 /release/powerpc
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
Diffstat (limited to 'release/powerpc')
-rw-r--r--release/powerpc/boot_crunch.conf2
1 files changed, 2 insertions, 0 deletions
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