<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alan Cox wrote:
<blockquote cite="mid20080523203439.GE13150@devserv.devel.redhat.com"
 type="cite">
  <pre wrap="">On Fri, May 23, 2008 at 04:24:01PM -0400, Gerry Reno wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">The serial number might be ok until you replace the disk. Just have to 
remember to rerun the tools for the replacement and to note the 
replacement lineage. In scripts I think I could parse smartctl output 
for serial numbers or is there something better under /proc I can parse?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
hdparm is probably better to parse than hdparm. Especially

hdparm --Istdout 

  </pre>
</blockquote>
<tt>Ok, I was trying to steer clear of hdparm if I could because I got
bit a couple times with that command.  But in this instance in a script
it should be ok.<br>
<br>
<br>
</tt>
</body>
</html>