[arch-general] Udisks, uuid and very stange mount

Muhammed Uluyol uluyol0 at gmail.com
Fri Oct 15 15:32:49 EDT 2010


What's wrong with using uuids?
If it's really bugging you you could use something like
#!/bin/bash
while true; do
    for dev in /media/*; do
        sdname=$(blkid -U ${dev##*/}
        [[ ! -e /media/$sdname ]] && ln -s "$dev" "/media/$sdname"
    done
done

Something that used inotify would work better though.


More information about the arch-general mailing list