Bug 28937

Summary: [PATCH] fsck_msdosfs doesn't recognise -F flag
Product: Base System Reporter: mux <mux>
Component: binAssignee: David E. O'Brien <obrien>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fsck_msdosfs.patch none

Description mux 2001-07-13 10:30:00 UTC
	fsck_msdosfs doesn't recognise the flag -F which his passed to
	it since background fsck was enabled on -CURRENT.

Fix: This patch returns 8 if fsck_msdosfs is invoked with the
	flag -F as it is done with fsck_ifs (in which it defines
	EEXIT as 8 and return EEXIT).
How-To-Repeat: 	Just boot your -CURRENT system with an MS-DOS partition mounted
	in /etc/fstab with the sixth field set (non-0, usually 2) and
	background_fsck set to yes (this is the default).

	The boot script will invoke fsck_msdosfs with the -F flag, thus
	causing fsck_msdosfs to print a usage message.  As it returns
	a non-0 exit code, it will not be invoked with -B later.
Comment 1 dd freebsd_committer freebsd_triage 2001-07-13 10:31:39 UTC
Responsible Changed
From-To: freebsd-bugs->orbien

obrien imported fsck_msdosfs.
Comment 2 dd freebsd_committer freebsd_triage 2001-07-13 10:31:39 UTC
Responsible Changed
From-To: freebsd-bugs->orbien

obrien imported fsck_msdosfs.
Comment 3 dd freebsd_committer freebsd_triage 2001-07-13 10:55:57 UTC
Responsible Changed
From-To: orbien->obrien

oops; original message: 

Comment 4 David E. O'Brien freebsd_committer freebsd_triage 2001-07-19 19:29:02 UTC
State Changed
From-To: open->closed

committed, thanks!