LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-03-2004, 08:19 PM   #1
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
fstab questions


i think this is a very good question that i have not been able to secure a satisfactory answer for quite some time.....

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda5       /               reiserfs defaults        0       1
/dev/hda1       /boot           reiserfs defaults        0       2
/dev/hda6       /opt            reiserfs defaults        0       2
/dev/hda7       /var            reiserfs defaults        0       2
/dev/hda8       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/hdd        /media/cdrom1   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
however..../media/cdrom0...is a symbolic link that i assume should point to /media/cdrom....howvever using the debian-installer...it points to nothing ...

there is no folder cdrom in the media directory....same for cdrom1etc

i commented out the /dev/hdc line and replaced it with
Code:
/dev/hdc        /mnt/cdrom0	iso9660	defaults,ro,user,noexec,noauto  0       0
with this change all cdroms inserted in the drive while under GNOME automount whereas before i had to mount them manually after setting up the mount point /mnt/cdrom.....

is this a flaw or if not.....why is the debian installed fstab file setup that way...
 
Old 10-03-2004, 08:30 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
I have them in mine and I didn't put them there,some kind of bug?I did the linux26 expert unstable install about a week ago and the problem I had was with the mouse (psmouse and devmouse) took me some searching to get x to work?
 
Old 10-03-2004, 08:33 PM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by comprookie2000
I have them in mine and I didn't put them there,some kind of bug?I did the linux26 expert unstable install about a week ago and the problem I had was with the mouse (psmouse and devmouse) took me some searching to get x to work?
i had the mouse problem when i upgrade to 2.6.8 but resolve it my placing
mousedev
psmouse

in etc/modules

 
Old 10-03-2004, 08:37 PM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
My debian install did things the other way around - /media/cdrom is a symlink that points to /media/cdrom0. How can a symlink point to nohing? It must point to something, even if that destination doesn't exist. ls -l will show the destination if it is a symlink.
 
Old 10-03-2004, 08:47 PM   #5
res0r9lm
LQ Newbie
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 20

Rep: Reputation: 0
Wouldn't it be better to use /dev/cdroms/cdrom0 instead of /dev/hdc. If you ever install a 3rd harddrive that would become /dev/hdc but /dev/cdroms/cdrom0 will always be your first cdrom
 
Old 10-03-2004, 09:00 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
According to the old standard cdrom devices were mounted under /mnt/ (for exaple, /mnt/cdrom/) but the current standard recommends mounting them under /media/ (because cdroms are considered to be "removable media").

http://www.tldp.org/LDP/Linux-Filesy...chy.html#media

For further info on the symlinks you should run "dpkg-reconfigure discover1" (replace "discover1" with "discover" if you're using the latest version of Discover) and read carefully the help instructions it offers.

Last edited by Dead Parrot; 10-03-2004 at 09:08 PM.
 
Old 10-03-2004, 10:17 PM   #7
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
thank dead parrot....
although i had everthing working with /mnt/cdrom.....i am glad to
be able to hae it function properly as suggested....
btw...i used discover1......and it worked fine...
 
Old 10-03-2004, 10:19 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
I just installed with the new installer on a box for my sister and everything went smooooth!
 
Old 10-04-2004, 12:27 AM   #9
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by comprookie2000
I just installed with the new installer on a box for my sister and everything went smooooth!
i have try the installer and works fine for me....other than the cdrom thingy which i resolved finally...seems that i did not complete the discover1 routines properly....lol....human error...lol..not debians......
 
Old 10-04-2004, 09:34 AM   #10
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
this may be off subject, but i installed discovery (it removed discovery1) and i too had those lines in my fstab, but i changed my line to read thus:

Code:
/dev/cdrom      /cd		iso9660 defaults,ro,user,noexec 0       0
however, when i put in a cd, it does not auto mount. how do i get it to automount and put an icon on the desktop? i also use the Devices applet on the kicker panel in KDE 3.3
 
  


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
Permissions: Fstab and some other mounting questions azzurro Slackware 13 08-07-2004 10:30 PM
fstab questions dehuszar Linux - Newbie 4 08-04-2003 02:32 PM
RedHat 9: Modem, Soundcard, fstab questions pal_o_matic Linux - Newbie 9 07-31-2003 09:41 AM
fstab for RH 8.0 and other questions... rivethead Linux - Software 1 01-05-2003 04:47 PM
Installing new harddisks...Questions about filesystems, labels and fstab needamiracle Linux - Hardware 5 09-23-2002 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration