freebsd-dev/sbin
Kirk McKusick 910b491e7e Update the actions previously attempted by the -D option to make them
robust. With these changes fsck is now able to detect and reliably
rebuild corrupted cylinder group maps. The -D option is no longer
necessary as it has been replaced by a prompt asking whether the
corrupted cylinder group should be rebuilt and doing so when requested.
These actions are only offered and taken when running fsck in manual
mode. Corrupted cylinder groups found during preen mode cause the fsck
to fail.

Add the -r option to free up excess unused inodes. Decreasing the
number of preallocated inodes reduces the running time of future
runs of fsck and frees up space that can allocated to files. The -r
option is ignored when running in preen mode.

Reviewed by: Xin LI <delphij@>
Sponsored by: Rsync.net
2009-02-04 01:02:56 +00:00
..
adjkerntz If not compiled for debugging, redirect standard input/output/error 2006-10-23 10:48:19 +00:00
atacontrol Fix the fallouts from r146267: 2008-12-14 12:56:56 +00:00
atm Remove netatm from HEAD as it is not MPSAFE and relies on the now removed 2008-05-25 22:11:40 +00:00
badsect
bsdlabel o One more s/gpt/gpart/. 2008-11-05 09:28:30 +00:00
camcontrol Add SCSI READ CAPACITY support to camcontrol. The new 'readcap' subcommand 2007-09-08 20:24:12 +00:00
ccdconfig
clri Use an intermediate pointer to avoid strict alias check warnings 2007-11-20 01:55:37 +00:00
comcontrol
conscontrol
ddb Apply various fixes: 2008-12-24 11:12:21 +00:00
devd Send all debug to stderr. 2008-12-14 11:48:51 +00:00
devfs Support for filtering on major device number was removed in rev. 1.7 or 2008-06-27 09:09:50 +00:00
dhclient Support the remaining options listed in dhcp-options(5) and RFC 2132. 2008-10-17 13:28:53 +00:00
dmesg
dump Expand dump to allow MAX_INT dump levels. 2008-05-24 05:20:46 +00:00
dumpfs Print disk offets as %jd rather than %lld; I fixed one before committing 2009-01-28 12:08:19 +00:00
dumpon Whitespace and style nits. 2006-10-31 22:36:49 +00:00
fdisk Reword some entries for NTFS and DOS. 2009-01-14 22:05:51 +00:00
fdisk_pc98 Another merging from sbin/fdisk/fdisk.8. 2007-05-10 12:33:00 +00:00
ffsinfo Don't coredump when executed with -o. 2008-01-29 00:20:00 +00:00
fsck Add the '-C' "check clean" flag. If the FS is marked clean, skip file 2009-01-30 18:33:05 +00:00
fsck_ffs Update the actions previously attempted by the -D option to make them 2009-02-04 01:02:56 +00:00
fsck_msdosfs Spot two more bugs WRT adherence to the local prompt style. 2008-01-31 13:22:13 +00:00
fsdb Update after function renames. 2006-10-31 22:07:29 +00:00
fsirand
gbde Remove temporary files when there are no longer needed. 2007-04-06 11:16:11 +00:00
geom - Use a separate pointer to the allocated memory for freeing, as strsep may 2009-02-02 19:22:53 +00:00
ggate The signature for a pthread function requires that it 2008-06-26 07:05:35 +00:00
growfs Fix an int overflow on very large file systems. 2007-12-17 08:03:18 +00:00
gvinum Revise markup. 2006-09-30 11:02:17 +00:00
idmapd .PATH isn't necessary here. 2006-10-15 13:51:49 +00:00
ifconfig Use %u instead of %zu when we intend to print integer constant. 2009-02-03 00:15:19 +00:00
init Static-ify procedures in init(8). 2008-09-27 00:09:10 +00:00
ipf This makefile builds contrib code, so I won't try to fix all the 2007-11-18 03:29:10 +00:00
ipfw Explain that we assume AF_INET and only use the addr and port field 2009-02-02 11:02:19 +00:00
iscontrol Big update to the iSCSI initiator code. Highlights include IPv6 support, 2008-11-25 07:17:11 +00:00
kldconfig
kldload Mark up lkm with .Nm, since lkm is name of an api. 2007-02-13 17:06:15 +00:00
kldstat Only show the pathname in verbose output as intended in the last commit (r172862). 2008-12-22 19:52:21 +00:00
kldunload Mark up lkm with .Nm, since lkm is name of an api. 2007-02-13 17:06:15 +00:00
ldconfig Remove unused reference to objformat.h 2007-01-25 22:38:58 +00:00
mca Markup nit. 2006-09-30 11:12:36 +00:00
md5 Minor markup fix for the r186836 update. 2009-01-06 21:16:42 +00:00
mdconfig Add the possibility to specify "-o force" with "mdconfig -du". 2009-01-10 17:17:18 +00:00
mdmfs -n is used by newfs to tell "do not generate a .snap directory" instead of 2007-05-14 19:23:13 +00:00
mknod In the previous changeset a cast of myminor to u_int were 2007-06-14 03:16:16 +00:00
mksnap_ffs Note that snapshots may cause a panic on the full UFS filesystem. 2008-07-26 13:18:33 +00:00
mount r187093 failed to keep the lifetime of the pointer suitable for reentrancy. 2009-01-13 06:08:37 +00:00
mount_autofs
mount_cd9660
mount_ext2fs Convert mount_ext2fs to a simple program which passes "-o option" to nmount(). 2007-01-28 00:51:01 +00:00
mount_hpfs
mount_msdosfs Add missing qualifier which was missed in the previous commit. 2009-01-05 12:10:22 +00:00
mount_nfs Fix parsing of acregmin, acregmax, acdirmin and acdirmax NFS mount options 2009-01-28 07:46:35 +00:00
mount_ntfs Tone down warning about the quality of the NTFS VFS module. It appears that 2009-01-20 02:08:21 +00:00
mount_nullfs
mount_reiserfs
mount_std
mount_udf
mount_unionfs Added whiteout behavior option. ``-o whiteout=always'' is default mode 2007-10-14 13:55:38 +00:00
natd Check rule numbers against maximum value to avoid rules cleanup due 2008-09-06 17:26:52 +00:00
newfs Move the check for the ending char in the partition name where 2008-12-12 15:56:38 +00:00
newfs_msdos Fix build - cast off_t to (intmax_t) for printing. 2008-12-03 23:00:57 +00:00
nfsiod
nos-tun
pfctl Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
pflogd
ping - improve readability 2009-01-11 22:36:45 +00:00
ping6 Implement -R support, similar to ping(8)'s -A. 2008-08-27 15:01:23 +00:00
quotacheck Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rcorder Document the misleading nature of the REQUIRE line. The patch in 2008-06-09 09:07:58 +00:00
reboot Remove and unused variable. 2009-01-31 13:48:15 +00:00
recoverdisk Bail on ENXIO, you won't get any further any way. 2009-01-17 11:57:32 +00:00
restore Restore necessary NUL termination of locname. 2009-01-28 16:23:21 +00:00
route Fix regression introduced in rev. 173124: 2009-01-18 11:38:35 +00:00
routed This main goals of this project are: 2008-12-15 06:10:57 +00:00
rtsol
savecore Apply various fixes: 2008-12-24 11:12:21 +00:00
sconfig Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
setkey o Add missed dot. 2008-09-29 05:31:27 +00:00
shutdown Note that when shutdown is run without options, it will place 2008-12-23 15:00:03 +00:00
slattach
spppcontrol Use a cast that doesn't create a compiler warning. 2007-11-18 00:33:23 +00:00
startslip
sunlabel
swapon Add a -q flag to swapon(8) to suppress informational messages. Use it in 2008-06-23 22:17:08 +00:00
sysctl The sysctl(8) program exits on some errors and only emits warnings on 2008-06-23 22:06:28 +00:00
tunefs o s/filesystem/file system/g. 2007-09-23 16:06:37 +00:00
umount
Makefile add new build knobs and jigger some existing controls to improve 2008-09-21 22:02:26 +00:00
Makefile.inc