Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2017 12:20:58 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        "N.J. Mann" <njm@njm.me.uk>
Cc:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r320555 - head/usr.sbin/diskinfo
Message-ID:  <5023c7b7-022c-32bd-427a-eb0e5d36e010@freebsd.org>
In-Reply-To: <613933F1305AF7B7EDEED034@triton.njm.me.uk>
References:  <201707012134.v61LYvFc026064@repo.freebsd.org> <613933F1305AF7B7EDEED034@triton.njm.me.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-07-02 02:19, N.J. Mann wrote:
> Hi,
> 
> 
> On Saturday, July 01, 2017 21:34:57 +0000 Allan Jude <allanjude@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5023c7b7-022c-32bd-427a-eb0e5d36e010>