Re: I can eject a mounted CD

2001-04-20 Thread Bastien Nocera
On 20 Apr 2001 09:49:55 +0200, Giuliano Pochini wrote: > > >> [Giu@Jay Giu]$ eject /mnt/cdmac/ umount: /dev/sr0 is not in the fstab (and > >> you are not root) eject: unmount of `/dev/sr0' failed > > Eject(1) is suid. No, it's not on proper installations. $ ls -l /usr/bin/eject 17k -rwxr-xr-

Re: I can eject a mounted CD

2001-04-20 Thread Giuliano Pochini
>> [Giu@Jay Giu]$ eject /mnt/cdmac/ umount: /dev/sr0 is not in the fstab (and >> you are not root) eject: unmount of `/dev/sr0' failed Eject(1) is suid. > I have similar problem with my swim3 floppy drive. Digging deeply I found that > when I make do folowing steps then disk is lost and I have

Re: I can eject a mounted CD

2001-04-19 Thread Tomas Jura
On Sat, Apr 14, 2001 at 12:12:28AM +0200, Giuliano Pochini wrote: > > My fstab: > > /dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0 > /dev/cdrom /mnt/cdmac hfs noauto,user,ro 0 0 > > I insert an apple cd (hfs) and mount /mnt/cdmac If I type e

Re: I can eject a mounted CD

2001-04-19 Thread Giuliano Pochini
>> > Right, so I'll check what eject(1) does. It might eject the disk even if it >> > failed to unmount. >> >> It shouldn't be able to. But check and see what happens. > > (1) There are many different programs all called eject(1). > I find at least four of them on this machine. > > (2) I missed t

Re: I can eject a mounted CD

2001-04-18 Thread Jens Axboe
On Wed, Apr 18 2001, Guest section DW wrote: > On Wed, Apr 18, 2001 at 03:06:22PM +0200, Jens Axboe wrote: > > On Wed, Apr 18 2001, Giuliano Pochini wrote: > > > > > vmware and one or two other apps I've also seen do this. WHen > > > > you unlock the cdrom door as root you can unlock it even if a

Re: I can eject a mounted CD

2001-04-18 Thread Guest section DW
On Wed, Apr 18, 2001 at 03:06:22PM +0200, Jens Axboe wrote: > On Wed, Apr 18 2001, Giuliano Pochini wrote: > > > vmware and one or two other apps I've also seen do this. WHen you unlock the > > > cdrom door as root you can unlock it even if a file system is mounted > > > > Right, so I'll check w

Re: I can eject a mounted CD

2001-04-18 Thread Jeremy Jackson
Giuliano Pochini wrote: > >> >> That's not the point. The kernel should not allow someone to > >> >> eject a mounted media. > >> > > >> > rpm -e magicdev > >> > >> Magicdev is not installed. > >> Ok, I'm the only one with this problem, I'll manage to find the bug by myself. > > > > eject(1) line

Re: I can eject a mounted CD

2001-04-18 Thread Jens Axboe
On Wed, Apr 18 2001, Giuliano Pochini wrote: > > > vmware and one or two other apps I've also seen do this. WHen you unlock the > > cdrom door as root you can unlock it even if a file system is mounted > > Right, so I'll check what eject(1) does. It might eject the disk even if it > failed to un

Re: I can eject a mounted CD

2001-04-18 Thread Giuliano Pochini
> vmware and one or two other apps I've also seen do this. WHen you unlock the > cdrom door as root you can unlock it even if a file system is mounted Right, so I'll check what eject(1) does. It might eject the disk even if it failed to unmount. Bye. Giuliano Pochini ->)|(<- Shiny Network

Re: I can eject a mounted CD

2001-04-18 Thread Jens Axboe
On Wed, Apr 18 2001, Alan Cox wrote: > > > rpm -e magicdev > > > > Magicdev is not installed. > > Ok, I'm the only one with this problem, I'll manage to find the bug by myself. > > vmware and one or two other apps I've also seen do this. WHen you unlock the > cdrom door as root you can unlock it

Re: I can eject a mounted CD

2001-04-18 Thread Alan Cox
> > rpm -e magicdev > > Magicdev is not installed. > Ok, I'm the only one with this problem, I'll manage to find the bug by myself. vmware and one or two other apps I've also seen do this. WHen you unlock the cdrom door as root you can unlock it even if a file system is mounted - To unsubscribe

Re: I can eject a mounted CD

2001-04-18 Thread Giuliano Pochini
>> >> That's not the point. The kernel should not allow someone to >> >> eject a mounted media. >> > >> > rpm -e magicdev >> >> Magicdev is not installed. >> Ok, I'm the only one with this problem, I'll manage to find the bug by myself. > > eject(1) line 36: > >If the device is currently moun

Re: I can eject a mounted CD

2001-04-18 Thread Tim Peeler
On Wed, Apr 18, 2001 at 09:25:43AM +0200, Giuliano Pochini wrote: > > >> > /dev/cdrom/mnt/cdromautonoauto,user,ro0 0 > >> > > >> > And remove the other cdrom listing. This will allow mounting any > >> > supported format and eliminate the duel support for one device. >

Re: I can eject a mounted CD

2001-04-18 Thread Anthony D. Saxton
Giuliano Pochini wrote: > > > My fstab: > > > > > > /dev/cdrom /mnt/cdrom iso9660 > > > noauto,user,ro 0 0 > > > /dev/cdrom /mnt/cdmac hfs > > > noauto,user,ro 0 0 > > > > Change your fstab to read instead: > > > > /dev/cdrom

Re: I can eject a mounted CD

2001-04-18 Thread Giuliano Pochini
>> > /dev/cdrom/mnt/cdromautonoauto,user,ro0 0 >> > >> > And remove the other cdrom listing. This will allow mounting any >> > supported format and eliminate the duel support for one device. >> >> That's not the point. The kernel should not allow someone to >> eject a

Re: I can eject a mounted CD

2001-04-17 Thread Alan Cox
> > /dev/cdrom/mnt/cdromautonoauto,user,ro0 0 > > > > And remove the other cdrom listing. This will allow mounting any > > supported format and eliminate the duel support for one device. > > That's not the point. The kernel should not allow someone to > eject a mounte

Re: I can eject a mounted CD

2001-04-17 Thread Giuliano Pochini
> > My fstab: > > > > /dev/cdrom /mnt/cdrom iso9660 > > noauto,user,ro 0 0 > > /dev/cdrom /mnt/cdmac hfs > > noauto,user,ro 0 0 > > Change your fstab to read instead: > > /dev/cdrom/mnt/cdromautonoau