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

2007-02-10 Thread Larry Battraw

On 2/9/07, william maddler <[EMAIL PROTECTED]> 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
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] right point to mount external partitions

2007-02-09 Thread william maddler
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?

Thank you.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers