Created means to inquire ECMA119_SYMLINK and ECMA119_SPECIAL
for their original fs,dev,ino
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user