Subject: bin/5638: fsck_msdos causes reboots on fat errors.
To: None <>
From: Christos Zoulas <>
List: netbsd-bugs
Date: 06/21/1998 18:02:43
>Number:         5638
>Category:       bin
>Synopsis:       fsck_msdos causes reboots on fat errors.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 22 08:50:05 1998
>Originator:     Christos Zoulas
		Astron Software
>Release:        current as of Sun Jun 21 17:56:46 EDT 1998
System: NetBSD 1.3A NetBSD 1.3A (GENERIC) #6: Sat Oct 25 17:05:49 EDT 1997 sparc

	Windows 95 OEM release 2 changes the fat signature when windows
	95 crashes from 0xffffffff to 0xf8ffff7f (fat 16) so that scandisk
	knows to check the filesystem on reboot. Our fsck_msdos treats this
	as a serious problem, exits with code 4 and rc proceeds to reboot.
	boot win95 on a machine that has msdosfs; crash it. reboot netbsd
	with an entry in fstab for the partition. Watch the message and the
	The right thing is probably to recognize this special condition and
	downgrade the error code, so the fsck_msdos does not cause a reboot
	by passing a high exit code to rc.

	Alternatively, if this is the way things are going we can use it as
	a clean flag (although this is not very useful because not everyone
	sets it).

	Special consideration should be given in case that msdosfs is the
	root partition. Does msdosfs support reload?