Thread
:
How to upgrade the internal memory by extending the root filesystem to a memory card
View Single Post
bradb
2006-07-11 , 07:49
Posts: 190 | Thanked: 5 times | Joined on Nov 2005 @ Bee-u-tee-ful Garden Home, Oregon
#
131
Originally Posted by
richie
Does anyone know how unionfs is coming along for IT2006?
Rich-
I've exchanged a few e-mails with the author of mmc-unionfs, but that was about a month ago. According to his
site
, the port to 2006 is on hold because the shutdown scripts use /home/user as their home directory.
Bummer. I hope this gets resolved soon.
Until then... if you're the daring sort... I've attached my port of mmc-unionfs. The installer will simply install the kernel module and software for mmc-unionfs, so you'll have to run "setup" and "enable-boot" (as per the above documentation) to actually setup and activate a union.
This package will install as "mmc-unionfs-hack" and should be un-installed and replaced with the "real" mmc-unionfs package as soon as it's released.
I don't guarantee it works, but I've been using it for weeks now without problems (well, unless I crash the 770 - then I need to pull the MMC and run e2fsck on it to make sure the filesystem is ok).
Oh yeah... this is important - You'll need to modify a pair of scripts in /etc/init.d (as root, of course):
Specifically, edit "minireboot" and "minishutdown".
you'll need to manually edit the line:
umount -r /media/mmc1 /mnt/initfs /
To be:
umount -r /media/mmc1 /media/mmc2 /mnt/initfs /
This will make sure the union will be unmounted at shutdown and reboot. If you don't, you'll end up with a corrupt ext2 filesystem.
Just for practice, I'm going to modify the installer to automatically modify the minireboot and minishutdown scripts just to make things easier; I'll update this post when the time comes FWIW.
Hope this is useful,
Brad.
Attached Files
mmc-unionfs-hack_0.1_armel.deb
(55.7 KB, 189 views)
Quote & Reply
|
bradb
View Public Profile
Send a private message to bradb
Find all posts by bradb