Subject: bin/11129: fsck_lfs(8) dosen't have -f option
To: None <gnats-bugs@gnats.netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 10/04/2000 08:18:07
>Number: 11129
>Category: bin
>Synopsis: fsck_lfs(8) dosen't have -f option
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 04 08:18:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Takahiro Kambe
>Release: NetBSD 1.5_ALPHA2 (2000/10/3)
>Organization:
>Environment:
System: NetBSD blue.sky.yamashina.kyoto.jp 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (BLUE) #29: Sun Oct 1 23:09:59 JST 2000 taca@blue.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/BLUE i386
>Description:
fsck_lfs(8) dosen't have -f option. This cause error
when /etc/fstab contains lfs fs_vfstype and positive fs_passno.
>How-To-Repeat:
Add a line with lfs and positive pass number (last) field.
/dev/wd1e /usr/obj.i386 lfs rw 1 2
Then, fsck(8) with -f option fail with the message bellow.
# fsck -n -f
...
fsck_lfs: illegal option -- f
Usage: fsck_lfs [-dnpy] [-b block] [-m mode] filesystem ...
>Fix:
Add dummy -f option to fsck_lfs(8) and all fsck_* commands?
>Release-Note:
>Audit-Trail:
>Unformatted: