freebsd-skq/sbin
Kirk McKusick ff76fc7f16 Create a .snap directory mode 770 group operator in the root of each
filesystem that is checked in background. Create the snapshot in this
directory rather than in the root. There are two benefits:

1) For terabyte-sized filesystems, the snapshot may require many
   minutes to build. Although the filesystem will not be suspended
   during most of the snapshot build, the snapshot file itself is
   locked during the entire snapshot build period. Thus, if it is
   accessed during the period that it is being built, the process
   trying to access it will block holding its containing directory
   locked. If the snapshot is in the root, the root will lock and
   the system will come to a halt until the snapshot finishes. By
   putting the snapshot in a subdirectory, it is out of the likely
   path of any process traversing through the root and hence much
   less likely to cause a lock race to the root.

2) The dump program is usually run by a non-root user running with
   operator group privilege. Such a user is typically not permitted
   to create files in the root of a filesystem. By having a directory
   in group operator with group write access available, such a user
   will be able to create a snapshot there. Having the dump program
   create its snapshot in a subdirectory below the root will benefit
   from point (1) as well.

Sponsored by:   DARPA & NAI Labs.
2003-10-08 02:14:03 +00:00
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol Adjust to the new sys/ata.h layout 2003-08-24 09:23:54 +00:00
atm Get rid of a __DECONST by strdup'ing the string in question. When 2003-08-20 08:25:36 +00:00
badsect Add section number to .Xr 2003-06-08 12:40:50 +00:00
bsdlabel Remove the hardcoded default block/frag/cpg values from bsdlabel 2003-10-05 19:40:02 +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
cxconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
devd fix typo: s/Instaed/Instead/ 2003-09-26 12:24:16 +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 revert to version 1.25 and use va_copy to obtain another copy of the 2003-09-21 22:14:49 +00:00
dumpfs Marshal newfs -L (filesystem volume names), the names are not marshalled 2003-06-09 09:26:02 +00:00
dumpon Bring the dumpon(8) man page closer to reality: 2003-05-07 19:37:51 +00:00
fdisk Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +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 o Fix usage(): remove '-l', add missed '-f', sort. 2003-07-26 15:29:10 +00:00
fsck_ffs Create a .snap directory mode 770 group operator in the root of each 2003-10-08 02:14:03 +00:00
fsck_msdosfs mount_msdos -> mount_msdosfs 2003-06-08 12:53:07 +00:00
fsdb Backout Rev. 1.24 2003-08-30 07:49:42 +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 Improve regression test with an image file which must work. 2003-10-07 09:31:51 +00:00
gpt Assorted mdoc(7) fixes. 2003-06-02 11:19:24 +00:00
growfs Commit 1 of 2 to fix ffsinfo(8) for UFS2. 2003-08-14 18:40:59 +00:00
ifconfig By popular demand, added the "static ARP" per-interface option. 2003-10-01 08:32:37 +00:00
init Add section number to .Xr 2003-06-08 12:51:28 +00:00
ip6fw mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +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 remove include of route.h now that ip_dummynet.h no longer exposes 2003-10-03 21:01:48 +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 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mdconfig Document the -x and -y options. 2003-09-21 19:05:35 +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 Replace a reference to non existant mount_ffs(8) by a reference to mount(8). 2003-09-07 14:11:02 +00:00
mount Prefer PATH_MAX to MAXPATHLEN. PATH_MAX has the trailing NUL. 2003-08-07 04:51:41 +00:00
mount_cd9660 - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
mount_ext2fs Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +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 - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
mount_nfs mdoc(7): There cannot be a subsection inside a list. 2003-09-10 08:24: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 Take sizeof() the right string for fspath's iovec. The old string was the 2002-11-05 20:06:01 +00:00
mount_udf mount_udf(8) is currently not in 4.X, so obviously it did not first appear 2002-12-12 05:56:36 +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 Remove an unneccessary comma. 2003-09-14 20:35:22 +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
nos-tun Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 19:46:20 +00:00
ping mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
ping6 Quote from a Problem Report: 2003-07-21 11:06:47 +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 Localize 'ls' output 2003-08-06 08:46:21 +00:00
route Add the -xresolve flag to the route(8) man page. 2003-09-26 17:03:09 +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 Add a flag that reports the existence of a dump, and does nothing else. 2003-09-04 10:07:01 +00:00
setkey Use NI_xxx macros. 2003-04-16 09:53:29 +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 Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
swapon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
sysctl mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
tunefs Remove another reference to ffsinfo.8 2003-06-17 22:47:11 +00:00
umount Take advantage of the use of file system IDs to simplify umount(8) 2003-07-20 00:11:27 +00:00
vinum mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
Makefile Introduce more knobs to slim down FreeBSD userland 2003-08-29 10:35:01 +00:00
Makefile.inc Stage 4 of dynamically linked root support. Add a big knob, 2003-08-17 08:37:47 +00:00