On Thursday 14 May 2009 02:52:35 am rblythe wrote:
> Perhaps it does not have to be a 'kludge'
>
> SUBSYSTEMS=="scsi", ATTRS{model}=="Cruzer Micro|JUMPDRIVE|Flash Reader",
> NAME{all_partitions}="JumpDrive"
I am using larger capacity sticks sometimes with two filesystems (fat at
the top and ext2 below). If one tries to create a rule with ATTRS{model}
or ATTRS{serial} one has to create several - several sticks are used; some
do not even bother with a serial number!
A bigger drawback of the present effort with autofs is the cdrom remaining
mounted by root I am wondering if there is timeout setting that can be made
in say /etc/auto.master that will unlock the door after its idled its
timeout.
Thanks for you suggestion anyway.
On Thursday 14 May 2009 11:42:11 pm William Immendorf wrote:
> But if I were you, I would use 0.5.12rc1 instead of 0.5.11. Just my two
> cents.
>
Thanks for the suggestion. I installed hal-0.5.12rc1 and now my cdrom device
is detected in kde421. (hal-0.5.12 could not pass the ./configure stage as
it complained it needed blkid>=1.43. If blkid is part of e2fsprog i think
the latest version is 1.41.2 or somesuch.)
I decided to give the combination of hal-0.5.12, ivman and pmount a spin.
Here are the results:
a) for the CDROM results are excellent. Once hal is started then ivman,
the cdrom is detected in /media/CDROM. The cd is ejected simply by
pressing on the button. This is for all users and root. (note without
ivman we are back to the cdrom only mountable by root, though it is kde
plasmoid 'thingy' for all users)
b) for usbsticks the results are not satisfactory. No mount point is/are
created in /media and the disk(s) is/are not mounted automatically. However
the usb stick can be mounted and unmounted by the 'normal' user in the
group plugdev (who replaced ivman in the ivman config file) using the
following
pmount //dev/sdXY /media/whatever
pumount /media/whatever
It seems I need rules for hal and ivman to effect automounting of
usbsticks. I'll keep digging, but suggestions are welcomed.
yours sincerely
lus-integ.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page