Raw devices "the debian way"
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Raw devices "the debian way"




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Raw devices "the debian way"  
Mau


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-26-05 10:46 PM

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





[ Post a follow-up to this message ]



    Re: Raw devices "the debian way"  
Mau


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-01-05 10:46 PM

...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





[ Post a follow-up to this message ]



    Re: Raw devices "the debian way"  
Neil Woods


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-02-05 07:46 AM

Mau <m.a-------@fastwebnet.it> writes:

> Mau wrote: 
> ...any hint...?

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.
--
Neil





[ Post a follow-up to this message ]



    Re: Raw devices "the debian way"  
Mau


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-04-05 10:47 PM

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register