freebsd-skq/sbin
mckusick afa1411453 Convert the live dump command (`dump -L') to use mksnap_ffs instead
of trying to directly create the snapshot itself. This change allows
users logged into the system as operator to run live dumps.

Note that dump no longer tries to create the snapshot in the root of
the filesystem, but rather in a .snap directory in the root of the
filesystem. The reason is that the operator is usually not permitted
to write into the root of the filesystem. The newfs command and
background fsck have both been modified to create a .snap directory
in the root of the filesystem, but if neither of these have been run,
then the .snap directory must be created manually by the superuser
before a live dump can be run. The .snap directory should be owned
by user root and group operator and set to mode 770.
2003-11-16 08:01:58 +00:00
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol Make sure argv[x] exists before using it. 2003-11-05 21:56:21 +00:00
atm Defer allocation of the actual receive mbuf until the external buffer 2003-10-29 13:14:39 +00:00
badsect Add section number to .Xr 2003-06-08 12:40:50 +00:00
bsdlabel Only automatically create an 'a' partition when there is nothing 2003-10-18 19:32:35 +00:00
camcontrol Fix alignment of the trailing \ 2003-08-22 01:56:17 +00:00
ccdconfig Make this WARNS=6 clean by renaming the variable 'err' to 'error' 2003-08-07 19:10:35 +00:00
clri Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
comcontrol Make this WARNS=6 clean by prototyping 'usage'. 2003-08-08 19:51:01 +00:00
conscontrol The .Nm utility 2002-07-06 19:34:18 +00:00
cxconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
devd Parse the ! lines that will soon be coming from the kernel. These are 2003-10-24 22:02:29 +00:00
devfs Get rid of duplicates. 2003-09-14 13:41:59 +00:00
dhclient Turn the annoying and long error message off. It was so 2003-08-09 20:36:06 +00:00
disklabel mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
dmesg Replace the code for reading and writing the kernel message buffer 2003-06-22 02:18:31 +00:00
dump Convert the live dump command (`dump -L') to use mksnap_ffs instead 2003-11-16 08:01:58 +00:00
dumpfs Make this WARNS=2 clean by 2003-11-14 13:13:23 +00:00
dumpon Bring the dumpon(8) man page closer to reality: 2003-05-07 19:37:51 +00:00
fdisk Warn about partitions that would overlap with the master boot record, and 2003-11-13 21:13:43 +00:00
fdisk_pc98 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
ffsinfo Commit 1 of 2 to fix ffsinfo(8) for UFS2. 2003-08-14 18:55:31 +00:00
fsck Bump WARNS level and add a '?' to WARNS=. 2003-10-29 16:10:17 +00:00
fsck_ffs Catch and report on filesystems that were interrupted during newfs, 2003-11-16 07:10:55 +00:00
fsck_msdosfs In check.c: 2003-10-30 09:08:09 +00:00
fsdb Make this WARNS=2 clean by 2003-11-13 19:08:43 +00:00
fsirand Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
gbde Make the regression test run also with obj directories. 2003-10-17 19:52:07 +00:00
gpt - Add GPT header/table recovery command 2003-11-16 06:45:26 +00:00
growfs Remove a few unused variables. 2003-10-30 05:43:56 +00:00
idmapd University of Michigan's Citi NFSv4 userland client code. 2003-11-14 21:04:33 +00:00
ifconfig We want the length of the string, not the size of its pointer. 2003-11-01 00:03:20 +00:00
init - Add some information about how init, securelevel, and jails 2003-11-11 18:37:50 +00:00
ip6fw Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ipf Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfw Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +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 o Replace 'struct uuid' with 'uuid_t', 2002-11-01 06:34:35 +00:00
md5 Set exit code to 1 in case at least one of the input files 2003-11-02 23:12:08 +00:00
mdconfig Add a full example of a file-backed disk creation, I used the Handbook's 2003-10-11 09:59:25 +00:00
mdmfs Don't reinvent the wheel: Use setmode(3) to interpret 2003-08-05 15:04:39 +00:00
mknod Remove some more MAKEDEV information. 2003-03-25 18:43:10 +00:00
mksnap_ffs Check that the user running mksnap_ffs has permission to create and 2003-11-04 07:04:01 +00:00
mount style.Makefile: Add a '?' before '=' in WARNS. 2003-10-26 00:35:05 +00:00
mount_cd9660 Use 'const' in the copyright stamp, this is done in other utilities. 2003-11-04 21:04:14 +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 Fix several old bugs which got worse over time: 2003-10-23 16:09: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 University of Michigan's Citi NFSv4 userland client code. 2003-11-14 21:04:33 +00:00
mount_ntfs - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
mount_nullfs The .Xr utility 2003-02-05 13:50:41 +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 Add support for multibyte character conversions. 2003-11-05 06:21:45 +00:00
mount_umapfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
mount_unionfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
natd Add Cisco Skinny Station protocol support to libalias, natd, and ppp. 2003-09-23 07:41:55 +00:00
newfs Add the -E command line option to force error conditions for testing. 2003-11-16 07:17:30 +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 The .Nm utility 2002-07-06 19:34:18 +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 Prefer PATH_MAX to MAXPATHLEN. Both contain the trailing NUL, so 2003-08-07 05:38:56 +00:00
raidctl Get rid of duplicates. 2003-09-14 13:41:59 +00:00
rcorder mdoc(7) police: Fixed markup now that it was taken out of vendor branch. 2002-11-25 16:23:03 +00:00
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 Add a describtion for the '-d' flag 2003-11-10 14:28:33 +00:00
routed Prefer PATH_MAX to MAXPATHLEN. Both contain the trailing NUL, so 2003-08-07 05:38:56 +00:00
rtsol use arc4random. 2003-08-22 18:59:55 +00:00
savecore Revision 1.61 changed the allocation of buffer 'buf' in DoFile() from 2003-10-08 07:37:11 +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 Use (char *)NULL to terminate the argument list for execlp(). 2003-10-30 15:04:37 +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 When removing trailing slashes, don't remove the first character 2003-10-29 17:44:36 +00:00
vinum Fix some 64 bit warnings. You can't fit a pointer in an int. 2003-10-26 04:47:31 +00:00
Makefile Temporarily disconnect ipfstat, ipnat, and ipftest to unbreak world. 2003-10-31 18:54:46 +00:00
Makefile.inc Change the default for binaries in /bin and /sbin from statically to 2003-11-16 04:57:28 +00:00