linux/usr
Luciano Rocha 24fa509614 [PATCH] usr/gen_init_cpio.c: support for hard links
Extend usr/gen_init_cpio.c "file" entry, adding support for hard links.

Previous format:
file <name> <location> <mode> <uid> <gid>

New format:
file <name> <location> <mode> <uid> <gid> [<hard links>]

The hard links specification is optional, keeping the previous
behaviour.

All hard links are defined sequentially in the resulting cpio and the
file data is present only in the last link. This is the behaviour of
GNU's cpio and is supported by the kernel initramfs extractor.

Signed-off-by: Luciano Rocha <strange@nsk.no-ip.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:25 -08:00
..
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
gen_init_cpio.c [PATCH] usr/gen_init_cpio.c: support for hard links 2007-02-11 10:51:25 -08:00
initramfs_data.S
Kconfig
Makefile [PATCH] disable init/initramfs.c 2007-02-11 10:51:25 -08:00