Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do make /dev/dvd with devfsd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
_SkeLeToN_
Guru
Guru


Joined: 12 Sep 2002
Posts: 506
Location: Montreal,Canada

PostPosted: Tue Oct 01, 2002 2:27 am    Post subject: how do make /dev/dvd with devfsd Reply with quote

I recently emerge xine and i know its use /dev/dvd to acces to the dvd drive.

Now there is no /dev/dev into /dev.

I look in the /etc/devfs.conf and find a section for dvd.

I uncomment and put the cdroms1 to cdrom0 because my dvd is also my cdrom and I reboot the computer. I still dont have /dev/dvd ? how do you make the symlink ?? i know I can do it manualy but devfs will remove it after a reboot right ?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Oct 01, 2002 3:52 am    Post subject: Reply with quote

First Google result turned up [gentoo-newbies] DVD/CD-RW on Toshiba Satellite. I'd think the process would be similar.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
_SkeLeToN_
Guru
Guru


Joined: 12 Sep 2002
Posts: 506
Location: Montreal,Canada

PostPosted: Tue Oct 01, 2002 6:16 pm    Post subject: Reply with quote

I checked your link kanuslupus but that doesn't help much ...

I also try to search into this forum without luck.

here in my /etc/devfs.conf

# Create /dev/cdrom for the first cdrom drive
LOOKUP ^cdrom$ CFUNCTION GLOBAL mksymlink cdroms/cdrom0 cdrom
REGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom
UNREGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL unlink cdrom

Now the section for the dvd :

# Create /dev/dvd for the second cdrom drive
# (change 'cdroms/cdrom1' to suite your setup)
# NOTE: We add the fully qualified path here, else some apps # have problems to resolve the true device (drip comes to mind)
LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink cdroms/cdrom0 dvd
REGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL mksymlink $devname dvd
UNREGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL unlink dvd

the device is the same for cdrom and dvd since I only have a dvd.

I change the dvd portion a little bit to look the same as the cdrom but still no luck.

what am I doing wrong??

ps: dunno if its only me but quote and code give me an undefined when I try to finish a quote or code or by the alt+b alt+q.

undefined
Back to top
View user's profile Send private message
daos
n00b
n00b


Joined: 18 Apr 2002
Posts: 50
Location: Virginia, USA

PostPosted: Wed Oct 02, 2002 8:36 pm    Post subject: Reply with quote

You don't see the /dev/dvd until you put a DVD in the drive, then the /dev/dvd will appear.
Back to top
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Wed Oct 02, 2002 10:03 pm    Post subject: Reply with quote

My symlinks don't disapear from /dev (yes, I'm using devfs). Nor do I do anything special to create them.

Also, I just changed xine's settings so it doesn't look for /dev/dvd, instead it just points to /dev/cdroms/cdrom0

Works perfectly.
Back to top
View user's profile Send private message
_SkeLeToN_
Guru
Guru


Joined: 12 Sep 2002
Posts: 506
Location: Montreal,Canada

PostPosted: Wed Oct 02, 2002 10:18 pm    Post subject: Reply with quote

daos thx you were right. I never try until I saw the dvd link. Thanks for the info.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum