You are not logged in.

#1 2005-02-21 19:08:15

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

[SOLVED] Kernel creates 4 /dev files for 1 device

I have an external dual-layer DVD writer which is pretty nice recognized.

I have UDEV and here are the following files created :
/dev/cdrom
/dev/cdrw
/dev/dvd
/dev/dvdrw


What are the differences between these files ?

Offline

#2 2005-02-21 19:10:04

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [SOLVED] Kernel creates 4 /dev files for 1 device

they're all links to the same file - /dev/cdroms/cdrom0
they're all 100% identical (do an "ls -l" and it should show where it points to)
they only reason they're there is so the user and programs can understand things a bit better.... just naming, really

Offline

#3 2005-02-21 20:20:56

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: [SOLVED] Kernel creates 4 /dev files for 1 device

Oh thanks for the tip :-)

Actually the 4 symlinks are pointing to the same device : /dev/scd0

I think I'm gonna use the /dev/cd symlink ( shorter to type lol )

Yes, I'm lazy...

Offline

#4 2005-02-21 20:24:15

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [SOLVED] Kernel creates 4 /dev files for 1 device

jerem wrote:

Actually the 4 symlinks are pointing to the same device : /dev/scd0

ah yeah, /dev/cdroms/cdrom0 should point there as well...

Offline

Board footer

Powered by FluxBB