Hi, just wanted to write about a trick I use to quickly mount the second 1.5GB data partation at boot. This takes quite some time, but since the partition is not used at boot, it can just be done in the background while system boot continues and gmenu2x lanches.
Just create a file '/etc/init.d/ubimount' with contents:
--8<--
!/bin/sh /etc/rc.common
START=99
start() {
(
ubiattach /dev/ubi_ctrl -m 3
mount -t ubifs ubi1:data /data
) &
}
--8<--
Then add it to the startup scripts:
chmod a+x /etc/init.d/ubimount
ln -sf ../init.d/ubimount /etc/rc.d/S99ubimount
cheers,
David
--
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
pgp3DqacgC0Y1.pgp
Description: PGP signature
_______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

