NetBSD/sbin
wrstuden 6735cc1a4c Make newfs's spare superblock output nicer. Figure out how wide the
largest block number will be, and make the columns wide enough for it. Then
make enough columns to fit in an 80 character window.

Samples: small end & faked up values:

super-block backups (for fsck -b #) at:
   32,  176,  272,  416,  512,  656,  752,  896,  992, 1136, 1232, 1376, 1472,
 1616, 1712, 1856, 1952, 2096, 2192, 2336, 2432, 2576, 2672, 2816, 2912, 3056,
 3152, 3296, 3392, 3536, 3632, 3776, 3872, 4016, 4112, 4256, 4352, 4496, 4592,

For a 155 GB fs we have:

super-block backups (for fsck -b #) at:
       128,     65792,    131456,    197120,    262784,    328448,    394112,
    459776,    525440,    591104,    656768,    722432,    788096,    853760,
    919424,    985088,   1050752,   1116416,   1182080,   1247744,   1313408,
   1379072,   1444736,   1510400,   1576064,   1641728,   1707392,   1773056,
...
 317462144, 317527808, 317593472, 317659136, 317724800, 317790464, 317856128,
 317921792, 317987456, 318053120, 318118784, 318184448, 318250112, 318315776,
 318381440, 318447104, 318512768, 318578432,

Now it actually looks like someone's thought about making large fs's. :-)
1999-05-14 22:36:50 +00:00
..
atactl Code to check for cooked device names was failing even if it succeeded in 1999-02-24 18:49:14 +00:00
badsect #include machine/bswap.h and remove -lutil. 1999-01-15 13:32:05 +00:00
bim Add a -y flag to "bim" to assume a yes response to any questions bim might 1999-01-25 22:42:11 +00:00
ccdconfig Define __POOL_EXPOSE for this nlist-groveling program. 1999-04-01 09:12:21 +00:00
clri change: 1999-04-06 04:54:19 +00:00
disklabel Add a 'chain' command in interactive mode that allows you to vary the 1999-05-03 09:45:01 +00:00
dmesg
dump Avoid byte overflow in block estimate for large files 1999-05-05 16:53:46 +00:00
edlabel convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
fastboot
fdisk Sanity check the drive number in %dl and use it instead of blindly 1999-05-02 13:48:30 +00:00
fsck Copy code across from newfs so that 'fsck sd0a' and similar will work. 1999-04-22 04:20:53 +00:00
fsck_ext2fs Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
fsck_ffs Fix typo. 1999-05-01 20:04:14 +00:00
fsck_lfs printf format fixes for Alpha. 1999-03-24 05:32:23 +00:00
fsck_msdos Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
fsdb Add a [-n] option, which allows to examine a fs without altering it. 1999-03-09 16:11:47 +00:00
fsirand #include machine/bswap.h and remove -lutil. 1999-01-15 13:32:05 +00:00
ifconfig revert the previous changes that removed special cased ioctls for ISO 1999-04-01 08:12:23 +00:00
init
ldconfig Plug a file descriptor leak. 1999-04-09 07:29:43 +00:00
lmcctl one-line copyright message 1999-04-17 17:55:13 +00:00
mknod
modload Invert the meaning of -s, from "don't load symbols" to "load symbols". 1999-04-30 18:32:01 +00:00
modunload Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount Add support for a new flag: "nodevmtime". This sets the MNT_NODEVMTIME mount 1998-12-01 23:20:43 +00:00
mount_ados 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
mount_cd9660 Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_ext2fs Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_fdesc Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_ffs Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_filecore 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
mount_kernfs Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_lfs Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_msdos 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
mount_nfs Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_ntfs Make this compile... 1999-05-06 16:08:54 +00:00
mount_null Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_portal Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_procfs Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
mount_umap Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mount_union Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
newfs Make newfs's spare superblock output nicer. Figure out how wide the 1999-05-14 22:36:50 +00:00
newfs_lfs Correct data checksum to take ifile indirect block into account, if it exists 1999-03-30 19:04:50 +00:00
newfs_msdos Add missing .El line. 1999-03-10 05:14:51 +00:00
nologin
ping Remove duplicate paragraph. Closes PR/7498 by Geoff C. Wing. 1999-04-29 21:53:08 +00:00
raidctl Move COPTS to CPPFLAGS. Nuke some no-longer needed compile options. 1999-03-26 00:46:05 +00:00
reboot
restore Make quoted strings work. (don't set the high bit of each character) 1999-02-09 08:55:24 +00:00
rndctl Make the usage string match the man page. 1999-03-30 17:32:44 +00:00
route Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
routed Revert cast to (int) that caused core-dumps. 1999-03-22 10:25:23 +00:00
savecore Crash dumps should *not* be world readable. 1999-02-27 20:40:30 +00:00
scsictl Remove some extra spaces. 1999-03-15 23:20:23 +00:00
shutdown
slattach Add "-l" to "SYNOPSIS" section and use same order as "slattach" when 1999-03-19 21:18:32 +00:00
swapctl add a -D line to usage(). 1999-04-26 01:02:25 +00:00
ttyflags 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
tunefs Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
umount
wsconsctl Numbers 0..9 must be treated as keysyms depending on context. Allow 1999-02-08 11:08:23 +00:00
Makefile Add mount_ntfs 1999-05-06 16:05:26 +00:00
Makefile.inc