- fix broken hardlink handling: copy hardlink filenames instead of storing
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 4 May 2006 14:12:22 +0000 (14:12 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 4 May 2006 14:12:22 +0000 (14:12 +0000)
commitc0caf9cfdfd743c036162aab4f3157e89b42b7e7
treed45cf401f5dadf58baf7262677fdbf60225c9141
parentfcb257d47c26c829290d1f837b41c3614ef7a88b
- fix broken hardlink handling: copy hardlink filenames instead of storing
  pointers to them, since the filenames may be in temporary storage (e.g., see
  read_into(); if the filename crosses a collection boundary,
  read_into() will reset collected to temporary storage). This fixes the
  weird intermittent bugs I've been seeing in initramfs creation,
  basically, 0 byte hardlinked files.
init/initramfs.c