Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 1999 17:33:35 +0800 (WST)
From:      Michael Kennett <mike@laurasia.com.au>
To:        johpe159@student.liu.se (Johan Pettersson)
Cc:        freebsd-questions@FreeBSD.ORG (freebsd-questions@FreeBSD.ORG)
Subject:   Re: device name ?
Message-ID:  <199909170933.RAA12072@laurasia.com.au>
In-Reply-To: <37E1EB35.D4778C98@student.liu.se> from Johan Pettersson at "Sep 17, 1999 09:18:13 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello!
> 
> I don't understand how fbsd name thier dev.
> From dmesg
>
[ dmesg dump cut ] 
> acd0: drive speed 4134KB/sec, 1024KB cache
> acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
> acd0: supported write types: CD-R, CD-RW, test write
> 
> A nice fellow named ken helped me to mount the cd-rw.
> mount_cd9660 /dev/wcd0c /mnt
>                                         ^^^^^
> How do you read that from dmesg ?
> I have installed a cdrom-player,
> so I tried mount_cd9660 /dev/wcd1c /mnt , but it din't work =)
> Can someone xplain how to read dmesg ( device names) ?
> 
> //thx Johan

Hi Johan,

It's a good question that you've asked. Have a look in the /dev/ directory
for the wcd* devices. On my system, I have

   /dev/wcd0a  ->   acd0a
   /dev/wcd0c  ->   acd0c

i.e These are symbolic links to the 'true' name of the CD device.

So to mount your other CD-ROM drive, you would enter:

mount -t cd9660 /dev/acd1c /mnt

As you've noticed, the /dev/acd1 device appears in your dmesg output.

Alternatively, you could create the symbolic links wcd1a/c in the /dev
directory (I don't like that, however, as I feel it is better to refer to
the `true' device name)

Regards,

Mike Kennett.
(mike@laurasia.com.au)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909170933.RAA12072>