[4323] in RedHat Linux List

home help back first fref pref prev next nref lref last post

ide cd-rom changers

daemon@ATHENA.MIT.EDU (Sheldon E. Newhouse)
Thu Nov 14 09:28:38 1996

Date: Thu, 14 Nov 1996 09:26:14 -0500
From: "Sheldon E. Newhouse" <sen1@math.msu.edu>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I noticed that there is a program called eject which, among other
things,  will allow root to change the slot of a multi-changer ide
cdrom.  I have several questions on this.

 1. As it stands now, to find the contents of, say a 3-disk cdrom, one has
    to do:
    umount /dev/cdrom
    eject -c 0
    mount /dev/cdrom
    ls
    umount /dev/cdrom
    eject -c 1
    mount /dev/cdrom
    ls
    umount /dev/cdrom
    eject -c 2
    mount /dev/cdrom
    ls

Is there an easier way?


 2. Also, to change the slots (i.e. run eject -c 0) one has to be root
because otherwise one gets a message like

   eject -c 0
   eject: open failed for `/dev/hdc': Permission denied

I am reluctant to change the permissions on /dev/hdc to allow users
read-write for obvious reasons. Is there any other way to allow normal
users to list the contents of various slots in an ide-changer and change
the slots?

TIA,

-sen

 ---------------------------------------------------------------------------
 | Sheldon E. Newhouse            |    e-mail: sen1@math.msu.edu           |
 | Mathematics Department         |       				   |
 | Michigan State University      | telephone: 517-355-9684                |
 | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
 ---------------------------------------------------------------------------


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post