hello .. my problem is that the
/usr/local/sbin/post-boot
containing line mount /dev/discs/disc0/part3 /tmp/harddisk
like in tutorial (4b. Startup-scripts). should i put some more sleep command there ? that the system could mount that space of hdd right after reboot ?
after reboot router is not mounting the hdd to that temp place . i have to umont it my self and mount it again . after that the hdd partition is working perfectly .
what could be the problem that the post boot is not mounting right ? i dont want to do it manualy after reboot .
now after system reboots . there is /tmp/harddisk but read only . and behaving very slowly in samba . after manual umont and mount it is working perfectly ..
how come ?? :-)
.. using version version 1.9.2.7-7g in 500g premium
df command looks like this after reboot
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 2880 2880 0 100% /
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part2
988244 95120 842924 11% /opt
/dev/discs/disc0/part1
29280176 2768 29277408 1% /tmp/harddisk
how come that the part 1 is mounting as /tmp/harddisk .. and it should be part3 ??
where could i find this command ? my /usr/local/sbin/post-boot looks like this
#!/bin/sh
dropbear
if [ ! -d /dev/discs ]
then
insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
fi
#Wait for /opt to mount
mount /dev/discs/disc0/part2 /opt
i=0
while [ $i -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i=`expr $i + 1`
done
mount /dev/discs/disc0/part3 /tmp/harddisk
# Activate swap
swapon /dev/discs/disc0/part1
# Run all active services - active means starts with S
/opt/etc/init.d/rc.unslung
????????



