openhacker / xar

Automatically exported from code.google.com/p/xar
0 stars 0 forks source link

device node archival/extraction #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When archiving a device node in linux, the fact that it is a character or
block device node is recorded, but the major/minor number is not recorded.

Additionally, when extracting, a regular zero-length file is created, not a
device node.

Original issue reported on code.google.com by bbraun on 21 Apr 2007 at 9:25

GoogleCodeExporter commented 9 years ago
This should be resolved in commit r131 in trunk.

This adds the following to the file's entry in the toc if the file is a device 
node:
<device>
    <major>#</major>
    <minor>#</minor>
</device>

Original comment by bbraun on 21 Apr 2007 at 10:48