/dev/tape

Rick Stevens rstevens at vitalstream.com
Thu Jun 1 22:37:00 UTC 2006


On Thu, 2006-06-01 at 17:31 -0500, Les Mikesell wrote:
> On Thu, 2006-06-01 at 17:19 -0500, Mikkel L. Ellertson wrote:
> > Les Mikesell wrote:
> > > After installing FC5, I don't see /dev/tape showing up as a symlink
> > > to /dev/nst0 anymore and it disappears after a reboot if I add one
> > > manually to make mt and amanda work.  The tape drive wasn't attached
> > > when I installed - would that make a difference?  
> > > /etc/udev/rules.d/50-udev.rules does have an entry:
> > > KERNEL=="nst[0-9]", BUS=="scsi",        SYMLINK+="tape-%k", MODE="0660"
> > > and I do have /dev/nst0.  Does it need something else?
> > > 
> > Looking at this rule, you probably have something like /dev/tape-0
> > instead of /dev/tape. The %k is replaced with the kernel number, so
> > that /dev/nst0 gets a /dev/tape-0 symlink. /dev/nst1 would get
> > /dev/tape-1, and so forth.
> 
> Actually it is making tape-nst0 -> nst0, but that doesn't help
> much.

Change the rule to:

	KERNEL=="nst[0-9]", BUS=="scsi", SYMLINK="tape%k", MODE="0660"

and I'll bet it works.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     Veni, Vidi, VISA:  I came, I saw, I did a little shopping.     -
----------------------------------------------------------------------




More information about the users mailing list