PDA

Bekijk de volledige versie : Default mounts with Oleg's fw 1.9.2.7-9



Tellus1
18-03-2008, 19:25
After installing the latest Oleg's firmware, I discovered that the two partitions (excluding the swap partition) I have on my USB pendrive are automatically mounted _before_ running my startup script (post-boot), to some default mount points:

/dev/discs/disc0/part2 on /tmp/mnt/disc0_2 type ext3 (rw,noatime)
/dev/discs/disc0/part3 on /tmp/mnt/disc0_3 type ext3 (rw,noatime)

How do I prevent this? Do I have to use umount in my post-boot script for these to unmount them (and then re-mount them to my designated mount-points)?

al37919
18-03-2008, 22:19
use /etc/fstab

Tellus1
23-07-2008, 08:28
Can the main storage (in my case, partition #3 for the time being) be mounted anywhere, or is it a limitation that it must be (at least?) mounted to /tmp/mnt/disc0_3 (to which the symlink /tmp/hardisk points)?

At least that's how I understand the following in the how-to:


Important: The data partition is mounted to /tmp/hardisk as in fstab. This is handled different in the firmware because of compatibility issues: The Partition is mounted to /tmp/mnt/disc0_3 and a symlink is pointing from /tmp/hardisk to /tmp/mnt/disc0_3

wirespot
23-07-2008, 18:15
It would hope it only needs to be found at that location (/tmp/harddisk) and that the disc_whatever stuff is not used except by the firmware at mount time. You can try to unmount it and mount it someplace else, but you'll need to have a backup of the flashfs with the "good" /tmp/local/sbin scripts.

You can also mount a partition several times.

Also, recent firmwares also let your use post-mount and pre-mount, try playing with those.