Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdr and dvdr in fstab
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
alejo
n00b
n00b


Joined: 07 Nov 2004
Posts: 51

PostPosted: Tue Nov 16, 2004 5:11 am    Post subject: cdr and dvdr in fstab Reply with quote

Hello.

I recently installed gentoo in my box, and I've been trying to figure out what do I need to add in my /etc/fstab file to have both my cd-r and my dvd-r mounted when I start the system.
When gentoo loads, it shows the cd-r as hdd and the dvd-r as hdc.
Could any one please help me out with this.

My /etc/fstab is shown below.

thank you

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
/dev/hdc /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs nodev,nosuid,noexec 0 0
none /proc/bus/usb usbfs defaults 0 0
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Nov 16, 2004 9:33 am    Post subject: Re: cdr and dvdr in fstab Reply with quote

alejo wrote:
/dev/hdc /mnt/cdrom auto noauto,user 0 0
Remove noauto and make a similar line for /dev/hdd. Are you sure you want your CDs mounted every time you boot?
Back to top
View user's profile Send private message
alejo
n00b
n00b


Joined: 07 Nov 2004
Posts: 51

PostPosted: Tue Nov 16, 2004 8:37 pm    Post subject: cdr and dvdr Reply with quote

I assumed that I had to created a similar line for hdd, but, if I say /mnt/cdrom, will my drives be mounted as cdrom drives, or will they actually be mounted as a cd-burner and a dvd-burner?

Is there anything else I need to modify to make them load as burners and not just as regular cdroms?

Thanks for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum