Skip to contentSkip to conversation

Tape Drive Question (2.6.14.4)

DISCUSSION Justin Piszcz 2 participants 3 messages Dec 24, 2005

lore
Share & tools
lore
#0 lore raw
$ ls -l /dev/st0*
crw-rw-rw-  1 root tape 9,  0 2004-09-18 07:51 /dev/st0
crw-rw-rw-  1 root tape 9, 96 2004-09-18 07:51 /dev/st0a
crw-rw-rw-  1 root tape 9, 32 2004-09-18 07:51 /dev/st0l
crw-rw-rw-  1 root tape 9, 64 2004-09-18 07:51 /dev/st0m

What differentiates st0 from a,l,m?
What does writing or reading to a tape using a,l,m signify?

I cannot seem to find any documentation clearly stating this.

Justin.

#1 lore raw
Quoted 8 lines
$ ls -l /dev/st0*
crw-rw-rw-  1 root tape 9,  0 2004-09-18 07:51 /dev/st0
crw-rw-rw-  1 root tape 9, 96 2004-09-18 07:51 /dev/st0a
crw-rw-rw-  1 root tape 9, 32 2004-09-18 07:51 /dev/st0l
crw-rw-rw-  1 root tape 9, 64 2004-09-18 07:51 /dev/st0m

What differentiates st0 from a,l,m?
What does writing or reading to a tape using a,l,m signify?

By default, they're all the same. You can tweak the driver parameters, however, to cause the different devices to use different densities and blocking modes. See mt(1) and Documentation/scsi/st.txt.

jon

Jonathan Corbet
Executive editor, LWN.net
[email protected]

#2 lore raw

Ahhh, ok thanks!

Justin.

Quoted 19 lines · Jonathan Corbet
Quoted 8 lines
$ ls -l /dev/st0*
crw-rw-rw-  1 root tape 9,  0 2004-09-18 07:51 /dev/st0
crw-rw-rw-  1 root tape 9, 96 2004-09-18 07:51 /dev/st0a
crw-rw-rw-  1 root tape 9, 32 2004-09-18 07:51 /dev/st0l
crw-rw-rw-  1 root tape 9, 64 2004-09-18 07:51 /dev/st0m

What differentiates st0 from a,l,m?
What does writing or reading to a tape using a,l,m signify?

By default, they're all the same. You can tweak the driver parameters, however, to cause the different devices to use different densities and blocking modes. See mt(1) and Documentation/scsi/st.txt.

jon

Jonathan Corbet
Executive editor, LWN.net
[email protected]