Mon Jul 2 09:04:07 EDT 2012
OpenWRT : Mounting by UUID
Found something that works. Use mount from mount-utils, which
supports the -U option. From :
Actually mounting a partition using its LABEL or UUID is possible.
You just have to install mount-utils.
Before that you have to remove the old busybox symlinks:
After that you can install mount-utils:
opkg install mount-utils
And now you're able to mount by LABEL and UUID, e.g.:
mount LABEL=xxx /mnt
mount UUID=xxx /mnt
Actually im missing this possibility for swap partitions.
For swap it's probably enough to just iterate over all partitions and
try to enable them as swap.