UFS snapshots are read-only

Change the snapshot example to show creating the md(4) read-only, in order
to avoid a warning.
This commit is contained in:
Ed Maste 2014-05-09 17:39:32 +00:00
parent 0c13ab9074
commit b1c526c650
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44800

View file

@ -2123,7 +2123,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
file system. To &man.mount.8; the snapshot
<filename>/var/snapshot/snap</filename> run:</para>
<screen>&prompt.root; <userinput>mdconfig -a -t vnode -f /var/snapshot/snap -u 4</userinput>
<screen>&prompt.root; <userinput>mdconfig -a -t vnode -o readonly -f /var/snapshot/snap -u 4</userinput>
&prompt.root; <userinput>mount -r /dev/md4 /mnt</userinput></screen>
</listitem>
</itemizedlist>