misc/91475: unnecessary fsck at boot
josh
mayonez at ssnet.xim.pl
Sat Jan 7 12:00:17 PST 2006
>Number: 91475
>Category: misc
>Synopsis: unnecessary fsck at boot
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 07 20:00:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: josh
>Release: 5.4-release
>Organization:
>Environment:
n/a
>Description:
Before halting the system does not unmount external filesystems (non-/).
As a consequence, it fails writing 1 buffer to disk (giving up) and
all the filesystems (incl. /) get unmounted unproperly, thus they are
checked during subsequent boot
>How-To-Repeat:
mount -t ext2fs /dev/sth /mnt (msdosfs alsa works)
halt
(actually I had some fs's in /etc/fstab with rw,auto)
>Fix:
echo 'umount -a 2>/dev/null' >> /etc.rc.shutdown
works for /sbin/shutdown -h now
but what about /sbin/halt ??
all filesystems should be automatically unmounted by /sbin/halt or the kernel!!!
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list