OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Adding /dev/cd0a to /etc/fstab

From: Andreas Kähäri (akfreeshell.org)
Date: Tue Jul 08 2003 - 15:12:30 CDT


On Tue, Jul 08, 2003 at 02:56:47PM -0500, Chris wrote:
> Is it possible to add a line to /etc/fstab to reflect the cdrom?
>
> IE: /dev/cd0a /mnt/cdrom cd9660 ro,nodev 1 2
>
> Would this work?

You probably want 'noauto' as an option as well, and the cdrom
is usually /dev/cd0c (on i386 at least). The fifth and sixth
fields are usually not neccesary at all for a CDROM device (see
fstab(5)). My line looks like this:

/dev/cd0c /cdrom cd9660 ro,nodev,nosuid,noauto

The choice of mount point is arbitrary.

Andreas

--
Andreas Kähäri
Essex, England