summaryrefslogtreecommitdiff
path: root/sbin/mdmfs
diff options
context:
space:
mode:
authorMatteo Riondato <matteo@FreeBSD.org>2007-02-15 18:07:52 +0000
committerMatteo Riondato <matteo@FreeBSD.org>2007-02-15 18:07:52 +0000
commitde63bf714ce89d7105acd575af401288e3c3bdf0 (patch)
tree6400871531ef64dc1fc19d82d21cd423963be686 /sbin/mdmfs
parentddb53abcd978e2cb048625da4d3aedbe6b26e1ea (diff)
downloadsrc-test-de63bf714ce89d7105acd575af401288e3c3bdf0.tar.gz
src-test-de63bf714ce89d7105acd575af401288e3c3bdf0.zip
Add examples for configuring and mounting geom_uzip(4) based disks'
image and sliced/partitioned memory disks. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=166765
Diffstat (limited to 'sbin/mdmfs')
-rw-r--r--sbin/mdmfs/mdmfs.820
1 files changed, 20 insertions, 0 deletions
diff --git a/sbin/mdmfs/mdmfs.8 b/sbin/mdmfs/mdmfs.8
index 7b9e810683d33..ea1ded0a33aff 100644
--- a/sbin/mdmfs/mdmfs.8
+++ b/sbin/mdmfs/mdmfs.8
@@ -75,6 +75,9 @@ was specified) using
.Xr newfs 8 ,
and mounts it using
.Xr mount 8 .
+It can handle
+.Xr geom_uzip 4
+compressed disk images, as long as the kernel support this GEOM class.
All the command line options are passed to the appropriate program
at the appropriate stage in order to achieve the desired effect.
.Pp
@@ -307,6 +310,23 @@ do not use soft-updates on it and mount it
.Cm async :
.Pp
.Dl "mdmfs -M -S -o async -s 16m md1 /tmp"
+.Pp
+Create and mount a
+.Xr geom_uzip 4
+based compressed disk image:
+.Pp
+.Dl "mdmfs -P -F foo.uzip -oro md.uzip /tmp/"
+.Pp
+Mount the same image specifing the
+.Pa /dev/md1
+device:
+.Pp
+.Dl "mdmfs -P -F foo.uzip -oro md1.uzip /tmp/"
+.Pp
+Configure a vnode-backed file system and mount its first partition,
+using automatic device numbering:
+.Pp
+.Dl "mdmfs -P -F foo.img mds1a /tmp/"
.Sh COMPATIBILITY
The
.Nm