LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-14-2001, 05:55 PM   #1
Ransyd
LQ Newbie
 
Registered: Apr 2001
Posts: 5

Rep: Reputation: 0
Angry


When ever I try to access my floppy and cdrom, it gives me an error that I don't have access rights to those devices. I think it has something to do with the way they were mounted, what should I do?
 
Old 04-15-2001, 03:58 AM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
Cool

this is to do with the way you mount them. there is a file in the /etc/ directory called fstab (File System Table) which contains information for the mount command to tell it how to mount things. type su to become root and go to this directory and open the file.

there will be a few lines but the important ones at this point are the ones that should look something like this (but may not, depends on the distro how filesystems are set up).

/dev/fd0 /mnt/floppy auto noexec,noauto
/dev/hdc /mnt/cdrom iso9660 noexec,noauto,ro

as i said they may be slightly different, depends on how things are set up (you should of told us your distro).

neway you need to add to these two lines at the end of it (where the noexecs,noauto bit is): user
(alot of writing for such a small change sorry)

this should fix things

Alex

P.S. if it doesn;t just su to root and mount the device.
 
Old 04-16-2001, 05:17 AM   #3
Pashupathi Srinivasa
LQ Newbie
 
Registered: Apr 2001
Location: Bangalore
Posts: 8

Rep: Reputation: 0
Yeah it is right.. you need to have su - to mount these devices.

They can be automounted in /etc/fstab or otherwise
to mount floppy -

mount -t msdos /dev/fd0 /mnt/floppy (incase of dos formatted floppies) or
mount -t autofs /dev/fd0 /mnt/floppy (in case of others)

In the same fashion you can mount your cdrom as ..

mount /mnt/cdrom (if it is already specified in fstab)
or
mount -t iso9660 /dev/hdc1 /mnt/cdrom

That should work. Yeah in few distro's you will find directories 'floppy' and 'cdrom' in the root itself instead of /mnt directory. All you have to do is to specify the correct path!

Pashupathi Srinivasa.
 
  


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 On
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
no floppy/cdrom install problems crash_happy Slackware 8 11-02-2004 12:57 AM
Floppy and CDRom subaruwrx Slackware 1 06-15-2004 05:43 AM
CDROM and Floppy Smooth Linux - Newbie 1 07-19-2003 07:03 AM
Busy CDROM, shutdown problems & floppy format jefftrwmy Linux - Newbie 1 04-16-2002 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:44 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