Re: how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)

From: Greg KH
Date: Fri Jan 05 2007 - 23:58:18 EST


On Fri, Jan 05, 2007 at 12:27:34AM +0200, Yakov Lerner wrote:
> How can I get serial_no from usb-attached HD drive ?

use the *_id programs that come with udev, they show you how to properly
do that.

good luck,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/