[BusyBox] tar hardlink extract

Glenn McGrath bug1 at optushome.com.au
Tue Jun 10 15:18:47 UTC 2003


On Tue, 10 Jun 2003 12:09:42 +0200
Bastian Blank <waldi at debian.org> wrote:

> this patch adds a hackish support for extracting hardlinks out of
> tars.
 
Something i meant to do long ago but didnt get around to...

I am unsure about this

+#undef S_IFMT
+/* extra definitions for hardlink support */
+#define S_IFMT         0370000
+#define S_IFHLK                0200000

Where did you get these values from ?

It must be non-standard values tar sets internally for mode, as it
doenst appear to be a mode seen by stat.

I will look into it further.



Glenn


More information about the busybox mailing list