buildroot/fs
Thomas Petazzoni 3754c51560 jffs2: let makedevs create device files
The common filesystem infrastructure in fs/common.mk uses a smart
combination of makedevs and fakeroot to create the device files in the
target filesystem images without being root. This technique is applied
to all filesystem formats that rely on this common infrastructure, and
JFFS2 is one of them.

Therefore, using the -D option of mkfs.jffs2, which allows to specify
a device table, is redundant with the usage of makedevs. And it is
worst than redundant: for some reason, -D does not create all device
files with the correct major and minor numbers, as reported in
bug #1771.

For coherence, we just remove the usage of mkfs.jffs2 -D option, and
rely on makedevs/fakeroot to create the device files.

This commit fixes bug #1771.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-05 21:23:28 +02:00
..
cloop
cpio
cramfs cramfs/jffs2: use the new ROOTFS_DEVICE_TABLE variable 2010-04-17 04:36:23 +02:00
ext2 fs/ext2: fix blocks/inodes calculation 2010-04-19 14:33:14 +02:00
initramfs initramfs: fix init symlink 2010-04-20 16:54:50 +02:00
iso9660
jffs2 jffs2: let makedevs create device files 2010-06-05 21:23:28 +02:00
romfs
squashfs fs/squashfs: squashfs3 needs to set big/little endian 2010-05-26 22:47:32 +02:00
tar
ubifs
Config.in fs: change the way the device table is configured 2010-04-17 04:36:23 +02:00
common.mk Add a <fs>-root-show-depends target 2010-05-21 15:07:34 +02:00