freebsd-dev/sbin
Bruce Evans 910da6c689 Fixed some bugs in checkdirty(). The check for the clean bit was
combined with the the signature check in a wrong way (basically
(dirty:= signature_recognised() && !clean) instead of
(mightbedirty:= !signature_recognized || !clean), so file systems
with unrecognized signatures were considered clean.  Many of the
don't-care and reserved bits were not ignored, so some file systems
with valid signatures were unrecognized.  One of my FAT32 file systems
has a signature of f8,ff,ff,ff,ff,ff,ff,f7 when dirty, but only
f8,ff,ff,0f,ff,ff,ff,07 was recognised as dirty for FAT32, so the
fail-unsafeness made my file system always considered clean.

Check the i/o non-error bit in checkdirty().  Its absence would give
an unrecognized signature in code that is unaware of it, but we now
mask it out of the signature so we have to check it explicitly.  This
combines naturally with the check of the clean bit.

Reviewed by:	rnordier (except for final details)
2004-02-05 15:18:18 +00:00
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol Cosmetics 2004-01-21 21:31:19 +00:00
atm Add support for virtual interfaces. These have no phy chip and, hence, we 2004-01-26 12:17:49 +00:00
badsect Add section number to .Xr 2003-06-08 12:40:50 +00:00
bsdlabel '-DPC98' is not needed. 2004-01-11 09:11:10 +00:00
camcontrol Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
ccdconfig Try to catch up with device name changes due to GEOM'ification. Remove 2003-12-08 10:50:36 +00:00
clri Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
comcontrol /etc/rc.serial -> /etc/rc.d/serial. 2003-12-23 07:16:38 +00:00
conscontrol
devd Parse the ! lines that will soon be coming from the kernel. These are 2003-10-24 22:02:29 +00:00
devfs Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
dhclient Update maintainer line. mbr has been maintainer for at least the last 2003-11-30 21:09:58 +00:00
dmesg Replace the code for reading and writing the kernel message buffer 2003-06-22 02:18:31 +00:00
dump Add RSH to the list of enviroment variables. 2004-01-15 12:13:54 +00:00
dumpfs Reinstate 1.40 -- swap avgfilesize and avgfpdir column order. 2003-12-07 05:27:27 +00:00
dumpon Bring the dumpon(8) man page closer to reality: 2003-05-07 19:37:51 +00:00
fdisk Add the Solaris x86 boot partition type. This is used in Solaris 10 2003-12-18 13:13:02 +00:00
fdisk_pc98 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
ffsinfo Clarify behaviour of ffsinfo: It appends to outfile without 2004-01-23 05:13:22 +00:00
fsck Use __printflike() and __dead2 instead of hard-coded gccisms. 2003-12-27 13:54:02 +00:00
fsck_ffs Avoid dereferencing null pointers in fsck_ffs. (pfatal may return, 2004-01-26 15:05:30 +00:00
fsck_msdosfs Fixed some bugs in checkdirty(). The check for the clean bit was 2004-02-05 15:18:18 +00:00
fsdb Make this WARNS=2 clean by 2003-11-13 19:08:43 +00:00
fsirand
gbde Don't create a template file if we're not going to let the user edit it. 2004-02-05 10:57:29 +00:00
gpt - Add GPT header/table recovery command 2003-11-16 06:45:26 +00:00
growfs Fix bogus "ffsinfo -c 0" example with "ffsinfo -g 0 -l 4". 2004-01-23 17:35:09 +00:00
idmapd Bring in manpage for idmapd and change domain to @FreeBSD.org. 2003-11-22 02:16:53 +00:00
ifconfig Add ifconfig support for network interface renaming. In the process, 2004-02-04 02:55:46 +00:00
init Fix the case where one goes from zero to more than zero items enabled 2003-12-05 04:28:03 +00:00
ip6fw When calculating the sequence number to use in an ip6fw reset, remember to 2003-12-25 23:39:44 +00:00
ipf Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfs
ipfstat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfw o Pass a correct argument to errx(3). 2004-01-24 19:20:09 +00:00
ipmon Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipnat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
kldconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldstat Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldunload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ldconfig Describe the pattern filenames must be in before they are added to the hints 2003-05-08 17:25:41 +00:00
mca
md5 Set exit code to 1 in case at least one of the input files 2003-11-02 23:12:08 +00:00
mdconfig Note that geometry can also be specified on vnode backed deviecs. 2004-01-12 10:54:09 +00:00
mdmfs Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
mknod Document that mknod(8) can be used to undelete entries under devfs. 2003-12-29 00:37:52 +00:00
mksnap_ffs Style nit in previous commit. 2004-01-27 19:28:13 +00:00
mount Correct a typo and unbreak the build. 2004-02-03 04:03:19 +00:00
mount_cd9660 Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_ext2fs Make this WARNS=2 clean by 2003-11-13 19:18:43 +00:00
mount_hpfs MAXPATHLEN includes the trailing NUL, so no need to add 1 here. 2003-08-07 04:50:29 +00:00
mount_msdosfs Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_nfs mdoc(7): There cannot be a subsection inside a list. 2003-09-10 08:24:33 +00:00
mount_nfs4 Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options). 2003-11-22 02:18:30 +00:00
mount_ntfs Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_nullfs Correct an instance of an erroneous "it's". 2004-01-07 23:31:22 +00:00
mount_std Reduce fstab(5)/mount(8) confusion by changing the man pages to say "ro" 2003-10-22 18:25:49 +00:00
mount_udf Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_umapfs
mount_unionfs
natd Add Cisco Skinny Station protocol support to libalias, natd, and ppp. 2003-09-23 07:41:55 +00:00
newfs Fix whitespace error in previous commit. 2003-11-27 01:19:23 +00:00
newfs_msdos Additional PC98 option is not needed. 2003-01-30 15:09:21 +00:00
nfsiod Correct a grammatical error. 2003-08-12 20:01:10 +00:00
nologin Remove the BUGS section introduced in rev 1.11 now that the problem 2003-11-17 06:39:54 +00:00
nos-tun 64 bit fixes. in_addr_t is an uint32_t, not a u_long. 2003-10-26 04:37:57 +00:00
ping mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
ping6 Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
quotacheck Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
raidctl Get rid of duplicates. 2003-09-14 13:41:59 +00:00
rcorder
reboot Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
restore Fix gcc warnings. If NAME_MAX is 255, and d_namlen is a uint8_t, then 2003-10-26 04:43:02 +00:00
route link-local multicast address must be converted to KAME specific 2003-12-07 11:11:26 +00:00
routed Removed duplicate $FreeBSD$ tag. 2004-01-29 14:36:16 +00:00
rtsol -DSMALL will remove the need of dump.c (for rtsol) 2004-01-14 17:59:38 +00:00
savecore Revision 1.61 changed the allocation of buffer 'buf' in DoFile() from 2003-10-08 07:37:11 +00:00
sconfig Mark this manpage as i386-only. 2004-01-21 13:24:38 +00:00
setkey enable aes-xcbc-mac and aes-ctr, again. 2003-11-10 10:39:14 +00:00
shutdown Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
slattach Change this: 2003-01-08 06:43:27 +00:00
spppcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
startslip Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
sunlabel Spell "disklabel" correctly. 2004-02-01 13:09:26 +00:00
swapon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
sysctl Alphabetization braino. 2003-11-07 21:28:29 +00:00
tunefs Remove another reference to ffsinfo.8 2003-06-17 22:47:11 +00:00
umount Don't include the file system ID in the output of `mount -v' if it 2003-12-05 09:22:40 +00:00
vinum Add an entry to the BUGS section indicating that Vinum cannot currently 2003-11-17 16:04:52 +00:00
Makefile Fixed spacing in previous revision. 2004-01-17 00:31:38 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00