[Bug 251181] [iscsi][doc] ctladm.8 misleading examples

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 16 09:23:12 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251181

            Bug ID: 251181
           Summary: [iscsi][doc] ctladm.8 misleading examples
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: rm at FreeBSD.org
                CC: doc at FreeBSD.org

Created attachment 219725
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219725&action=edit
screenshot of a problem

May be I'm missing something, but it looks like something else supposed to be
used as a backing store pathname in examples (see screenshot attached)


Here is what in ctladm.8 man-page (/usr/src/usr.sbin/ctladm/ctladm.8):

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
as the backing store, and specify the
.Tn SCSI
VPD page 0x80 and 0x83 serial number
.Fl ( S )
and device ID
.Fl ( d ) .
.Pp
.Dl ctladm create -b block -o file=src/usr.sbin/ctladm/ctladm.8 -S MYSERIAL321
-d MYDEVID123
.Pp


PS. For some reason bugzilla fails to generate Preview when clicking Preview
tab here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list