using your fatpart.homebase.tar.gz I was able to add ext3 support to my homebase. I also prepared a simple script that can mount the disk in /mnt/ext3 after I reattach it or I switch on the homebase. Here is the script:
# Modules for ext3:
CMDOP=$(lsmod | grep jbd)
if [ -z "$CMDOP" ]
echo "Loading jbd.ko"
CMDOP=$(lsmod | grep ext3)
if [ -z "$CMDOP" ]
echo "Loading ext3.ko"
if [ ! -d "/mnt/ext3" ]
echo "Creating mountpoint /mnt/ext3"
chmod a+rwx /mnt/ext3
if [ -z "$(ls -A /mnt/ext3)" ]
echo "Mounting disk"
mount -o data=writeback /tmp/sda1 /mnt/ext3
if [ -z "$(cat /tmp/smb.dir.conf | grep [[ext3]])" ]
echo "Updating Samba configuration"
comment=ext3 disk" >>/tmp/smb.dir.conf
echo "Reloading Samba"
Note: the BASEDIR is the directory in which I put the modules you supplied (it's a USB pen drive with a FAT partition), while I'm mounting the disk with data=writeback mount option because I saw that this increases performance a lot (it's not vital to have a bullet-proof journaling on this disk).
The next step will be to have another device on my LAN with a cron job which periodically connects to the home base via telnet and starts that script to ensure that the ext3 support is loaded and the disk is mounted: in this way I "simulate" in some way an auto-mount!
By the way, there's another thing I really miss and maybe you can help: is there a way to have the following utilities available without chrooting the full Debian?
I tried to copy these files from the lenny-homebase.tar.gz into the ext3 partition, but when I try to run, for instance,
badblocks, I get the following error:
error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directory
I tried to also copy libext2fs.so.2 in the same folder of badblocks, but it didn't help. I know that with these embedded devices usually BusyBox is used to provide such functionality in a "compacted" way, but I don't know how I could find a suitable binary version of BusyBox...
I would really appreciate any help, if you know how I could solve.
Thanks in advance,