Changes

Jump to: navigation, search

FAQs (XUELK)

6 bytes added, 10:55, 1 March 2017
Q: How to enable USB storage auto-mount/unmount?
{{InfoBoxBottom}}
__FORCETOC__
== Introduction ==
This page collects Frequently Asked Questions (FAQs) regarding [[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)|AXEL ULite and SBC Lynx Embedded Linux Kit (XUELK)]].
== Q: How to enable USB storage auto-mount/unmount? ==
'''A''': USB storage auto-mount can be enabled by adding specific <code>udev</code> rules. The following example has been tested with this file system: https://mirror.dave.eu/lynx/xuelk-1.1.0/xuelk-1.1.0_lynx-image-networking-sbc-lynx.tar.bz2, and makes use of two files.
SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"
</pre>
 
The second file is a script that can be copied in <code>/etc/udev/scripts/</code>. It looks like this:
udevadm control --reload-rules
</pre>
 
The following console dump shows the process of auto-mounting/auto-unmounting of a FAT32 partition, stored on a USB flash drive.
4,650
edits

Navigation menu