a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 hdwrench.library
  FindControllerID
  FindDefaults
  FindDiskName
  FindLastSector
  HDWCloseDevice
  HDWOpenDevice
  InMemMountfile
  InMemRDBStructs
  LowlevelFormat
  OutMemMountfile
  OutMemRDBStructs
  QueryCapacity
  QueryFindValid
  QueryInquiry
  QueryModeSense
  QueryReady
  RawRead
  RawWrite
  ReadMountfile
  ReadRDBStructs
  ReadRDBs
  VerifyDrive
  WriteBlock
  WriteMountfile
  WriteRDBStructs
  WriteRDBs
  ZZexample
  description
Include
GuruMeditation
Docs » Autodocs » hdwrench.library » FindDiskName

NAME

    FindDiskName

SYNOPSIS

    success = FindDiskName ( diskname )
D0 A0
BOOL FindDiskName ( char *diskname );

FUNCTION

    Return the drive name information obtained from a SCSI Inquiry command.

INPUTS

    diskname    pointer to UBYTE storage space for result data 28 bytes long.

RESULT

    success   BOOL with TRUE indicating valid data returned in diskname.

BUGS

    Some SCSI drives and some IDE "psuedo-SCSI Direct" implementations
include illegal characters in the three fields returned. Specificly
the A1200 IDE device returns zeros rather than blanks for unfilled
or unused portions of the fields. Some old drives had the revision
code in binary rather than alphanumeric.

SEE ALSO

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Tristar & Red Sector Inc.

ATX
PHA
TRSI
PDX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se