]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add the `L' option to dump to notify it that it is dumping a
authormckusick <mckusick@FreeBSD.org>
Tue, 3 Dec 2002 18:21:09 +0000 (18:21 +0000)
committermckusick <mckusick@FreeBSD.org>
Tue, 3 Dec 2002 18:21:09 +0000 (18:21 +0000)
commitea268a7016db23d1e0fa7017ef98351925280ce7
tree0655dd490c2c2d713a0dd9193ee574dfe7c3b405
parent6822be5fe2bf90a5a45f1d01377d882248fde1f3
Add the `L' option to dump to notify it that it is dumping a
live filesystem. To obtain a consistent dump image, dump takes
a snapshot of the filesystem and then does a dump of the snapshot.
The snapshot is removed when the dump is complete.

Also add an operator warning that the `L' option should be used
if dump is run on a live filesystem without the `L' option being
specified. The alternative would be to silently use a snapshot
any time that a live filesystem is dumped, but this change in
dump semantics seemed too drastic at this time.

Sponsored by:   DARPA & NAI Labs.
Approved by: re
sbin/dump/dump.8
sbin/dump/main.c