2011/5/12 andria <andri...@gmail.com> > > Name Less, the Jedi > What do you mean by f.ex? I downloaded the > unyaffs tool but it doesn't work. But you give me a first clue so I'm > gonna find an unyaffs-like tool. >
f.ex == for example. Basically create file of desired size using dd: dd if=/dev/zero of=10MBfile bs=10485760 count=1 then associate it with loop device losetup -f 10MBfile make filesystem mkfs.ext /dev/loop0 <-- use loop device reported by losetup above Than you can mount it mount /dev/loop0 /mnt/somedir and put all the files you need/want. unyaffs takes single argument being name of yaffs img file and unpacks it to current dir > I thought about an other way: instead of yaffs2 image how about > building an ext4 img directly? It seems like the yaffs2 img are built > by the mkyaffs2image command. So maybe I can replace it with > make_ext4fs. > In the long run this would be better. You can have a look on CyanogenMod sources as I remember seeing mentions on using ext filesystem in prebuilt images. -- Name Less, the Jedi <http://www.nl-j.org/> Just a friendly Jedi Knight -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel