ata_id_string(9) suse man page | unix.com

Man Page: ata_id_string

Operating Environment: suse

Section: 9

ATA_ID_STRING(9)						  libata Library						  ATA_ID_STRING(9)

NAME
ata_id_string - Convert IDENTIFY DEVICE page into string
SYNOPSIS
void ata_id_string(const u16 * id, unsigned char * s, unsigned int ofs, unsigned int len);
ARGUMENTS
id IDENTIFY DEVICE results we will examine s string into which data is output ofs offset into identify device page len length of string to return. must be an even number.
DESCRIPTION
The strings in the IDENTIFY DEVICE page are broken up into 16-bit chunks. Run through the string, and output each 8-bit chunk linearly, regardless of platform.
LOCKING
caller.
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_ID_STRING(9)
Related Man Pages
sg_inq(8) - centos
sg_sat_identify(8) - centos
sg_vpd(8) - centos
sg_inq(8) - debian
sg_vpd(8) - suse
Similar Topics in the Unix Linux Community
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
SOCKS proxy & PAM configuration exposure
Tar Command
A (ksh) Library For and From UNIX.com