From: Luciano Rocha Date: Sat, 10 Feb 2007 09:44:45 +0000 (-0800) Subject: [PATCH] usr/gen_init_cpio.c: support for hard links X-Git-Tag: v2.6.21-rc1~274^2~373 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24fa50961451b7b21081e4d16836952b17eb5fb3;p=pandora-kernel.git [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 New format: file [] 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 Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed