Subject: Re: Mount cdrom drive?
To: Asterius Pandoras <asterius@airpost.net>
From: Gilbert Fernandes <gilbertf@netbsd-fr.org>
List: netbsd-help
Date: 06/09/2004 13:20:56
On Tue, Jun 08, 2004 at 03:38:44PM -0700, Asterius Pandoras wrote:

> I'm trying to compile LTmodem driver, and before doing this discovered
> that my usual mount -t iso9660 /dev/cdrom /home doesn't work with NetBSD.
> Apperently cdrom is called other bad name in NetBsd. So, how one does it?
> thanks in advance.

we use cd. check your dmesg first :

dmesg | grep cd

numbering starts at 0 so you can have cd0, cd1 and so on.

then insert a cd and check with disklabel :

disklabel cd0

then it's just mouting it. on my own system i use :

mount /dev/cd0d /mnt

you can create folders in mnt, for cdrom
if the cdrom is iso9660 you do not need to specify
it, while you can :)

(it's the d letter on my example because c and d are
reserved. c is for the whole netbsd part on a disk,
and d is the whole disk itself - so cd0d really means
cd0, whole disk which is 'd').

Have fun on NetBSD :)

-- 
Gilbert Fernandes