svn commit: r320555 - head/usr.sbin/diskinfo
Allan Jude
allanjude at freebsd.org
Sun Jul 2 03:14:26 UTC 2017
On 2017-07-01 17:34, Allan Jude wrote:
> Author: allanjude
> Date: Sat Jul 1 21:34:57 2017
> New Revision: 320555
> URL: https://svnweb.freebsd.org/changeset/base/320555
>
> Log:
> Add -s (serial) and -p (physpath) to diskinfo
>
> Return the bare requested information, intended for scripting.
>
> The serial number of a SAS/SCSI device can be returned with
> 'camcontrol inquiry disk -S', but there is no similar switch for SATA.
>
> This provides a way to get this information from both SAS and SATA disks
>
> the -s and -p flags are mutually exclusive, and cannot be used with any
> other flags.
>
> Reviewed by: rpokala, wblock
> MFC after: 1 month
> Sponsored by: ScaleEngine Inc.
> Differential Revision: https://reviews.freebsd.org/D7828
>
Relnotes: yes
--
Allan Jude
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170701/a16d08db/attachment.sig>
More information about the svn-src-all
mailing list