LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-14-2011, 03:33 PM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
correct fstab entry for two disc drives, internal and external


Having some trouble getting this right. My laptop has an internal disc drive, and I have an external drive. I want the internal to always mount to /mnt/cdrom0, and the external to always mount to /mnt/cdrom1.

I'm not really sure where to proceed from here. I can add harddrives without much trouble in the fstab, but these two disc drives are confusing me lol

I want each one to have to be manually mounted, but I want the user to be able to mount and not just root. Both need to be capable of writing discs with full access to the user.

And, is there a gui tool available somewhere to simplify this kind of thing? I don't mind editing my files manually but the fstab is just a headache for me.

Thanks for any help
 
Old 01-14-2011, 03:45 PM   #2
TheCrow33
Member
 
Registered: Aug 2009
Posts: 81

Rep: Reputation: 8
add something like this to your fstab:

/dev/cdrom0 /mnt/cdrom0 auto users,rw 0 0
/dev/cdrom1 /mnt/cdrom1 auto users,rw 0 0


I am assuming all normal users (not root) are included in the 'users' group with this example. Then to mount it, even as a normal user, you can just use 'mount -a'.
 
Old 01-14-2011, 04:11 PM   #3
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by TheCrow33 View Post
add something like this to your fstab:

/dev/cdrom0 /mnt/cdrom0 auto users,rw 0 0
/dev/cdrom1 /mnt/cdrom1 auto users,rw 0 0


I am assuming all normal users (not root) are included in the 'users' group with this example. Then to mount it, even as a normal user, you can just use 'mount -a'.
Edit: seems to work, thanks

Last edited by Cultist; 01-14-2011 at 04:18 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fresh install of KDE4 can't see my internal/external drives pielas Slackware 2 01-22-2010 07:15 AM
entry into /etc/fstab wetnose23 Slackware 2 01-07-2006 04:30 PM
Slackware 10.1 fstab + 2 disc drives securitybreach Slackware 6 04-27-2005 03:17 PM
Correct entry for local machine in /etc/hosts Kropotkin Linux - Networking 1 11-16-2004 05:41 PM
Internal and External SCSI drives dka1 Linux - Hardware 1 03-15-2004 05:47 PM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration