Created means to inquire ECMA119_SYMLINK and ECMA119_SPECIAL

for their original fs,dev,ino
This commit is contained in:
2009-05-03 19:21:21 +02:00
parent 56796ff55f
commit 46a947b602
6 changed files with 102 additions and 23 deletions

View File

@ -2744,6 +2744,13 @@ int image_builder_create_node(IsoNodeBuilder *builder, IsoImage *image,
}
link->dest = strdup(dest);
link->node.type = LIBISO_SYMLINK;
#ifdef Libisofs_hardlink_matcheR
link->fs_id = ISO_IMAGE_FS_ID;
link->st_dev = info.st_dev;
link->st_ino = info.st_ino;
#endif
new = (IsoNode*) link;
new->refcount = 0;
}
@ -2762,6 +2769,13 @@ int image_builder_create_node(IsoNodeBuilder *builder, IsoImage *image,
}
special->dev = info.st_rdev;
special->node.type = LIBISO_SPECIAL;
#ifdef Libisofs_hardlink_matcheR
special->fs_id = ISO_IMAGE_FS_ID;
special->st_dev = info.st_dev;
special->st_ino = info.st_ino;
#endif
new = (IsoNode*) special;
new->refcount = 0;
}