scsi_test_unit_ready(9) centos man page | unix.com

Man Page: scsi_test_unit_ready

Operating Environment: centos

Section: 9

SCSI_TEST_UNIT_READY(9) 					  SCSI mid layer					   SCSI_TEST_UNIT_READY(9)

NAME
scsi_test_unit_ready - test if unit is ready
SYNOPSIS
int scsi_test_unit_ready(struct scsi_device * sdev, int timeout, int retries, struct scsi_sense_hdr * sshdr_external);
ARGUMENTS
sdev scsi device to change the state of. timeout command timeout retries number of retries before failing sshdr_external Optional pointer to struct scsi_sense_hdr for returning sense. Make sure that this is cleared before passing in.
DESCRIPTION
Returns zero if unsuccessful or an error if TUR failed. For removable media, UNIT_ATTENTION sets ->changed flag.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SCSI_TEST_UNIT_READY(9)
Related Man Pages
srp_reconnect_rport(9) - centos
struct_ieee80211_conf(9) - centos
struct_tid_ampdu_tx(9) - centos
fc_remote_port_add(9) - suse
struct_ieee80211_conf(9) - suse
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it