![]() |
2010-07-19
, 15:38
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#2
|
/home/MyDocs is in the fstab but it doesn't mount at boot
how do I get MyDocs back?
/bin/mount /home/user/MyDocs
In the tutorial at step 5 it states that I should edit '/etc/event.d/rcS-late' it states that I should insert the line "/bin/mount /home/user/MyDocs" after line 24 which contains "/bin/mount /home || echo "Failed to mount /home partition.". the problem is that line isn't there.
...
mount_home && HOME_MOUNTED=1
# If failed to mount /home and system has been already optified - reboot
if [ $HOME_MOUNTED -eq 0 ]
then
if [ -e /var/lib/maemo-optify-firstboot-do-not-clean-home-opt ]; then
telinit 6
fi
else
[ ! -d /home/opt ] && mkdir /home/opt
[ ! -d /opt ] && mkdir /opt
<<</bin/mount /home/user/MyDocs>>>
fi
if [ $ACT_DEAD -eq 0 ]
then
if [ $HOME_MOUNTED -eq 1 ]
then
if [ -x /usr/sbin/maemo-optify-firstboot.sh ]; then
. /usr/sbin/maemo-optify-firstboot.sh
fi
fi
fi
/bin/mount /opt || echo "Failed to mount(bind) /opt."
if [ $ACT_DEAD -eq 0 ]
then
if [ $HOME_MOUNTED -eq 1 ]
then
if [ -x /usr/sbin/maemo-optify-auto-opt.sh ]; then
. /usr/sbin/maemo-optify-auto-opt.sh
fi
fi
if [ -d /home/preinstalled -a -d /home/user ]
then
rm -rf /home/user
fi
if [ ! -d /home/user ]
then
if [ -d /home/preinstalled ]
then
mv /home/preinstalled /home/user
else
mkdir /home/user
fi
cd /etc/skel
cp -a . /home/user
chown -R user:users /home/user
sync
fi
fi
...
The Following User Says Thank You to kureyon For This Useful Post: | ||
![]() |
2010-07-19
, 16:08
|
Posts: 12 |
Thanked: 3 times |
Joined on Jul 2010
@ helmond, Netherlands
|
#3
|
I have succesfully created /home on the large partition and the device detected it as /home just like the tutorial said.
In the tutorial at step 5 it states that I should edit '/etc/event.d/rcS-late'
it states that I should insert the line "/bin/mount /home/user/MyDocs" after line 24 which contains "/bin/mount /home || echo "Failed to mount /home partition.". the problem is that line isn't there.
this is my fstab:
how do I get MyDocs back?
I haven't backed up anything from MyDocs since I had no files in there so the new Mydocs doesn't have any folders, is it possible the mydocs folder is detected the same way as the /home folder?