mdmfs.8 (225416) | mdmfs.8 (233648) |
---|---|
1.\" 2.\" Copyright (c) 2001 Dima Dorfman. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" 2.\" Copyright (c) 2001 Dima Dorfman. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/sbin/mdmfs/mdmfs.8 225416 2011-09-06 10:19:01Z kib $ | 26.\" $FreeBSD: head/sbin/mdmfs/mdmfs.8 233648 2012-03-29 05:02:12Z eadler $ |
27.\" 28.Dd September 4, 2011 29.Dt MDMFS 8 30.Os 31.Sh NAME 32.Nm mdmfs , 33.Nm mount_mfs 34.Nd configure and mount an in-memory file system using the 35.Xr md 4 36driver 37.Sh SYNOPSIS 38.Nm 39.Op Fl DLlMNPStUX 40.Op Fl a Ar maxcontig 41.Op Fl b Ar block-size 42.Op Fl c Ar blocks-per-cylinder-group | 27.\" 28.Dd September 4, 2011 29.Dt MDMFS 8 30.Os 31.Sh NAME 32.Nm mdmfs , 33.Nm mount_mfs 34.Nd configure and mount an in-memory file system using the 35.Xr md 4 36driver 37.Sh SYNOPSIS 38.Nm 39.Op Fl DLlMNPStUX 40.Op Fl a Ar maxcontig 41.Op Fl b Ar block-size 42.Op Fl c Ar blocks-per-cylinder-group |
43.Op Fl d Ar max-extent-size | 43.Op Fl d Ar max-extent-size |
44.Op Fl E Ar path-mdconfig 45.Op Fl e Ar maxbpg 46.Op Fl F Ar file 47.Op Fl f Ar frag-size 48.Op Fl i Ar bytes 49.Op Fl m Ar percent-free 50.Op Fl n Ar rotational-positions 51.Op Fl O Ar optimization --- 18 unchanged lines hidden (view full) --- 70disk using 71.Xr mdconfig 8 , 72puts a UFS file system on it (unless 73.Fl P 74was specified) using 75.Xr newfs 8 , 76and mounts it using 77.Xr mount 8 . | 44.Op Fl E Ar path-mdconfig 45.Op Fl e Ar maxbpg 46.Op Fl F Ar file 47.Op Fl f Ar frag-size 48.Op Fl i Ar bytes 49.Op Fl m Ar percent-free 50.Op Fl n Ar rotational-positions 51.Op Fl O Ar optimization --- 18 unchanged lines hidden (view full) --- 70disk using 71.Xr mdconfig 8 , 72puts a UFS file system on it (unless 73.Fl P 74was specified) using 75.Xr newfs 8 , 76and mounts it using 77.Xr mount 8 . |
78It can handle 79.Xr geom_uzip 4 | 78It can handle 79.Xr geom_uzip 4 |
80compressed disk images, as long as the kernel supports this GEOM class. 81All the command line options are passed to the appropriate program 82at the appropriate stage in order to achieve the desired effect. 83.Pp 84By default, 85.Nm 86creates a swap-based 87.Pq Dv MD_SWAP --- 225 unchanged lines hidden (view full) --- 313.Pa /dev/md1 314device; 315furthermore, 316do not use soft-updates on it and mount it 317.Cm async : 318.Pp 319.Dl "mdmfs -M -S -o async -s 16m md1 /tmp" 320.Pp | 80compressed disk images, as long as the kernel supports this GEOM class. 81All the command line options are passed to the appropriate program 82at the appropriate stage in order to achieve the desired effect. 83.Pp 84By default, 85.Nm 86creates a swap-based 87.Pq Dv MD_SWAP --- 225 unchanged lines hidden (view full) --- 313.Pa /dev/md1 314device; 315furthermore, 316do not use soft-updates on it and mount it 317.Cm async : 318.Pp 319.Dl "mdmfs -M -S -o async -s 16m md1 /tmp" 320.Pp |
321Create and mount a | 321Create and mount a |
322.Xr geom_uzip 4 323based compressed disk image: 324.Pp 325.Dl "mdmfs -P -F foo.uzip -oro md.uzip /tmp/" 326.Pp 327Mount the same image, specifying the 328.Pa /dev/md1 329device: --- 48 unchanged lines hidden --- | 322.Xr geom_uzip 4 323based compressed disk image: 324.Pp 325.Dl "mdmfs -P -F foo.uzip -oro md.uzip /tmp/" 326.Pp 327Mount the same image, specifying the 328.Pa /dev/md1 329device: --- 48 unchanged lines hidden --- |