lkml.org 
[lkml]   [2004]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.049 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site