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

N.J. Mann njm at njm.me.uk
Sun Jul 2 06:26:40 UTC 2017


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.
-- 



More information about the svn-src-all mailing list