1 |
On 7/8/05, Mike Frysinger <vapier@g.o> wrote: |
2 |
> you could look at the genext2fs project ... its purpose is to generate small |
3 |
> ext2 images from a directory tree and you can configure it to setup any kind |
4 |
> of permissions/device nodes you want ... |
5 |
|
6 |
Thanks for this info! I finally got around to trying genext2fs [1], |
7 |
and it can suit my needs for the short run, including being able to |
8 |
generate special device files. |
9 |
|
10 |
I'm still interested in devising a more general purpose utility for |
11 |
manipulating partition tables (when relevant) and file systems of disk |
12 |
images. In addition to FUSE [2], I was considering wrapping libc so |
13 |
that it would detect things like open("/dev/hda") and emulate ioctl's, |
14 |
or open("/mnt/my-emulated-image-mount-point/etc/fstab"), and support |
15 |
mknod/chmod/chown. This wouldn't work for some general cases (e.g. it |
16 |
probably wouldn't work Gentoo's sandbox), but I think it should work |
17 |
for basic commands like cp: it would provide just a little more |
18 |
functionality than genext2fs. |
19 |
|
20 |
[1] http://genext2fs.sourceforge.net/ |
21 |
[2] http://fuse.sourceforge.net/ |
22 |
|
23 |
-- |
24 |
gentoo-embedded@g.o mailing list |