Skip to content

Commit 81206c2

Browse files
committed
layer: document Windows-specific file attributes
Signed-off-by: John Starks <[email protected]>
1 parent 28462ef commit 81206c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

layer.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ END FOR
8888

8989
With this approach, the link map and links names of a directory could be compared against that of another directory to derive additions and changes to hardlinks.
9090

91+
#### Platform-specific attributes
92+
93+
Implementations on Windows MUST support these additional attributes, encoded in [PAX vendor
94+
extensions](https://github.com/libarchive/libarchive/wiki/ManPageTar5#pax-interchange-format) as follows:
95+
96+
* [Windows file attributes](https://msdn.microsoft.com/en-us/library/windows/desktop/gg258117(v=vs.85).aspx) (`MSWINDOWS.fileattr`)
97+
* [Security descriptor](https://msdn.microsoft.com/en-us/library/cc230366.aspx) (`MSWINDOWS.rawsd`): base64-encoded self-relative binary security descriptor
98+
* Mount points (`MSWINDOWS.mountpoint`): if present on a directory symbolic link, then the link should be created as a [directory junction](https://en.wikipedia.org/wiki/NTFS_junction_point)
99+
* Creation time (`LIBARCHIVE.creationtime`)
100+
91101
## Creating
92102

93103
### Initial Root Filesystem

0 commit comments

Comments
 (0)