Re: eject command fails on cdrom

2002-05-22 Thread Colin Watson
On Wed, May 22, 2002 at 03:48:25PM +0200, Vincent Lefevre wrote: > On Wed, May 22, 2002 at 10:35:48 +0100, Colin Watson wrote: > > On my desktop, /dev/hdc is a hard disk. > > Can't the kernel autodetect the devices? If you're running devfs, perhaps ... without devfs, /dev/cdrom is managed in user

Re: eject command fails on cdrom-SOLVED

2002-05-22 Thread Robert_L
On Wednesday 22 May 09:53, Vincent Lefevre wrote: > On Wed, May 22, 2002 at 13:19:58 +0200, Riaan Rottier wrote: > > I found the problem... > > > > My user did not belong to the group cdrom. > > On my machine (Titanium), /dev/hdc (corresponding to the cdrom) has > the group disk, not cdrom. Is ther

Re: eject command fails on cdrom-SOLVED

2002-05-22 Thread Vincent Lefevre
On Wed, May 22, 2002 at 13:19:58 +0200, Riaan Rottier wrote: > I found the problem... > > My user did not belong to the group cdrom. On my machine (Titanium), /dev/hdc (corresponding to the cdrom) has the group disk, not cdrom. Is there something wrong? -- Vincent Lefèvre <[EMAIL PROTECTED]>

Re: eject command fails on cdrom

2002-05-22 Thread Vincent Lefevre
On Wed, May 22, 2002 at 10:35:48 +0100, Colin Watson wrote: > On my desktop, /dev/hdc is a hard disk. Can't the kernel autodetect the devices? -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: - 100% validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International

Re: eject command fails on cdrom

2002-05-22 Thread Joachim Fahnenmueller
On Tue, May 21, 2002 at 12:25:28PM +0200, Riaan Rottier wrote: > When I try to eject a cd using the eject command, the system returns the > error: > > eject: unable to eject, last error: Inappropriate ioctl for device Hi Riaan, does it work for root? If so, it is most likely a permission proble

Re: eject command fails on cdrom-SOLVED

2002-05-22 Thread Riaan Rottier
I found the problem... My user did not belong to the group cdrom. Thank you fo all the advice Riaan On Wed, 2002-05-22 at 12:54, Riaan Rottier wrote: > OK there is a link to hdc - > lrwxrwxrwx1 root root3 Feb 23 16:48 /dev/cdrom ->hdc > > I can mount and unmount the cdr

Re: eject command fails on cdrom

2002-05-22 Thread Riaan Rottier
OK there is a link to hdc - lrwxrwxrwx1 root root3 Feb 23 16:48 /dev/cdrom ->hdc I can mount and unmount the cdrom without any problems, it is just the eject command that fails. Running strace eject (when running from /home/riaan) I get the following output: execve("/usr/bin/

Re: eject command fails on cdrom

2002-05-22 Thread Colin Watson
On Wed, May 22, 2002 at 03:04:11AM -0700, ben wrote: > On Wednesday 22 May 2002 02:35 am, Colin Watson wrote: > > On Wed, May 22, 2002 at 02:56:42AM +0200, Vincent Lefevre wrote: > > > This is true, but why is the link set up only when installing from > > > cdrom? The /etc/fstab file contains a /de

Re: eject command fails on cdrom

2002-05-22 Thread ben
On Wednesday 22 May 2002 02:35 am, Colin Watson wrote: > On Wed, May 22, 2002 at 02:56:42AM +0200, Vincent Lefevre wrote: > > On Tue, May 21, 2002 at 19:55:53 -0500, Shyamal Prasad wrote: > > > Because you probably did not install from cdrom, so the link never got > > > set up. > > > > This is true

Re: eject command fails on cdrom

2002-05-22 Thread Colin Watson
On Wed, May 22, 2002 at 02:56:42AM +0200, Vincent Lefevre wrote: > On Tue, May 21, 2002 at 19:55:53 -0500, Shyamal Prasad wrote: > > Because you probably did not install from cdrom, so the link never got > > set up. > > This is true, but why is the link set up only when installing from > cdrom? Th

Re: eject command fails on cdrom

2002-05-21 Thread Vincent Lefevre
On Tue, May 21, 2002 at 19:55:53 -0500, Shyamal Prasad wrote: > Because you probably did not install from cdrom, so the link never got > set up. This is true, but why is the link set up only when installing from cdrom? The /etc/fstab file contains a /dev/cdrom line and there is a /dev/hdc file, so

Re: eject command fails on cdrom

2002-05-21 Thread Shyamal Prasad
"Vincent" == Vincent Lefevre <[EMAIL PROTECTED]> writes: Vincent> On Tue, May 21, 2002 at 14:22:33 -0400, Robert_L wrote: >> /dev/cdrom here is a link to /dev/hdc (which is the actual >> device file) Vincent> BTW, I had to add the link manually. Why isn't there a Vincent>

Re: eject command fails on cdrom

2002-05-21 Thread Vincent Lefevre
On Tue, May 21, 2002 at 14:22:33 -0400, Robert_L wrote: > /dev/cdrom here is a link to /dev/hdc (which is the actual device file) BTW, I had to add the link manually. Why isn't there a link by default? -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: - 100% validated (X)HTM

Re: eject command fails on cdrom

2002-05-21 Thread Robert Rakowicz
Riaan Rottier <[EMAIL PROTECTED]> writes: Hi, > When I try to eject a cd using the eject command, the system returns the > error: > > eject: unable to eject, last error: Inappropriate ioctl for device > > It used to work a few months back and I updated some packages since then > but I made no ot

Re: eject command fails on cdrom

2002-05-21 Thread Robert_L
On Tuesday 21 May 01:25, Riaan Rottier wrote: > It doesn't make a difference whether the cdrom is mounted or not I get > the same error message. > > Interesting enough when I issue the command from my home directory > instead of the root directory I get the following error: > > eject: unable to fin

Re: eject command fails on cdrom

2002-05-21 Thread Riaan Rottier
It doesn't make a difference whether the cdrom is mounted or not I get the same error message. Interesting enough when I issue the command from my home directory instead of the root directory I get the following error: eject: unable to find or open device for: `cdrom' Riaan On Tue, 2002-05-21

Re: eject command fails on cdrom

2002-05-21 Thread Robert_L
On Tuesday 21 May 06:25, Riaan Rottier wrote: > When I try to eject a cd using the eject command, the system returns the > error: > > eject: unable to eject, last error: Inappropriate ioctl for device > > It used to work a few months back and I updated some packages since then > but I made no other