diff options
author | Luciano Rocha <strange@nsk.no-ip.org> | 2007-02-10 01:44:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:25 -0800 |
commit | 24fa50961451b7b21081e4d16836952b17eb5fb3 (patch) | |
tree | d40f2474ffd9046f0978bc5132a9ff4ef3140c00 /drivers/w1 | |
parent | 67d38229dfa64cf9a75f83746dde345f47bbd8dc (diff) | |
download | op-kernel-dev-24fa50961451b7b21081e4d16836952b17eb5fb3.zip op-kernel-dev-24fa50961451b7b21081e4d16836952b17eb5fb3.tar.gz |
[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>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions