Messages in this thread | | | Date | Fri, 03 Dec 2004 18:11:55 -0800 | From | "H. Peter Anvin" <> | Subject | Re: INITRAMFS: allow no trailer |
| |
Milton Miller wrote: > > hpa points out that you should be careful with the headers, use unique > inode numbers and/or add a cpio header with just TRAILER!!! to reset > the inode hash table to avoid unwanted hard links. I just put this > sequence as the last files loaded. >
Correction. I just remembered we wrote the spec so that a file with a link count of 1 is not entered in the hash table and therefore is never hardlinked. This should do what you need. (This was obviously done for exactly this reason.)
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |