Re: Fedora Core 3 and USB drives

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
To: plug-discuss
Subject: Re: Fedora Core 3 and USB drives
On Saturday 19 February 2005 02:19 pm, Craig White wrote:
>
> ----
> some thoughts first about udev
>
> don't edit /etc/udev/rules.d/50-udev.rules
> if you have to do edits, make a new file...
> /etc/udev/rules.d/10-udev.rules
> because updated package will conflict and udev will read other file and
> incorporate anyway.


Good tip.

> I found a very helpful page on udev to be...
> http://www.reactivated.net/udevrules.php


I'll go look at that after this email. There is also a page at
http://fedora.redhat.com/docs/udev/ but it is a bit sketchy.

> but I don't see that you issue is udev


OK.

> The concept is to mount these 'disks' automatically in your user space
> and not as root. Given the above that you had written, I would have
> expected a disk to show on your GNOME/KDE desktop which you could
> double click to open or right click to eject. Since the fstab info you
> sent shows us 'noauto' for these items, they aren't mounted
> automatically but I would think that a double click on the icon on the
> desktop will perform the mount.


I get no icon on my KDE desktop. When I insert the drive, a refresh of
the desktop occurs (brief redraw twitch) but no new icons show up.

noauto for the items is, I think, the point here. I don't create these
fstab entries hotplug and/or udev does.

Perhaps I need to configure some icons somewhere...

> Your files should be there...if not...
> - is it really vfat?
> - is there something in /var/log/messages or /var/log/dmesg that tells
> you of an error?


The camera can see the files on the CF card. The USB drive had files
yesterday at work. They were both vfat last time they sucessfully
mounted on Win2k (at work) and in FC2 on this same computer.

Checking the logs now...

After inserting the thumb drive, dmesg shows:

ohci_hcd 0000:00:02.1: wakeup
usb 3-1: new full speed USB device using ohci_hcd and address 22
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 22
usb-storage: waiting for device to settle before scanning
  Vendor: SIMPTECH  Model: USB DRIVE         Rev: 1.12
  Type:   Direct-Access                      ANSI SCSI revision: 01 CCS
SCSI device sdb: 503808 512-byte hdwr sectors (258 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 503808 512-byte hdwr sectors (258 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
 sdb: sdb1
Attached scsi removable disk sdb at scsi5, channel 0, id 0, lun 0
usb-storage: device scan complete


Which all looks good. Doing manual mount... OK, a bit of egg on my face.
'mount /media/SIMPTECH' mounts the device file system.

So maybe the final issues here are to get 'auto' in fstab (however that is
accomplished) and get some auto icons on the KDE desktop (however that is
accomplished).

Alan
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss