cvs commit: src/sbin/dump main.c
Kirk McKusick
mckusick at FreeBSD.org
Sun Nov 16 00:01:59 PST 2003
mckusick 2003/11/16 00:01:58 PST
FreeBSD src repository
Modified files:
sbin/dump main.c
Log:
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.
Revision Changes Path
1.55 +7 -11 src/sbin/dump/main.c
More information about the cvs-src
mailing list