freebsd-src/sbin/dump
Kirk McKusick d46b52859a 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
..
cache.c Readjust the cache initialization code to make it more obvious that the 2003-01-25 19:06:30 +00:00
dump.8 - add explanation of what an active file system is 2003-11-05 22:17:37 +00:00
dump.h Add missing prototype for cread(). 2003-11-04 12:27:18 +00:00
dumprmt.c Make this WARNS=2 clean by 2003-11-14 13:07:38 +00:00
itime.c Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
main.c Convert the live dump command (`dump -L') to use mksnap_ffs instead 2003-11-16 08:01:58 +00:00
Makefile Make this WARNS=2 clean by 2003-11-14 13:07:38 +00:00
optr.c revert to version 1.25 and use va_copy to obtain another copy of the 2003-09-21 22:14:49 +00:00
pathnames.h Move _PATH_WALL from dump and shutdown's local pathnames.h to paths.h. 2002-05-17 11:47:12 +00:00
tape.c Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
traverse.c In mapdirs(), do not use the `dp' inode pointer after searchdir() 2003-11-04 14:20:14 +00:00
unctime.c