agent007 wrote:Doing a hdparm -i /dev/hdc gives a SerialNo=3HS0xxxx.....IS it possible to change that using some tool? since its possible to change MAC addresses.
I assume you mean physically and permanently? It is not possible to change a MAC address permanently (well, not reasonably possible). The hardware has a "burnt in" MAC address that you can manually "override" in the OS while the OS is running, and in fact a trivial and well documented task indeed, but it doesn't change the physical MAC address on the card itself. Of course it may be "possible" to change this address, however I believe it would take some surgery on the card.
Now I think that changing a hard drive serial number would require similar work but I don't know that to be a fact. I used to work with a guy who would know that as he was an engineer at Miniscribe (hard drive manufacturer). I believe that the serial number comes from a reserved part of the drive that the drive can read from but can not physically write to. I would be surprised if there is code on board to allow that to happen. It would be my guess that it is only writable at the manufacturer during the build process.
Of course this is all speculation and I could very well be wrong but I have done a fair amount of lower level stuff over a long period of time that I would think if I had run across that capability I would have held on to it (remember). And it would be quite a popular thing to be able to do in the M$ world these days if you could do it.
EDIT: I was doing a little digging to see if I could find a better answer in the hdparm source. I realized that hdparm gets the HD serial number information from the
ioctl function, specifically the HDIO_GET_IDENTITY ioctl call from
this list. It also uses the HDIO_DRIVE_CMD function of ioctl to set different drive params. I would assume if it can be done from the OS that it would be in this area that you would look. The serial number is something I would think the manufacturers want to keep protected so I would guess that if there was a way to chang it, that it would be non-standard between manufacturers and it would probably take sending undocumented instructions to the drive itself. Again, all speculation but maybe it will give you some more ideas on what to look for, then again maybe not. :)