diff options
author | matteo <matteo@FreeBSD.org> | 2007-02-15 18:07:52 +0000 |
---|---|---|
committer | matteo <matteo@FreeBSD.org> | 2007-02-15 18:07:52 +0000 |
commit | bceea8e09f1c7b9607eda3cdbe57a4772449a73b (patch) | |
tree | 6400871531ef64dc1fc19d82d21cd423963be686 /sbin/mdmfs | |
parent | 8627d150b81cda79dc532068f23c654f6c983855 (diff) | |
download | FreeBSD-src-bceea8e09f1c7b9607eda3cdbe57a4772449a73b.zip FreeBSD-src-bceea8e09f1c7b9607eda3cdbe57a4772449a73b.tar.gz |
Add examples for configuring and mounting geom_uzip(4) based disks'
image and sliced/partitioned memory disks.
MFC after: 1 week
Diffstat (limited to 'sbin/mdmfs')
-rw-r--r-- | sbin/mdmfs/mdmfs.8 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sbin/mdmfs/mdmfs.8 b/sbin/mdmfs/mdmfs.8 index 7b9e810..ea1ded0 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 |