Re: cd drive config
Florian Kulzer on 10/04/06 19:09, wrote: udev. It does all this for me, i.e. creates the correct symlinks, with the correct permissions etc. Some people on the list hate it for one reason or another, but here it just works! Works for me, too. I especially like udev in combination with dbus, hal and pmount, to get icons on my desktop automatically for inserted CDs, USB sticks, connected cameras, etc. Even if you don't care about the GUI stuff, have a look at pmount: It allows users to mount removable media without root having to anticipate every possible device name which might need a "user" entry in /etc/fstab. Used to be great for me too until I tried to upgrade it to work with libusb and my new handheld. If I install udev now, even what I thought was a stable old version 0.79, it causes havoc: - it makes /dev/null unwritable for users - it disables my hardware sensors in lm-sensors - it takes out my cdrom and more I suspect plus all attendant side-effects thereof. Initially I tried to get it to work following these instructions http://code.pilot-link.org/README.libusb (if interested, scroll down to the section "how do i configure these pieces..") but after that I just apt-get removed it. I need to get it going though because otherwise I won't be able to synch my handheld (my old one as well as the new one!) Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
Wackojacko wrote: Adam Hardy wrote: Surely there exists a config script or prog that I can run to set this kind of stuff up when I change a piece of hardware? Since it's part of the original initial configuration installation process, it must already exist in some context at least. Thanks Adam udev. It does all this for me, i.e. creates the correct symlinks, with the correct permissions etc. Some people on the list hate it for one reason or another, but here it just works! Works for me, too. I especially like udev in combination with dbus, hal and pmount, to get icons on my desktop automatically for inserted CDs, USB sticks, connected cameras, etc. Even if you don't care about the GUI stuff, have a look at pmount: It allows users to mount removable media without root having to anticipate every possible device name which might need a "user" entry in /etc/fstab. Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
Adam Hardy wrote: Surely there exists a config script or prog that I can run to set this kind of stuff up when I change a piece of hardware? Since it's part of the original initial configuration installation process, it must already exist in some context at least. Thanks Adam udev. It does all this for me, i.e. creates the correct symlinks, with the correct permissions etc. Some people on the list hate it for one reason or another, but here it just works! Regards Wackojacko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
Linas Žvirblis on 10/04/06 15:28, wrote: kscd says "CDROM read or access error / please make sure you have access permissions to /dev/cdrom" which seems to be missing the point. Are you in the "disk" group? No no no, "disk" is the wrong group. It allows raw access to hard drives, meaning that it would become really easy to mess up the entire system. The correct group to add yourself to is "cdrom". I was a bit too quick posting this. It seems that "/dev/hdc" on the said system is in fact owned by "root:disk". This is wrong nonetheless. On my system I have... ls -al /dev/hd* brw-rw 1 root disk 3, 0 2006-04-09 02:31 /dev/hda brw-rw 1 root disk 3, 1 2006-04-09 02:31 /dev/hda1 brw-rw 1 root disk 3, 2 2006-04-09 02:31 /dev/hda2 brw-rw 1 root cdrom 22, 0 2006-04-09 02:31 /dev/hdc Are you sure your "/dev/hdc" is in fact a CD-ROM? If it is, you should "chown root:cdrom /dev/hdc" and add yourself to "cdrom" group. As I have already said, being in a "disk" group is very dangerous. Yes that was exactly the problem. Muchas gracias senor. Surely there exists a config script or prog that I can run to set this kind of stuff up when I change a piece of hardware? Since it's part of the original initial configuration installation process, it must already exist in some context at least. Thanks Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
>>> kscd says "CDROM read or access error / please make sure you have access >>> permissions to /dev/cdrom" which seems to be missing the point. >> >> Are you in the "disk" group? > > No no no, "disk" is the wrong group. It allows raw access to hard > drives, meaning that it would become really easy to mess up the entire > system. The correct group to add yourself to is "cdrom". I was a bit too quick posting this. It seems that "/dev/hdc" on the said system is in fact owned by "root:disk". This is wrong nonetheless. On my system I have... ls -al /dev/hd* brw-rw 1 root disk 3, 0 2006-04-09 02:31 /dev/hda brw-rw 1 root disk 3, 1 2006-04-09 02:31 /dev/hda1 brw-rw 1 root disk 3, 2 2006-04-09 02:31 /dev/hda2 brw-rw 1 root cdrom 22, 0 2006-04-09 02:31 /dev/hdc Are you sure your "/dev/hdc" is in fact a CD-ROM? If it is, you should "chown root:cdrom /dev/hdc" and add yourself to "cdrom" group. As I have already said, being in a "disk" group is very dangerous. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
George Borisov wrote: >> kscd says "CDROM read or access error / please make sure you have access >> permissions to /dev/cdrom" which seems to be missing the point. > > Are you in the "disk" group? No no no, "disk" is the wrong group. It allows raw access to hard drives, meaning that it would become really easy to mess up the entire system. The correct group to add yourself to is "cdrom". -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
Adam Hardy wrote: > > ls -la /dev/hdc > brw-rw 1 root disk 22, 0 2004-09-18 12:51 /dev/hdc > > > and it will allow me to mount stuff as /cdrom, but I can't get music cds > to play. > > kscd says "CDROM read or access error / please make sure you have access > permissions to /dev/cdrom" which seems to be missing the point. Are you in the "disk" group? -- George Borisov DXSolutions Ltd signature.asc Description: OpenPGP digital signature
Re: cd drive config
Christopher Nelson on 09/04/06 22:41, wrote: /dev/hda6 /home ext3defaults0 2 /dev/hda5 noneswapsw 0 0 /dev/hdc/media/cdrom0 iso9660 ro,user,noauto 0 0 ^^^ /dev/fd0/media/floppy0 autorw,user,noauto 0 0 #usbfs /proc/bus/usb usbfs rw 0 0 (haven't set up the new harddrive yet). I tried mount /dev/cdrom and got this error msg: mount /dev/cdrom mount: can't find /dev/hdb in /etc/fstab or /etc/mtab ^^^ Can someone point me to the config mechanism for this? It looks like your /dev/cdrom points to /dev/hdb, which is _not_ in your /etc/fstab -- /dev/hdc is instead (as you said). You should make sure you want /dev/hdc then issue a 'ln -s /dev/hdc /dev/cdrom'. OK I shall do that now didn't get me any further with the music. I see the link in there: ls -la /dev/cdrom lrwxrwxrwx 1 root root 8 2006-04-10 13:05 /dev/cdrom -> /dev/hdc and ls -la /dev/hdc brw-rw 1 root disk 22, 0 2004-09-18 12:51 /dev/hdc and it will allow me to mount stuff as /cdrom, but I can't get music cds to play. kscd says "CDROM read or access error / please make sure you have access permissions to /dev/cdrom" which seems to be missing the point. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
On Sun, Apr 09, 2006 at 07:22:47PM +0100, Adam Hardy wrote: > I installed a new harddrive and moved the toshiba cd drive from hdb to hdc. > > I obviously need to reconfigure something because I'm unable to play > music cds or mount data cds. > > i changed /etc/fstab to this: > > # /etc/fstab: static file system information. > # > # > proc/proc procdefaults0 0 > /dev/hda1 / ext3defaults,errors=remount-ro 0 1 > /dev/hda6 /home ext3defaults0 2 > /dev/hda5 noneswapsw 0 0 > /dev/hdc/media/cdrom0 iso9660 ro,user,noauto 0 0 ^^^ > /dev/fd0/media/floppy0 autorw,user,noauto 0 0 > #usbfs /proc/bus/usb usbfs rw 0 0 > > (haven't set up the new harddrive yet). > > I tried mount /dev/cdrom and got this error msg: > > mount /dev/cdrom > mount: can't find /dev/hdb in /etc/fstab or /etc/mtab ^^^ > > Can someone point me to the config mechanism for this? It looks like your /dev/cdrom points to /dev/hdb, which is _not_ in your /etc/fstab -- /dev/hdc is instead (as you said). You should make sure you want /dev/hdc then issue a 'ln -s /dev/hdc /dev/cdrom'. -- Christopher Nelson -- [EMAIL PROTECTED] --- I've never been drunk, but often I've been overserved. -- George Gobel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
Adam Hardy a écrit, le 09.04.2006 20:22 : > I tried mount /dev/cdrom and got this error msg: > mount /dev/cdrom > mount: can't find /dev/hdb in /etc/fstab or /etc/mtab > Can someone point me to the config mechanism for this? hello, (i don't really know the the config mechanism for this) here's my etc/fstab line concerning my cdrom/dvd internal drive /dev/hdc/media/cdrom0 udf,iso9660 ro,user,noauto 0 0 - as far as i know you don't mount audio-cd but just let the program that will play them deal with it. oddly in xmms I have to point to /media/cdrom (not cdrom0) to play audio-cds. - for data cds you should (according to your fstab) either mount /dev/hdc or mount /media/cdrom0 hope this help. heho. (etch 2.6.12-1-386) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: cd drive config
On Sun, 09 Apr 2006 19:22:47 +0100 Adam Hardy <[EMAIL PROTECTED]> wrote: > I installed a new harddrive and moved the toshiba cd drive from hdb to hdc. > > I obviously need to reconfigure something because I'm unable to play > music cds or mount data cds. > > i changed /etc/fstab to this: > > # /etc/fstab: static file system information. > # > # > proc/proc procdefaults0 0 > /dev/hda1 / ext3defaults,errors=remount-ro 0 1 > /dev/hda6 /home ext3defaults0 2 > /dev/hda5 noneswapsw 0 0 > /dev/hdc/media/cdrom0 iso9660 ro,user,noauto 0 0 > /dev/fd0/media/floppy0 autorw,user,noauto 0 0 > #usbfs /proc/bus/usb usbfs rw 0 0 > > (haven't set up the new harddrive yet). > > I tried mount /dev/cdrom and got this error msg: > > mount /dev/cdrom > mount: can't find /dev/hdb in /etc/fstab or /etc/mtab > > > Can someone point me to the config mechanism for this? > > Thanks > Adam I think that would be; mount /dev/cdrom0 -- Rodney D. Myers <[EMAIL PROTECTED]> Registered Linux User #96112 ICQ#: AIM#: YAHOO: 18002350 mailman452 mailman42_5 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759 signature.asc Description: PGP signature
cd drive config
I installed a new harddrive and moved the toshiba cd drive from hdb to hdc. I obviously need to reconfigure something because I'm unable to play music cds or mount data cds. i changed /etc/fstab to this: # /etc/fstab: static file system information. # # proc/proc procdefaults0 0 /dev/hda1 / ext3defaults,errors=remount-ro 0 1 /dev/hda6 /home ext3defaults0 2 /dev/hda5 noneswapsw 0 0 /dev/hdc/media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 #usbfs /proc/bus/usb usbfs rw 0 0 (haven't set up the new harddrive yet). I tried mount /dev/cdrom and got this error msg: mount /dev/cdrom mount: can't find /dev/hdb in /etc/fstab or /etc/mtab Can someone point me to the config mechanism for this? Thanks Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]