public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] fstab
@ 2006-03-22 19:52 contiemilio
  2006-03-22 20:13 ` Hemmann, Volker Armin
  2006-03-22 20:17 ` Keats
  0 siblings, 2 replies; 7+ messages in thread
From: contiemilio @ 2006-03-22 19:52 UTC (permalink / raw
  To: gentoo-user

Hi all. It's me, again.
I have set my /etc/fstab following the instractions of the Handbook. In the 
example there is this entry:

/dev/cdroms/cdrom0       /mnt/cdrom     auto   noauto,user    0  0

To-day I discovered that there is no /cdroms subdirectory in /dev directory.

Is it a bug either of the handbook or of my system?

Thank you a lot.
emilio

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] fstab
  2006-03-22 19:52 [gentoo-user] fstab contiemilio
@ 2006-03-22 20:13 ` Hemmann, Volker Armin
  2006-03-22 20:17 ` Keats
  1 sibling, 0 replies; 7+ messages in thread
From: Hemmann, Volker Armin @ 2006-03-22 20:13 UTC (permalink / raw
  To: gentoo-user

On Wednesday 22 March 2006 20:52, contiemilio@virgilio.it wrote:
> Hi all. It's me, again.
> I have set my /etc/fstab following the instractions of the Handbook. In the
> example there is this entry:
>
> /dev/cdroms/cdrom0       /mnt/cdrom     auto   noauto,user    0  0
>
> To-day I discovered that there is no /cdroms subdirectory in /dev
> directory.
>
> Is it a bug either of the handbook or of my system?

that is not a bug. That is a leftover from devfs.
Just change to /dev/hdc or whatever your cdrom is.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] fstab
  2006-03-22 19:52 [gentoo-user] fstab contiemilio
  2006-03-22 20:13 ` Hemmann, Volker Armin
@ 2006-03-22 20:17 ` Keats
  2006-03-22 20:43   ` AJ Spagnoletti
  2006-03-23 21:08   ` [gentoo-user] fstab James
  1 sibling, 2 replies; 7+ messages in thread
From: Keats @ 2006-03-22 20:17 UTC (permalink / raw
  To: gentoo-user

On Wed, 22 Mar 2006 20:52:43 +0100
contiemilio@virgilio.it wrote:

> Hi all. It's me, again.
> I have set my /etc/fstab following the instractions of the Handbook. In the 
> example there is this entry:
> 
> /dev/cdroms/cdrom0       /mnt/cdrom     auto   noauto,user    0  0

you have to know the device of your cdrom 
generaly it's a secondary master ide 
/dev/hdc 
so set fstab to : 
/dev/hdc /mnt/cdrom     auto   noauto,user    0  0

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] fstab
  2006-03-22 20:17 ` Keats
@ 2006-03-22 20:43   ` AJ Spagnoletti
  2006-03-23 21:08   ` [gentoo-user] fstab James
  1 sibling, 0 replies; 7+ messages in thread
From: AJ Spagnoletti @ 2006-03-22 20:43 UTC (permalink / raw
  To: gentoo-user

> you have to know the device of your cdrom
> generaly it's a secondary master ide
> /dev/hdc
> so set fstab to :
> /dev/hdc /mnt/cdrom     auto   noauto,user    0  0
>
> --
> gentoo-user@gentoo.org mailing list
>
>
On my system (I am using udev) There are two symlinks created in /dev
for my cdroms that point to the two cd drives hdc and hdd

rubiks120@Dragon /dev $ ls -l cdrom*
lrwxrwxrwx  1 root root 3 Mar 22 09:24 cdrom -> hdc
lrwxrwxrwx  1 root root 3 Mar 22 09:24 cdrom1 -> hdd

So the symlinks on my system are /dev/cdrom and /dev/cdrom1. In your
fstab you can use /dev/cdrom /mnt/cdrom auto noauto,user 0 0
Hope this helps.

AJ

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user]  Re: fstab
  2006-03-22 20:17 ` Keats
  2006-03-22 20:43   ` AJ Spagnoletti
@ 2006-03-23 21:08   ` James
  2006-03-23 21:22     ` Keats
  2006-03-23 22:29     ` Neil Bothwick
  1 sibling, 2 replies; 7+ messages in thread
From: James @ 2006-03-23 21:08 UTC (permalink / raw
  To: gentoo-user

Keats <neokeats <at> wanadoo.fr> writes:


> > I have set my /etc/fstab following the instractions of the Handbook. In the 
> > example there is this entry:
> > 
> > /dev/cdroms/cdrom0       /mnt/cdrom     auto   noauto,user    0  0

> you have to know the device of your cdrom 
> generaly it's a secondary master ide 
> /dev/hdc 
> so set fstab to : 
> /dev/hdc /mnt/cdrom     auto   noauto,user    0  0


Interest, I gues I missed this upgrading to udev, some time ago.
One one system I both  cd/DVDrom and a dvdrw dual layer. The NEC
3550A is a dual layer DVD RW which also support many CD & DVD 
formats.

grepping the dmesg file I see both devices:

ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA
hdc: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
and
  
hdd: CDU5211, ATAPI CD/DVD-ROM drive
hdd: ATAPI 52X CD-ROM drive, 120kB Cache, UDMA(33)


so I should make my /etc/fstab look like this?

/dev/hdc /mnt/?????    auto   noauto,user    0  0
/dev/hdd /mnt/cdrom    auto   noauto,user    0  0

I also have hal/ivman/dbus  installed.

sometimes ejecting media from the command line is a challege.


James





-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user]  Re: fstab
  2006-03-23 21:08   ` [gentoo-user] fstab James
@ 2006-03-23 21:22     ` Keats
  2006-03-23 22:29     ` Neil Bothwick
  1 sibling, 0 replies; 7+ messages in thread
From: Keats @ 2006-03-23 21:22 UTC (permalink / raw
  To: gentoo-user

Le jeudi 23 mars 2006 à 21:08 +0000, James a écrit :

> so I should make my /etc/fstab look like this?
> 
> /dev/hdc /mnt/?????    auto   noauto,user    0  0
> /dev/hdd /mnt/cdrom    auto   noauto,user    0  0

mkdir /mnt/cdrom2
/dev/hdc /mnt/cdrom2    auto   noauto,user    0  0
/dev/hdd /mnt/cdrom    auto   noauto,user    0  0

:)


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user]  Re: fstab
  2006-03-23 21:08   ` [gentoo-user] fstab James
  2006-03-23 21:22     ` Keats
@ 2006-03-23 22:29     ` Neil Bothwick
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2006-03-23 22:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

On Thu, 23 Mar 2006 21:08:33 +0000 (UTC), James wrote:

> so I should make my /etc/fstab look like this?
> 
> /dev/hdc /mnt/?????    auto   noauto,user    0  0
> /dev/hdd /mnt/cdrom    auto   noauto,user    0  0
> 
> I also have hal/ivman/dbus  installed.

If you use ivman (or KDE's HAL-based media handling) you don't need
anything in fstab, unless you want to override the mount points used by
ivman.


-- 
Neil Bothwick

PROSTITUTE: Receiver of swollen goods.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-23 23:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 19:52 [gentoo-user] fstab contiemilio
2006-03-22 20:13 ` Hemmann, Volker Armin
2006-03-22 20:17 ` Keats
2006-03-22 20:43   ` AJ Spagnoletti
2006-03-23 21:08   ` [gentoo-user] fstab James
2006-03-23 21:22     ` Keats
2006-03-23 22:29     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox