> I have solved this the following way:
>
> 1) Install the usbmount program
> 2) In /etc/udev/usbmount.rules (might vary on your distro), insert:
>
> -- snip --
>
> # Rules for USBmount
>
> KERNEL=="sd*", BUS=="usb", ACTION=="add",    RUN
> +="/usr/share/usbmount/usbmount add"
> KERNEL=="ub*", BUS=="usb", ACTION=="add",    RUN
> +="/usr/share/usbmount/usbmount add"
> KERNEL=="sd*",             ACTION=="remove", RUN
> +="/usr/share/usbmount/usbmount remove"
> KERNEL=="ub*",             ACTION=="remove", RUN
> +="/usr/share/usbmount/usbmount remove"
>
> -- snip --
>
> 3) Restart udev
> 4) Make sure you have in /etc/usbmount/usbmount.conf: FILESYSTEMS="ext2
> ext3 vfat" to allow fat partitions to work AND:
> MOUNTOPTIONS="sync,noexec,nodev,noatime,ro" to mount al devices
> read-only, or data loss could happen, since you won't be able to unmount
> devices cleanly with freevo
>
> 5) Then you can add in your freevo's local_conf.py on the
> Video/Music/Images section something like: ('External
> Storage','/var/run/usbmount/')
>
> Then if you plug in your usb key, a new folder should show up
> in /var/run/usbmount/, and if you go to Video/Music/Images on your
> freevo system and select External Storage on them you will see the usb
> key and files.
>
> Hope this helps.
>
Not prefect, but then this is  a hard job for a prefect solution. It
does however make a really good answer to teh problem as you should
know what is on the media :)

Evan

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to