[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] unmounting cdrom as user



DIPAK wrote:
> 
> "L.V.Gandhi" wrote:
> 
> > I have enabled to mount cdrom drives in fstab. While I umount i get the
> > following error msg.
> > could not unmount
> > errorlog
> > umount: /dev/hdc is not in the fstab(and you are not root)
> > what to do to umount as user.
> >
> 
> If it is getting mount as a non-root user, it must get unmounted also.
> Mounting/unmounting is working properly in redhat 5.2 (from non-root user
> also).
> 
> /dev/hbc (cdrom drive in u're case) must be linked to /dev/cdrom.  If
> /dev/cdrom appears in fstab file, it is sufficient to mount/unmount a cdrom
> drive.
> 
> Please send fstab file and output of  "ls -l /dev/cdrom " for more details.

lrwxrwxrwx   1 root     root            3 Jul  5 11:04 /dev/cdrom -> hdc

fstab file is 
/dev/hda6               /                       ext2    defaults       
1 1
/dev/hda1               /winc                   vfat    defaults       
0 0
/dev/hda5               /wind                   vfat    defaults       
0 0
/dev/hda7               swap                    swap    defaults       
0 0
/dev/fd0                /mnt/floppy             ext2    noauto,user    
0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,user,ro 
0 0

as required by you i have given the details. Please tell me what to do?  
- -- 
L.V.Gandhi
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
http://www.poboxes.com/lvgandhi  lvgandhi@xxxxxxxxxxx, 
lvgandhi@xxxxxxxx,  31882656@xxxxxxxxxxxxxxxxxxx


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------