LinearTapeFileSystem / ltfs

Reference implementation of the LTFS format Spec for stand alone tape drive
BSD 3-Clause "New" or "Revised" License
256 stars 77 forks source link

PR to master - Introduce Recommended access order (RAO) via EA #288

Closed y-sasn closed 3 years ago

y-sasn commented 3 years ago

Summary of changes

This PR is related to #287 . Please refer to this comment: https://github.com/LinearTapeFileSystem/ltfs/pull/287#issuecomment-848525367

Introduce Recommended access order (RAO) support via EA by ltfs.vendor.IBM.rao.

Description

This update introduce the support of the RAO (GRAO, RRAO) command, which was introduced from LTO-9. Only linux scsi generic (sg) driver is supported in this fix.

How to use

  1. Set a file path to a correct GRAO Parameter Data via VEA on mount point.
  2. A xxx.out file containing the RAO List will be made in the same directory.

example:

attr -s ltfs.vendor.IBM.rao -V ~/xxx <mount dir>
# The result will be created in `~/xxx.out`

Type of change

Checklist: