Date: Wed, 31 Jul 2002 10:18:39 +0200 (CEST) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/41196: [PATCH] for atacontrol to show serial number Message-ID: <200207310818.g6V8IdFg010076@curry.mchp.siemens.de>
next in thread | raw e-mail | index | archive | help
>Number: 41196 >Category: bin >Synopsis: [PATCH] for atacontrol to show serial number >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 31 01:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andre Albsmeier >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: all FreeBSD systems I assume >Description: Sometimes (especially for warranty purposes) it would be fine to be able to retrieve the serial number for an ata device. >How-To-Repeat: Try it :-) >Fix: --- sbin/atacontrol/atacontrol.c.ORI Wed Jul 31 09:54:42 2002 +++ sbin/atacontrol/atacontrol.c Wed Jul 31 09:57:23 2002 @@ -113,6 +113,7 @@ printf("ATA/ATAPI revision %d\n", version(parm->version_major)); printf("device model %.40s\n", parm->model); printf("firmware revision %.8s\n", parm->revision); + printf("serial number %.32s\n", parm->serial); printf("cylinders %d\n", parm->cylinders); printf("heads %d\n", parm->heads); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207310818.g6V8IdFg010076>