Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jul 2017 07:19:51 +0100
From:      "N.J. Mann" <njm@njm.me.uk>
To:        Allan Jude <allanjude@FreeBSD.org>
Cc:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r320555 - head/usr.sbin/diskinfo
Message-ID:  <613933F1305AF7B7EDEED034@triton.njm.me.uk>
In-Reply-To: <201707012134.v61LYvFc026064@repo.freebsd.org>
References:  <201707012134.v61LYvFc026064@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?613933F1305AF7B7EDEED034>