for i in `ls -1 /dev/disk/by-uuid/`; do mkdir /mnt/$i; mount /dev/disk/by-uuid/$i /mnt/$i; done
Yes, I am not a big expert, and I know this can be done shorter, I assume… something like “for i in /dev/disk/*” or so, I assume. Works for me, though.
for i in `ls -1 /dev/disk/by-uuid/`; do mkdir /mnt/$i; mount /dev/disk/by-uuid/$i /mnt/$i; done
Yes, I am not a big expert, and I know this can be done shorter, I assume… something like “for i in /dev/disk/*” or so, I assume. Works for me, though.