Replace:
"mount `/usr/sbin/findfs UUID="473480a0-f633-46ae-8832-3f1e55eac82b"` /opt"
with:
/usr/sbin/findfs UUID="473480a0-f633-46ae-8832-3f1e55eac82b" > tmp/myfsid
mount `more /tmp/myfsid` /opt
Categories: PogoPlug Development
Greetings.
I followed the directions here:
http://www.pogoplugged.com/article/21667/Pogoplug-Hackery-How-to-Set-Up-Persistent-USB-Mount-Locations/
i have added the following to the bottom of my /etc/init.d/rcS:
mount `/usr/sbin/findfs UUID="473480a0-f633-46ae-8832-3f1e55eac82b"` /opt
but it seems to be ignored.
I also have tried to stop hbmrg, delete sda1 from /tmp/.cemnt, then restart, however then i get this:
df
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 104524 11880 92644 11% /
none 62884 12 62872 0% /tmp/dev/
sda1 1899892 4628 1798752 0% /opt/tmp/.cemnt/
sda1 1899892 4628 1798752 0% /tmp/.cemnt/mnt_sda1/tmp/.cemnt/
sdb1 1922859912 200184 1824984052 0% /tmp/.cemnt/mnt_sdb1
The problem is that /usr/sbin is not in the PATH by default, you can have it added by adding it to /etc/profile and /root/.bash_profile and adding an export statement (export PATH=/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin in my case since I have optware installed on my USB)

RSS


