${LOGNAME} vs. ${USER}
BERBAR Florian
florian.berbar at free.fr
Mon Jul 13 08:50:27 UTC 2015
On 12/07/2015 20:28, Johnny Rosenberg wrote:
> to determine the location of my SD card.
A udev script maybe be used full in this case to determine the full
mount path of your device. Udev allow you to set a script when a device
is plugged in. With this kind of script you automatically mount your
device in a custom path when it is plugged and know its mount path
perfectly.
Some documentation :
Writing udev rules for SD device (possibly deprecated) :
http://wandrian.net/2013-11-28-1705-udev-rule-for-sd-card-reader.html
Writing udev rules (running script) :
http://www.reactivated.net/writing_udev_rules.html#external-run
udev manpage : http://linuxcommand.org/man_pages/udev8.html
good luke
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: florian_berbar.vcf
Type: text/x-vcard
Size: 129 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150713/0c8272b2/attachment.vcf>
More information about the ubuntu-users
mailing list