Thread View: comp.bugs.sys5
1 messages
1 total messages
Started by Jim Washer
Sat, 18 Feb 1989 17:45
mountall bug
Author: Jim Washer
Date: Sat, 18 Feb 1989 17:45
Date: Sat, 18 Feb 1989 17:45
37 lines
1443 bytes
1443 bytes
WARNING: /etc/mountall
has a slight design flaw that can 'eat' slices of disk.
As distributed ( on at least three vendors systems i have access to)
/etc/mountall looks something like this
cat ${fstab} |
while read dev fs fsflags fstype dummy
do
.
.
fsck -y -D ${dev}
.
.
done
This works just fine on most systems, but if you have any slices larger
than ~500MB fsck will ask for a scratch file name. Unfortunately,
its standard input is being redirected from /etc/fstab. Sooo fsck
uses the next slice in your fstab as its scratch file for this slice.
A simple work around is to add the '-t' option to the fsck command line
something like this
fsck -y -t /tmp/scratch -D....
Note this might get you in trouble if the slice that contains your tmp
directory is larger than 500Mb( but most are not).
Forgive me if this is already 'well known'. No one i asked had ever come
across it before.
James Washer
North West Software Enterprises
883 Lester Ave.
Hayward, Ca 94541
(415) 782-NWSE
uunet!lll-winken!nwse!washer
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads