Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 19:58:37 GMT
From:      josh <mayonez@ssnet.xim.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/91475: unnecessary fsck at boot
Message-ID:  <200601071958.k07Jwbi0038967@www.freebsd.org>
Resent-Message-ID: <200601072000.k07K0Fvt007849@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601071958.k07Jwbi0038967>