summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2020-11-23 14:30:27 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2020-11-23 14:30:27 +0000
commit64cecc7a75ab99405686a16bad41d25bc1bbedff (patch)
tree3365b1e99e8740f5cbed91db79fba20c1ffa5535 /usr.sbin
parent9138770728966d3257b1ad14d9ba41e849c51cde (diff)
downloadsrc-test2-64cecc7a75ab99405686a16bad41d25bc1bbedff.tar.gz
src-test2-64cecc7a75ab99405686a16bad41d25bc1bbedff.zip
Replace paths in ctladm(8) examples with something sensible.
PR: 251181 Reviewed by: 0mp, rm, ygy MFC after: 2 weeks Sponsored by: EPSRC Differential Revision: https://reviews.freebsd.org/D27249
Notes
Notes: svn path=/head/; revision=367956
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ctladm/ctladm.816
1 files changed, 5 insertions, 11 deletions
diff --git a/usr.sbin/ctladm/ctladm.8 b/usr.sbin/ctladm/ctladm.8
index cd478635753f..25380c86441a 100644
--- a/usr.sbin/ctladm/ctladm.8
+++ b/usr.sbin/ctladm/ctladm.8
@@ -36,7 +36,7 @@
.\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $
.\" $FreeBSD$
.\"
-.Dd August 6, 2020
+.Dd November 23, 2020
.Dt CTLADM 8
.Os
.Sh NAME
@@ -1029,23 +1029,17 @@ while reporting size of 10 terabytes,
.Pp
.Dl ctladm create -b ramdisk -s 10T -o capacity=10G
.Pp
-Create a LUN using the block backend, and specify the file
-.Pa src/usr.sbin/ctladm/ctladm.8
-as the backing store.
-The size of the LUN will be derived from the size of the file.
-.Pp
-.Dl ctladm create -b block -o file=src/usr.sbin/ctladm/ctladm.8
-.Pp
-Create a LUN using the block backend, specify the file
-.Pa src/usr.sbin/ctladm/ctladm.8
+Create a LUN using the block backend, specify the ZFS volume
+.Pa tank/example
as the backing store, and specify the
.Tn SCSI
VPD page 0x80 and 0x83 serial number
.Fl ( S )
and device ID
.Fl ( d ) .
+The size of the LUN will be derived from the size of the ZVOL.
.Pp
-.Dl ctladm create -b block -o file=src/usr.sbin/ctladm/ctladm.8 -S MYSERIAL321 -d MYDEVID123
+.Dl ctladm create -b block -o file=/dev/zvol/tank/example -S MYSERIAL321 -d MYDEVID123
.Pp
Use to specify generic options on ioctl frontend port, now it is
only possible to set pp and/or vp port number.