From de63bf714ce89d7105acd575af401288e3c3bdf0 Mon Sep 17 00:00:00 2001 From: Matteo Riondato Date: Thu, 15 Feb 2007 18:07:52 +0000 Subject: Add examples for configuring and mounting geom_uzip(4) based disks' image and sliced/partitioned memory disks. MFC after: 1 week --- sbin/mdmfs/mdmfs.8 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'sbin/mdmfs') diff --git a/sbin/mdmfs/mdmfs.8 b/sbin/mdmfs/mdmfs.8 index 7b9e810683d3..ea1ded0a33af 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 -- cgit v1.2.3