Re: [gentoo-amd64] Re: Re: initio seen, mt -f doesn't work

2005-12-08 Thread Kevin F. Quinn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 08 Dec 2005 08:13:52 -0700
Duncan [EMAIL PROTECTED] wrote:

 Gavin Seddon posted [EMAIL PROTECTED], excerpted
 below,  on Thu, 08 Dec 2005 14:57:31 +:
 
  But when I use mt I get
  ' mt -f /dev/st0 eject
  /dev/st0: No such device or address'
 
  Yes /dev/st0 is there.  How should I start the device, as far as I
  remember I built all scsi modules into the kernel. Gavin.
 
 If you have a /dev/st0, the next question is why that error message
 says you don't.  It's likely a permissions thing.  I don't have a
 tape backup machine, so I don't know much about the command set or
 how it is run, but can you run it as root?  Does the error change?

I think permissions are the most likely problem; that'd cause mt
to be unable to open the device - many utilities don't
differentiate between being unable to open something and that
something not existing.

Gavin; default Gentoo udev rules set the group of st devices to
'tape' (see /etc/udev/rules.d/50-udev.rules' so add your user id to the
tape group.

- -- 
Kevin F. Quinn
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDmFar9G2S8dekcG0RAlGBAKCxq+NPW63+YKEFgWNno6UjeGhVVwCg6KpB
H/jIFOWdhX4VaFz0sBlTYa0=
=oMt9
-END PGP SIGNATURE-

-- 
gentoo-amd64@gentoo.org mailing list



Re: [gentoo-amd64] Re: Re: initio seen, mt -f doesn't work

2005-12-08 Thread Gavin Seddon
Hi,
root is in tape group.  I cannot use mt as a user anyway.  I can't see
initio in 'dmesg' anymore, also??
Thanks

On Thu, 2005-12-08 at 08:13 -0700, Duncan wrote:
 Gavin Seddon posted [EMAIL PROTECTED], excerpted
 below,  on Thu, 08 Dec 2005 14:57:31 +:
 
  But when I use mt I get
  ' mt -f /dev/st0 eject
  /dev/st0: No such device or address'
 
  Yes /dev/st0 is there.  How should I start the device, as far as I
  remember I built all scsi modules into the kernel. Gavin.
 
 If you have a /dev/st0, the next question is why that error message says
 you don't.  It's likely a permissions thing.  I don't have a tape backup
 machine, so I don't know much about the command set or how it is run, but
 can you run it as root?  Does the error change?
 
 -- 
 Duncan - List replies preferred.   No HTML msgs.
 Every nonfree program has a lord, a master --
 and if you use the program, he is your master.  Richard Stallman in
 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
 
 
-- 
Dr Gavin Seddon
School of Pharmacy and Pharmaceutical Sciences 
University of Manchester
Oxford Road, Manchester 
M13 9PL, U.K.

-- 
gentoo-amd64@gentoo.org mailing list