openSuSE and /dev/tape changes
Hi Folks,
Does anyone have details on when and why the SuSE team usurped the /dev/tape symbolic link standard and created the /dev/tape/ folder hierarchy? When using tools like mt, the default device entry of /dev/tape is now causing problems because the device is now a directory. Previously, /dev/tape was a symlink to the default, non-rewinding tape device (i.e.: /dev/nst0). Thanks! |
The links are created by rules in /etc/udev/rules.d/60-persistant-storage-end.
You can use "mt -f <device>" or even alias the mt command in /etc/profile.local. |
Thanks, but that doesn't explain why it was done and what its purpose is (i.e.: easier device naming, better handling of 100 attached tape devices...). I know that some have assumed a udev thing, but it's not necessary for udev. It would be nice to know the purpose since it's not present in all distributions and even the distributions that include it config it differently.
|
After doing some testing it appears that both Fedora and openSuSE do the same process, however, it depends if you're using a SCSI tape device versus a USB tape device. As you can see from below, the output is different.
Fedora 7 with SCSI tape drives: Code:
$ ls -lR /dev/tape Code:
# ls -lR /dev/tape Does anyone know why this was changed in the first place? |
All times are GMT -5. The time now is 10:53 PM. |