camcontrol patch to allow users to specify device node names
Bruce Cran
bruce at cran.org.uk
Thu Oct 7 11:32:54 UTC 2010
In camcontrol, there's code to check that a device hasn't been specified as
"/dev/daX" - in this case, an error is printed and it exits. However, a plain
device name is already allowed and I've checked that passing a device node
does work.
I've attached a patch which removes this restriction and allows people to use
"camcontrol tur /dev/da0" if they want to.
Is there a reason for disallowing people to specify the device node, or could
this patch be committed with an update to the man page to remove the sentence
about character device node names not being allowed?
--
Bruce Cran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: camcontrol.c.diff
Type: text/x-patch
Size: 694 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20101007/d44eab20/camcontrol.c.bin
More information about the freebsd-scsi
mailing list