svn commit: r320555 - head/usr.sbin/diskinfo

Allan Jude allanjude at freebsd.org
Sun Jul 2 16:21:06 UTC 2017


On 2017-07-02 02:19, N.J. Mann wrote:
> Hi,
> 
> 
> On Saturday, July 01, 2017 21:34:57 +0000 Allan Jude <allanjude at FreeBSD.org> 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
> 
> [...]
> 
>> @@ -52,6 +58,12 @@ Print fields one per line with a descriptive comment.
>>  Perform a simple measurement of the I/O read command overhead.
>>  .It Fl i
>>  Perform a simple IOPS benchmark.
>> +.It Fl p
>> +Return the physical path of the disk.
>> +This is a string that identifies the physical path to the disk in the
>> +storage enclsoure.
> 
>            ^^^^^^^^^^
> 
>> +.It Fl s
>> +Return the disk serial number
>>  .It Fl t
>>  Perform a simple and rather naive benchmark of the disks seek
>>  and transfer performance.
>> @@ -62,6 +74,13 @@ with the following fields: device name, sectorsize, me
>>  media size in sectors, stripe size, stripe offset, firmware cylinders,
>>  firmware heads, and firmware sectors.
>>  The last three fields are only present if the information is available.
>> +.It Fl i
>> +Return the disk ident, usually the serial number.
>> +.It Fl p
>> +Return the physical path of the disk.
>> +This is a string that identifies the physical path to the disk in the
>> +storage enclsoure.
> 
>            ^^^^^^^^^^
> 
> 
> Cheers,
>        Nick.
> 

Fixed, thank you.

-- 
Allan Jude


More information about the svn-src-all mailing list