• Kai Mäkisara's avatar
    [PATCH] SCSI tape sysfs name fixes · 59294772
    Kai Mäkisara authored
    - The sysfs directory names are changed from stxmy[n] to the names in
      devices.txt. Below is an example for the first tape drive:
      /sys/class/scsi_tape/
      |-- nst0
      |-- nst0a
      |-- nst0l
      |-- nst0m
      |-- st0
      |-- st0a
      |-- st0l
      `-- st0m
    
    - Name generation for non-default number of modes fixed so that same
      minors get same names even with different number of modes.
    
    - devfs minor generation fixed to work with non-default number of modes
    
    - The alignment requirement is printed in the line logged when a tape is
      attached.
    59294772
st.h 5.57 KB