> > Message: 2 > Date: Fri, 5 May 2006 09:02:11 -0500 > From: "Steven P. Ulrick" <lists-fedora@xxxxxxxxxxxx> > Subject: Re: umounting detatchable media in FC5 > To: fedora-list@xxxxxxxxxx > Message-ID: <20060505090211.19d32925@xxxxxxxxxxxx> > Content-Type: text/plain; charset=UTF-8 > > On Fri, 05 May 2006 11:41:59 -0400 > Glenn Lawyer <d.g.lawyer@xxxxxxxxxxxxxx> wrote: > >> Hi, >> >> A USB issue with FC5 (fresh install on a 64 bit AMD). Logged in as a >> regular user, using the KDE desktop. Connect a USB drive. It >> automounts and I get the nice icon on the desktop. From the icon I >> can "safely remove" or (after "safely removing") "mount" the drive. >> >> Can't do either from the command line. umount tells me I'm not root, >> and mount fails because the device isn't listed anywhere I know of. >> >> Yes, I could probably spend 4 hours reading >> http://www.reactivated.net/writing_udev_rules.html, and then another >> hour reading up on sysf, but geez, it shouldn't take all day and >> mastery of two subsystems to learn how to (u)mount a drive from the >> command line, especially when the disto includes GUI commands for the >> same action! >> >> Can you kindly give the ½ hour tutorial version? Here's my very vague >> and probably wrong outline, posed as questions: >> >> do I add a line for each detachable media to my fstab file? Could >> you give me an example line for a thumbdrive that automounts as >> "/media/CORSAIR"? >> >> Could you give me an example udev rule that would put this drive >> where fstab says it should go? > > Hello, Glenn > I can't give you an example of a udev rule. But I can tell you that I > use the KDE desktop as well, and that I had the same problem that you > are having now when I installed FC5. What I have done is to add the > following lines to my /etc/fstab: > /dev/scd0 /media/cdrecorder udf,iso9660 auto,user,kudzu,exec,ro 0 0 > #/dev/scd1 /media/cdrecorder udf,iso9660 auto,user,kudzu,exec,ro 0 0 > /dev/hdd /media/cdrom udf,iso9660 auto,user,kudzu,exec,ro 0 0 > #/dev/sdb1 /media/usbdisk auto auto,user 0 0 > /dev/sda1 /media/usbdisk auto auto,user 0 0 Hi, Stephen, Thanks for the answer. I added a line as you suggested to my fstab, using sdb1 (after checking with dmesg for where the thing was connected). I had to create /media/usbdisk myself with mkdir, and after that I can mount/umount from the command line. I think the point to udev is for the computer to automagically recogize my usb drives, create that mount point, and assign them to the proper mount point. From what I remember of the introduction to the manual, this should resolve the kind of issue you were facing with your usb cdrecorder sometimes being scd0 and sometimes scd1. I don't know if udev modifies fstab or if we are supposed to do that ourselves. +glenn