add support for /dev/cd* virtual io
Signed-off-by: John Crispin <[email protected]>
libfstools: fix matching fstype
the previous commit accidentally also matched against the trailing
null byte of a constant string but should not.
Signed-off-by: Daniel Golle <[email protected]>
fix jffs2reset on ubifs overlay
change find_mount_point parameter to match either all or only
jffs2 and ubifs, which are typically used on embedded mtd devices.
For now, find_mount_point was used without the fstype parameter
except for a single occurance in jffs2reset. There it is desireable
to apply the same logic as previously hard-coded to jffs2 also in the
case of a ubifs overlay, so firstboot aka. factory-reset works as
expected.
Signed-off-by: Daniel Golle <[email protected]>
libfstools: be more consistent with other existing code
just cosmetics
Signed-off-by: Daniel Golle <[email protected]>
snapshot: add explicit cast to fix warning on x86_64 and switch to unsigned
Signed-off-by: Felix Fietkau <[email protected]>
snapshot: use cross-platform macros for fprintf on 64-bit values to fix build for 64 bit targets
Signed-off-by: Felix Fietkau <[email protected]>
ubi: fix false positive in volume_find
An off-by-one made the string compare check only the string
length and not the terminating \0 which lead to rootfs being
found as rootfs_data.
Signed-off-by: Daniel Golle <[email protected]>
cosmetic: fix indentation
Signed-off-by: Luka Perkov <[email protected]>
libubi-utils: export static library
uboot-envtools will use parts of libubi-utils in the near future
to allow native r/w support of ubi-volume backed environments.
Install libubi-utils.a as well as the headers needed so uboot-envtools
can link libubi-utils.
Signed-off-by: Daniel Golle <[email protected]>
skip ubi volume detection if ubifs is not present (fall back to mtd in that case)
Signed-off-by: Felix Fietkau <[email protected]>
add ubi detach support, fix handling for kernel/rootfs ubi partitions
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: John Crispin <[email protected]>
match full mtd partition names
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: John Crispin <[email protected]>
support for ubifs overlay
Signed-off-by: Daniel Golle <[email protected]>
set LD_LIBRARY_PATH when invoking block extroot from temporary overlay
Signed-off-by: Jo-Philipp Wich <[email protected]>
split snapshot tool properly
Signed-off-by: John Crispin <[email protected]>
jffs2mark did not check the return code properly
Signed-off-by: John Crispin <[email protected]>
split fs-state back into seperate tools
Signed-off-by: John Crispin <[email protected]>
initial import of fs-tools package
Signed-off-by: John Crispin <[email protected]>