Background fsck is broken

Ruslan Ermilov ru at FreeBSD.org
Wed Dec 15 01:59:03 PST 2004


Hi,

Here's another fsck(8) buglet.  While booting single-user, / is
mounted read-only, and "fsck -p /" succeeds as expected.  While
remounting / read-only (e.g., after shutting down from multi-user
to single-user), it doesn't:

Script started on Wed Dec 15 11:52:09 2004
hammer# fsck -p /
/dev/ad0a: NO WRITE ACCESS
/dev/ad0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
hammer# mount -ru /
hammer# mount |grep ' / '
/dev/ad0a on / (ufs, local, read-only)
hammer# fsck -p /
/dev/ad0a: NO WRITE ACCESS
/dev/ad0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

Script done on Wed Dec 15 11:52:37 2004


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041215/6ae8e3c6/attachment.bin


More information about the freebsd-current mailing list