summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ext2fs
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2003-11-16 08:01:58 +0000
committermckusick <mckusick@FreeBSD.org>2003-11-16 08:01:58 +0000
commitafa14114534d3fcf296411bb2b988f1b5a5a14ad (patch)
tree72c2888172ce60ae1610bedac4b0351f3999c438 /sbin/mount_ext2fs
parent712f69cd3ea5d8c2856298bd5c67eefc88421784 (diff)
downloadFreeBSD-src-afa14114534d3fcf296411bb2b988f1b5a5a14ad.zip
FreeBSD-src-afa14114534d3fcf296411bb2b988f1b5a5a14ad.tar.gz
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.
Diffstat (limited to 'sbin/mount_ext2fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud