LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2007, 02:11 PM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
using flash drive changes device /dev/sr0 to /dev/sr1 for mapping to /dev/pktcdvd/0?


Installed udf packet writing to external, USB DVD+RW. Works allright except after using memory stick in the USB hole - it only has one hole (into each life ....) After doing this the drive's device name changes from /dev/sr0 to /dev/sr1, I think.

Since the computer thinks that /dev/pktcdvd/0, the packet writing special device, is mapped to /dev/sr0 package writing no longer works. This can be remedied by re-booting.

Is there a more convenient way of getting package writing back than rebooting. Tried, on the off chance, MAKEDEV; it makes /dev/.static/pckcdvd0, etc..

If the answer has something to do with pktsetup, this does not seem to work - trying 'pktsetup /dev/pktcdvd/0 /dev/sr0' or some variant of this gives ioctl: Inappropriate ioctl for device. When the pktcdvd0 device is created. Thanks any help.
 
Old 08-31-2007, 08:21 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would think your best bet would be to write some udev rules for the devices, so they always get the same device name..

http://reactivated.net/writing_udev_rules.html
 
Old 09-01-2007, 09:35 AM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by farslayer View Post
I would think your best bet would be to write some udev rules for the devices, so they always get the same device name..

http://reactivated.net/writing_udev_rules.html
Thanks, you're probably right but it sounds like hard work. Anyway I'll read the link, thanks again.
 
Old 10-24-2007, 11:27 AM   #4
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Something like:

# /something/init.d/udftools start

does it, i.e. the thing that runs on startup.

Using a soft-link, courtesy of udev that always points to the DVD/RW doesn't. Do not know why.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/cdrom links to /dev/sg0 instead of /dev/sr0 -why? Yalla-One Slackware 3 10-01-2006 08:02 PM
/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? b0nd Slackware 2 04-02-2006 09:14 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 08:11 PM
how does one configure udev to create /dev/pktcdvd/pktcdvd*? behmjoe Linux - Newbie 3 04-04-2005 01:49 PM
external cdrw assigned to /dev/uba instead of /dev/sr0 gchew Slackware 0 11-14-2004 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration