maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2006 / Maemo 2 / Mistral - Scirocco - Gregale (https://talk.maemo.org/forumdisplay.php?f=21)
-   -   mounting ext2 filesystems? (not supported!) (https://talk.maemo.org/showthread.php?t=2181)

bradb 2006-06-14 02:30

mounting ext2 filesystems? (not supported!)
 
Ok, so maybe I missed this, but now that xterm has been ported (and vi is stock), I've been trying to setup an ext2 filesystem without any success.

Actually I'm trying to test my port of mmc-unionfs, but I can't seem to mount any file system on the 770 except vfat.

Has anyone managed to get another filesystem type mounted?

The 8 characer filename limitation of vfat is killing me.

Brad.

BanditRider 2006-06-14 05:25

Damn, I've been waiting for mmc-unionfs.

It looks like the ext2 support wasn't compiled into the kernel.

cat /proc/filesystems

shows just ms-dos and vfat

That's just stupid. Why would they do that?

I've got a 128MB FAT32 partition working, a 64MB swap partition working and a 800-odd MB ext2 that can't be mounted.

gnuite 2006-06-14 16:30

Quote:

Originally Posted by BanditRider
Damn, I've been waiting for mmc-unionfs.

It looks like the ext2 support wasn't compiled into the kernel.

cat /proc/filesystems

shows just ms-dos and vfat

That's just stupid. Why would they do that?

I've got a 128MB FAT32 partition working, a 64MB swap partition working and a 800-odd MB ext2 that can't be mounted.

Ouch - no nfs or ext2? I can understand needing to trim the image a bit, thanks to adding all those new and useless media files, but don't take away my network drives and my more-useful memory card file system! It's a network-centric device, for crying out loud, they should be bragging about the ability to mount NFS drives, maybe even working with a slimmed down version of Samba to be able to mount Windows shares.

dattani98 2006-06-14 17:33

So what do we do now??

Guess we have to wait for nokia to introduce the 1gb virtual memory...

bradb 2006-06-14 18:45

Quote:

Originally Posted by dattani98
So what do we do now??

Well, according to info I've seen posted here and on the developers list, it should be possible to build a new kernel with ext2fs support in it (as well as nfs, I suppose).

I've got a kernel image ready (since I needed it to build mmc-unionfs) so I'll try and see if I can't build a new one tonight. It would end up being just another package to install.

I've also been in touch with the author of mmc-unionfs and he's going to be looking at the 2006 beta shortly (and is much more likely to have a real solution than I will).

Brad.

bradb 2006-06-14 19:45

Ok, so can anyone with root access try this:

insmod /mnt/initfs/lib/modules/2.6.16-omap1/ext2.ko

And then see if you can mount an ext2 filesystem? I can't test this right now, but it might work. Implies that ext2fs support is built in the kernel, but the module itself isn't loaded.

Brad.

EDIT: That's it! So, if you're looking to mount an ext2 filesystem at boot, make sure you insert the kernel module first.

Now, to test mmc-unionfs...

bradb 2006-06-14 20:33

Quote:

Originally Posted by BanditRider
Damn, I've been waiting for mmc-unionfs.

Well, I've been talking to the author of mmc-unionfs and he stated that a port should be available by this weekend, if not sooner.

Of course if you can't wait and are the kind of guy who likes to live on the edge, drop me a PM. I've got a working port of mmc-unionfs (but it's not properly packaged).

Brad.

gnuite 2006-06-14 21:03

Quote:

Originally Posted by bradb
Ok, so can anyone with root access try this:

insmod /mnt/initfs/lib/modules/2.6.16-omap1/ext2.ko

And then see if you can mount an ext2 filesystem? I can't test this right now, but it might work. Implies that ext2fs support is built in the kernel, but the module itself isn't loaded.

Brad.

EDIT: That's it! So, if you're looking to mount an ext2 filesystem at boot, make sure you insert the kernel module first.

Now, to test mmc-unionfs...

Awesome, ext2 works. But there is no module for nfs. So our network filesystems are still inaccessible....

richie 2006-06-14 21:27

Quote:

Originally Posted by bradb
Well, I've been talking to the author of mmc-unionfs and he stated that a port should be available by this weekend, if not sooner.

Quote:

Originally Posted by BanditRider
cat /proc/filesystems
shows just ms-dos and vfat

Great news. Just curious, do you know what filesystem is used on the device anyway, surprised if the root filesystem uses vfat.

bradb 2006-06-14 21:31

Quote:

Originally Posted by richie
Great news. Just curious, do you know what filesystem is used on the device anyway, surprised if the root filesystem uses vfat.

Looks like jffs2 to me, but there are more filesystems listed than vfat and msdos (those, I'm assuming, are modules as well since they have no "nodev" before the name).

Brad.


All times are GMT. The time now is 16:31.

vBulletin® Version 3.8.8