Re: My CD and DVD are messed up

2011-07-03 Thread T o n g
On Sun, 03 Jul 2011 15:51:56 +, Camaleón wrote: >> I put them in another file, /etc/udev/rules.d/71-my-cd.rules, but how >> would I overwrite the settings in /etc/udev/rules.d/70 -persistent- >> cd.rules, which was automatically generated by the 75-cd -aliases- >> generator.rules? I.e., wouldn

Re: My CD and DVD are messed up

2011-07-03 Thread Nicolas Bercher
On 25/06/2011 19:58, lee wrote: T o n g writes: On my system the /dev/cdrom is actually DVD while My CD is actually /dev/ cdrom1. This confuse most of the media software. How can I fix it? Do you have entries about these devices in /etc/fstab? Be careful that entries in /etc/fstab are only

Re: My CD and DVD are messed up

2011-07-03 Thread Nicolas Bercher
On 28/06/2011 20:48, Tom Furie wrote: Or perhaps edit /etc/udev/rules.d/70-persistent-cd.rules so that the devices get the links in /dev that he wants. Cheers, Tom I also think this is the solution because udev names devices on startup, so if you want something permanent, that's the way to do i

Re: My CD and DVD are messed up

2011-07-03 Thread Camaleón
On Sun, 03 Jul 2011 03:18:05 +, T o n g wrote: > On Sat, 02 Jul 2011 16:06:23 +, Camaleón wrote: > >> just read Debian udev the docs to follow the instructions. > > Hi Camaleón, > > Thanks for your reply. However, I was having a hard time trying to find > what you meant by "Debian udev

Re: My CD and DVD are messed up

2011-07-02 Thread T o n g
On Sat, 02 Jul 2011 16:06:23 +, Camaleón wrote: > just read Debian udev the docs to follow the instructions. Hi Camaleón, Thanks for your reply. However, I was having a hard time trying to find what you meant by "Debian udev the docs". All that I found are bit and pieces here and there. W

Re: My CD and DVD are messed up

2011-07-02 Thread Camaleón
On Sat, 02 Jul 2011 14:37:35 +, T o n g wrote: > On Tue, 28 Jun 2011 17:07:08 +, Camaleón wrote: > >>> On my system the /dev/cdrom is actually DVD while My CD is actually >>> /dev/ cdrom1. >> >> That does not match with a "correct" fstab file. >> >> Your primary device (dvd?) should poi

Re: My CD and DVD are messed up

2011-07-02 Thread Brian
On Sat 02 Jul 2011 at 14:37:35 +, T o n g wrote: > BTW, that document is about 5 years old now, and my Debian doesn't have > commands like udevtrigger, udevcontrol and udevtest for udev rules > testing and debugging and more. > > What are the equivalents for them? udevadm(8) or use the co

Re: My CD and DVD are messed up

2011-07-02 Thread T o n g
Hi, Thanks everyone for the follow ups. Sorry for responding late. On Tue, 28 Jun 2011 17:07:08 +, Camaleón wrote: >> On my system the /dev/cdrom is actually DVD while My CD is actually >> /dev/ cdrom1. > > That does not match with a "correct" fstab file. > > Your primary device (dvd?) s

Re: My CD and DVD are messed up

2011-06-29 Thread Camaleón
On Tue, 28 Jun 2011 20:23:21 +0100, Tom Furie wrote: > On Tue, Jun 28, 2011 at 06:55:48PM +, Camaleón wrote: (...) >> Indeed, is not under any "/dev/disk/*" node. Udev creates a symbolic >> link /dev/sdc* which points to /dev/sr*. > > Are you sure it isn't under /dev/disk/by-path/? Let me

Re: My CD and DVD are messed up

2011-06-28 Thread Tom Furie
On Tue, Jun 28, 2011 at 06:55:48PM +, Camaleón wrote: > Let's see: > > sm01@stt008:~$ ls -l /dev/disk/by-uuid/* > lrwxrwxrwx 1 root root 10 jun 28 07:56 > /dev/disk/by-uuid/c6454fe5-20a5-4a58-bbdd-2f2c52dd5ca2 -> ../../sda3 > lrwxrwxrwx 1 root root 10 jun 28 07:56 > /dev/disk/by-uuid/cabbc0

Re: My CD and DVD are messed up

2011-06-28 Thread Camaleón
On Tue, 28 Jun 2011 20:32:28 +0200, lee wrote: > Camaleón writes: > >> Your primary device (dvd?) should point to "/dev/cdrom0" and secondary >> (cd-rom?) to "/dev/cdrom1". > > How does the system decide what the "primary device" and the "secondary > device" are supposed to be? That used to

Re: My CD and DVD are messed up

2011-06-28 Thread Tom Furie
On Tue, Jun 28, 2011 at 08:32:28PM +0200, lee wrote: > Perhaps the OP can figure out which devices he has, which is which, make > appropriate entries in /etc/fstab and hope that the order of devices > doesn't change? Or perhaps edit /etc/udev/rules.d/70-persistent-cd.rules so that the devices get

Re: My CD and DVD are messed up

2011-06-28 Thread lee
Camaleón writes: > Your primary device (dvd?) should point to "/dev/cdrom0" and secondary > (cd-rom?) to "/dev/cdrom1". How does the system decide what the "primary device" and the "secondary device" are supposed to be? It seems to me that, to the system, DVD drives look very much like CD drive

Re: My CD and DVD are messed up

2011-06-28 Thread Camaleón
On Tue, 28 Jun 2011 16:51:29 +, T o n g wrote: > On Tue, 28 Jun 2011 13:01:04 +, Camaleón wrote: >>> Yes, I correct them in "/etc/fstab", but the problem at the device >>> level still exist, which confuses most of the media software that >>> accessing directly through device level, not at

Re: My CD and DVD are messed up

2011-06-28 Thread T o n g
On Tue, 28 Jun 2011 13:01:04 +, Camaleón wrote: > On Mon, 27 Jun 2011 22:22:59 +, T o n g wrote: > >> On Sat, 25 Jun 2011 17:49:24 +, Camaleón wrote: >> On my system the /dev/cdrom is actually DVD while My CD is actually /dev/ cdrom1. This confuse most of the media software

Re: My CD and DVD are messed up

2011-06-28 Thread Camaleón
On Mon, 27 Jun 2011 22:22:59 +, T o n g wrote: > On Sat, 25 Jun 2011 17:49:24 +, Camaleón wrote: > >>> On my system the /dev/cdrom is actually DVD while My CD is actually >>> /dev/ cdrom1. This confuse most of the media software. How can I fix >>> it? >> >> Do you have a fixed entry for

Re: My CD and DVD are messed up

2011-06-25 Thread lee
T o n g writes: > On my system the /dev/cdrom is actually DVD while My CD is actually /dev/ > cdrom1. This confuse most of the media software. How can I fix it? Do you have entries about these devices in /etc/fstab? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subj

Re: My CD and DVD are messed up

2011-06-25 Thread Camaleón
On Sat, 25 Jun 2011 15:26:07 +, T o n g wrote: > On my system the /dev/cdrom is actually DVD while My CD is actually > /dev/ cdrom1. This confuse most of the media software. How can I fix it? Do you have a fixed entry for both devices in "/etc/fstab"? If yes, you could adjust it accordingly