  | |  | USB utilities | USB utilities 2005-03-24 - By Robinson, Andrew W.
Back > From: Akop Pogosian [mailto:akopps@(protected)] > > I am often being asked is whether there exist utilities that allow > users to mount USB storage devices without superuser's intervention. > Does such thing exist on RHEL 3? What about RHEL 4?
USB devices are handled by the hotplug system. Hotplug will run updfstab which will create an entry in /etc/fstab for the USB storage device. It just doesn't mount it. That's the bad news. The good news is that the user can run the mount command for the device and mount it without superuser previlages. The user has to know to run the mount command.
You can watch the hotplug process by tail'ing /var/log/messages.
To get over that last hurdle, I wrote a wrapper script for updfstab. The wrapper script monitors changes in /etc/fstab and mounts any new entries when updfstab is called. It is not completely robust however. It does not seem to mount usb storage devices after reboots.
Andrew Robinson
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |