15 Oct
2010
15 Oct
'10
7:32 p.m.
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.