[13719] in Athena Bugs
sun4 7.7R: /sbin/mountall
daemon@ATHENA.MIT.EDU (Steve Ellis)
Tue Aug 8 09:41:45 1995
To: bugs@MIT.EDU
Date: Tue, 08 Aug 1995 09:41:40 EDT
From: Steve Ellis <ellis@MIT.EDU>
System name: mithril
Type and version: SPARC/Classic 7.7R (1 update(s) to same version)
Display type: cgthree
What were you trying to do?
Add a third party disk to an Athena workstation
What's wrong:
/sbin/mountall only checks for one of the "successful" status
codes returned by fsck. So even though fsck is successful,
mount fails and automatic reboot halts.
What should have happened:
From the man page for fsck, exit code 40 is the same as
exit code 0. In most places in the mountall script, the
case statement includes
case $status in
0|40) # file system OK
However, line 239-240 of /sbin/mountall is
case $status in
0) # file system OK
Please describe any relevant documentation references:
man fsck