From owner-svn-src-head@freebsd.org Sun Jul 2 03:14:26 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAAE7D9B35A; Sun, 2 Jul 2017 03:14:26 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 75E147D040; Sun, 2 Jul 2017 03:14:25 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 5A5761316E; Sun, 2 Jul 2017 03:14:24 +0000 (UTC) Subject: Re: svn commit: r320555 - head/usr.sbin/diskinfo To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201707012134.v61LYvFc026064@repo.freebsd.org> From: Allan Jude Message-ID: <6cf43bd9-6160-7540-0477-af36ad769e3d@freebsd.org> Date: Sat, 1 Jul 2017 23:14:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <201707012134.v61LYvFc026064@repo.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Maq5QiGTdENjjqCqMxC8qXTKTVSLEi5Oa" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2017 03:14:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Maq5QiGTdENjjqCqMxC8qXTKTVSLEi5Oa Content-Type: multipart/mixed; boundary="jL6GhRhV3mbd2UXoGfUteTL8pNvRbWgut"; protected-headers="v1" From: Allan Jude To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: <6cf43bd9-6160-7540-0477-af36ad769e3d@freebsd.org> Subject: Re: svn commit: r320555 - head/usr.sbin/diskinfo References: <201707012134.v61LYvFc026064@repo.freebsd.org> In-Reply-To: <201707012134.v61LYvFc026064@repo.freebsd.org> --jL6GhRhV3mbd2UXoGfUteTL8pNvRbWgut Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 >=20 > Log: > Add -s (serial) and -p (physpath) to diskinfo > =20 > Return the bare requested information, intended for scripting. > =20 > The serial number of a SAS/SCSI device can be returned with > 'camcontrol inquiry disk -S', but there is no similar switch for SATA= =2E > =20 > This provides a way to get this information from both SAS and SATA di= sks > =20 > the -s and -p flags are mutually exclusive, and cannot be used with a= ny > other flags. > =20 > Reviewed by: rpokala, wblock > MFC after: 1 month > Sponsored by: ScaleEngine Inc. > Differential Revision: https://reviews.freebsd.org/D7828 >=20 Relnotes: yes --=20 Allan Jude --jL6GhRhV3mbd2UXoGfUteTL8pNvRbWgut-- --Maq5QiGTdENjjqCqMxC8qXTKTVSLEi5Oa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJZWGUPAAoJEBmVNT4SmAt+uAEQAN5khjQftLhbqyu8EWY3YK9H 7Wwqj8IOqENONSrbCBnLxBb33H7DT69U0ERxBYfAp/Pzw0RnVFXUz/JPJ54ks/d8 B73wWWh/LXc51lieraZvY2DHTtQf21js/n28FGnaHvRNo4EeAJcT07WpHJSY+gDp /pG9oM6lCFEjhO7+db1n4WpY1cvaoUZrU25Cro4oSONkv02YW5jGaT8mZ9+3MDKh mi/JnazUmxMNZglORVxPKVH43X5my4NZyytd7aoTOAoZKNDhxCNKKZWMvyc52+pl fepnTPVH8KDSZ2uPY268mDg65w7iGzzK4NPekTSPlPfhl+3C57pwLjlPhMVWg1kE QBz9TRUQ76iusloLRc6y0EGzJrgecOvYOP6Rc1RkEc3g30/hU5v9Y7SnJ69bNLOo SRz6vVzJrHe+eGRDM+Vnasm8VY3rDH5vdVcIJQ/9Ji2SpwmBv1PIaMusyqqLtN+V 6W7r+hswGPUACWn8UJm+miMVd8ZUvM/zOoIRYXGwyL2EwPjuZ6/yfbEgXKJSUFfP OX1xQLSNCt9xtinxAF0TfBKUmi10Otnvhj1t1LUrwjfCl/uOUNdq9SkpqDEaMXfB AMZ22HKKz19WV8QjgdJ/31rKOHrzssPpH0FJUO5QdMpuhdyr7bzWAUnvEOVfQOt1 wR9jCNzrTQsXDWnJm6ob =W2cl -----END PGP SIGNATURE----- --Maq5QiGTdENjjqCqMxC8qXTKTVSLEi5Oa--