|
Home > Archive > Linux Debian support > April 2005 > Raw devices "the debian way"
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Raw devices "the debian way"
|
|
|
| Hi folks
I'm new to Debian: 2 weeks ago I migrated my box from Mandrakelinux to Sid.
I'm trying to set up the raw devices for use with my dvd-r drive and I
can't find any useful resource on the web.
As I'm using a 2.6.x kernel my /dev is managed by udev; invoking
# MAKEDEV raw
creates the devices under /dev/.static/dev/
What's the most correct way to setup raw devices with Debian? Do I have
to write a script under /etc/udev/scripts/ or so?
Can you point me to some useful resources about this?
Thanks, Maurizio
| |
|
| ....any hint...?
Mau wrote:
> Hi folks
>
> I'm new to Debian: 2 weeks ago I migrated my box from Mandrakelinux to Sid.
>
> I'm trying to set up the raw devices for use with my dvd-r drive and I
> can't find any useful resource on the web.
>
> As I'm using a 2.6.x kernel my /dev is managed by udev; invoking
>
> # MAKEDEV raw
>
> creates the devices under /dev/.static/dev/
>
> What's the most correct way to setup raw devices with Debian? Do I have
> to write a script under /etc/udev/scripts/ or so?
>
> Can you point me to some useful resources about this?
>
> Thanks, Maurizio
| |
|
|
|
| Neil Woods wrote:
> Read the FAQs, if you haven't done so already:
>
> <URL:http://www.kernel.org/pub/linux/uti...otplug/udev-FAQ>
> <URL:http://www.kernel.org/pub/linux/uti...tplug/udev.html>
>
> Writing udev rules:
>
> <URL:http://www.reactivated.net/udevrules.php>
>
> This latter contains specific hints about setting up DVD drives, etc.
>
> Disclaimer: I don't use udev (yet), I'm still using devfs, despite the
> fact that devfs is now deprecated. Anyway, hope this is of some help.
I've read those documents, but if is true that udev works for any device
appearing in the sysfs tree, well, then only the /dev/rawctl device can
be created, because the single raw devices do appear in the sysfs tree
only after association with a block devices by means of the raw command,
and to be able to do this the /dev/raw/raw* devices need to be created
in advance, by hand.
Is this correct?
Thanks
Maurizio
|
|
|
|
|