summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-04-14 18:32:09 +0000
committermckusick <mckusick@FreeBSD.org>2001-04-14 18:32:09 +0000
commit27094e6d2113e0553cb8306a1c00c4dc1199d351 (patch)
tree19b4a09fd7e5ea9cf5bacebda8351e242049de57 /sys/ufs
parent239a81e90de97f3ad05e43254428c997e348dcc1 (diff)
downloadFreeBSD-src-27094e6d2113e0553cb8306a1c00c4dc1199d351.zip
FreeBSD-src-27094e6d2113e0553cb8306a1c00c4dc1199d351.tar.gz
Update to describe use of mdconfig instead of deprecated vnconfig.
Submitted by: Steve Ames <steve@virtual-voodoo.com>
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/README.snapshot6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/README.snapshot b/sys/ufs/ffs/README.snapshot
index f3177c3..5bd5951 100644
--- a/sys/ufs/ffs/README.snapshot
+++ b/sys/ufs/ffs/README.snapshot
@@ -66,8 +66,8 @@ things that you can do with it:
3) Mount the snapshot as a frozen image of the filesystem.
To mount the snapshot /var/snapshot/snap1:
- vnconfig -c vn0c /var/snapshot/snap1
- mount -r /dev/vn0c /mnt
+ mdconfig -a -t vnode -f /var/snapshot/snap1 -u 4
+ mount -r /dev/md4 /mnt
You can now cruise around your frozen /var filesystem
at /mnt. Everything will be in the same state that it
@@ -76,7 +76,7 @@ things that you can do with it:
files. When you are done with the mounted snapshot:
umount /mnt
- vnconfig -u vn0c
+ mdconfig -d -u 4
Note that under some circumstances, the process accessing
the frozen filesystem may deadlock. I am aware of this
OpenPOWER on IntegriCloud