Re: Udisks, uuid and very stange mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux