LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2003, 05:01 PM   #1
rikkulinux
Member
 
Registered: Jun 2003
Location: San Diego, CA
Distribution: Debian 3.0rl "Woody"
Posts: 41

Rep: Reputation: 15
??? cdrom and floppy mounting


How do I enable users to mount cdroms and floppys. I can't seem to get it to work even though I list user in the etc/fstab....? When I try to mount as a user, it says "only root can do that".

Also, will setting mount to auto automatically mount the cdrom/floppy during start up for both root and user logins, so that I don't have to 'mount' it?

Thanks,
rikkulinux
 
Old 08-11-2003, 05:36 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Code:
/dev/hdc         /mnt/dvd         auto        noauto,users,ro  0   0
/dev/sr0         /mnt/cdrw        auto        noauto,users     0   0
/dev/fd0         /mnt/floppy      auto        noauto,users     0   0
I've posted this before but if I do 'mount /dev/fd0 /mnt/floppy' I get 'only root can do that' due to accessing the device directly, I guess. If it's in /etc/fstab, you don't need to specify the device and can just do 'mount /mnt/floppy' and it works. Don't know if that's what you're doing or not.

And, yeah, putting auto in column 4 will mount those into your filesystem at boot. You'd still have to umount and mount when you wanted to switch, though. And it will obey fstab so if a user can umount them ordinarily, then they can with auto. Except that the script that initializes the mount is probably run with root privileges, so user can't unmount root's device. Maybe some guru will have a solution for that or maybe I'm just wrong. Try it and see.

Last edited by slakmagik; 08-11-2003 at 05:37 PM.
 
Old 08-13-2003, 04:57 PM   #3
rikkulinux
Member
 
Registered: Jun 2003
Location: San Diego, CA
Distribution: Debian 3.0rl "Woody"
Posts: 41

Original Poster
Rep: Reputation: 15
That seemed to work: 'mount /mnt/floppy'.

Thanks,
Matt
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with mounting floppy and cdrom tyranus Debian 20 09-03-2005 07:56 AM
redhat 9, cdrom not mounting, floppy as well dtra Linux - Newbie 2 11-15-2004 05:46 AM
mounting cdrom and floppy jimdene Mandriva 22 09-10-2003 12:00 AM
mounting floppy and cdrom drive jcb_dreamvsat Linux - Newbie 8 06-22-2003 10:31 AM
Needing help with mounting cdrom and floppy voitel Linux - Software 6 07-13-2001 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration