[maemo-developers] [maemo-developers] right point to mount external partitions

From: Larry Battraw lbattraw at gmail.com
Date: Sat Feb 10 17:17:29 EET 2007
On 2/9/07, william maddler <news at maddler.net> wrote:
> I'm trying to understand the best place to mount SDs partitions. Right
> now I have
>
> ===============
>
> chroot /mnt/initfs/ /usr/bin/retutime -i || true
>
> mount /dev/mmcblk1p1 /media/mmc1
> mount /dev/mmcblk0p2 /media/mmc3
> mount -o bind /media/mmc3/user /home/user
>
> hostname -F /etc/hostname
>
> ================
>
> but (only sometimes, and randomly) /home/user won't be mounted.
> So, my question is: has anyone found the *right* first good place to
> mount external partitions in order to have them mounted as soon as
> possible during boot phase?

  Do the other partitions mount properly?  You might try using a
symlink for /home/user to /media/mmc3/user instead if so.  I use a
script to mount other partitions that works flawlessly.  I didn't
modify an existing script, I created a new one in /etc/init.d which is
linked to /etc/rc2.d/S43(script name).  Unless you do something later
in the startup process that runs services from your SD partitions
there's no need to start it so early and it's better to create a new
script so upgrades don't stomp on your modified file.


Larry

More information about the maemo-developers mailing list