A little script help please .... USB Keychain Drives

Kwan Lowe kwan at digitalhermit.com
Tue Sep 26 17:57:48 UTC 2006


> =>Can someone who is a little better at scripting than I give me some help
> =>here on Fedora Core 3.
> =>
> =>Using the 2.6.9 kernel I would put in a USB Keychain drive of a CD-ROM
> =>and it would automount it without a problem.
> =>
> =>We upgrade to 2.6.16.16 and this is now broken and thanks to the list,
> =>we've narrowed it to the haldaemon but because of production cycles I
> =>can't upgrade anything.  I'm stuck with what I've got.
> =>
> =>Can someone share a script that I can run with a setuid bit to find and
> =>mount the CD-ROM _and_ the USB Keychain drive after they're inserted?  I
> =>can't see to get anything to work properly.

One option is to use sudo to run the script as root. If that's not possible, maybe
creating a C or Perl wrapper would work.

-- 
* The Digital Hermit   http://www.digitalhermit.com
* Unix and Linux Solutions   kwan at digitalhermit.com




More information about the fedora-list mailing list