All pastes #356794 Raw Edit

metadata wiki entries

public text v1 · immutable
#356794 ·published 2007-02-15 08:25 UTC
rendered paste body
Index: ArchivedMetadata.wiki
===================================================================
--- ArchivedMetadata.wiki	(revision 104)
+++ ArchivedMetadata.wiki	(working copy)
@@ -18,7 +18,7 @@
   * [metadata_darwin_legacy Legacy Mac OS X metadata]
     * On Mac OS X systems, on HFS, the Finder info is archived.
     * On Mac OS X 10.3, on HFS the resource fork is archived via the ..namedfork method.
- 
+  * [metadata_macho Mach-O metadata]
 
 = Known unarchived metadata =
   * [metadata_tru64_ea Tru64 Extended Attributes]
Index: metadata_chflags.wiki
===================================================================
--- metadata_chflags.wiki	(revision 0)
+++ metadata_chflags.wiki	(revision 0)
@@ -0,0 +1,24 @@
+= File Flags Metadata =
+
+chflags(2) (`st_flags`) metadata support. Per-file settable attributes. Typically implemented on BSD platforms.
+
+== Metadata supported ==
+
+For platforms that support them:
+
+  * User No Dump
+  * User Immutable
+  * User Append
+  * User Opaque
+  * System Archived
+  * System Immutable
+
+== Implementation status ==
+
+Implemented since repository revision 92 (2007-01-29).
+
+== Notes ==
+
+  * Note that some flags have overlap and may be duplicated with other metadata support. Most notably this happens with [metadata_linux_attrib Linux EXT2 file attributes].
+  * Archival of flags is implemented using the `st_flags` struct member of the [metadata_stat stat metadata] on platforms that support it.
+  * Extraction of flags is implemented using the chflags(2) APIs on platforms that support it.
Index: metadata_stat.wiki
===================================================================
--- metadata_stat.wiki	(revision 0)
+++ metadata_stat.wiki	(revision 0)
@@ -0,0 +1,22 @@
+= "POSIX" stat Metadata =
+
+"POSIX"-ish [http://www.opengroup.org/onlinepubs/009695399/functions/stat.html stat] metadata.
+
+== Metadata supported ==
+
+  * Type of file (file, hardlink, link)
+   * Broken links
+  * File mode (UNIX-like permissions)
+  * UID
+   * Textual user representation of UID on archiving system
+  * GID
+   * Textual group representation of GID on archiving system
+  * atime, ctime, and mtime (in [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601] format)
+
+== Implementation status ==
+
+Implemented since >= 1.0?
+
+== Notes ==
+
+  * On systems that support the `st_flags` member of the `stat` struct xar will archive the [metadata_chflags chflags(2)] flags.
Index: metadata_tru64_ea.wiki
===================================================================
--- metadata_tru64_ea.wiki	(revision 0)
+++ metadata_tru64_ea.wiki	(revision 0)
@@ -0,0 +1,12 @@
+= Tru64 Extended Attributes Metadata =
+
+Extended attributes as supported on [http://en.wikipedia.org/wiki/Tru64_UNIX Tru64 UNIX].
+
+== Implementation status ==
+
+Not implemented.
+
+== Notes ==
+
+  * Support is likely to use the -proplist(3) (and other) system calls.
+  * Some [http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN4/0200____.HTM HP Tru64 documentation on Extended Attributes].
Index: metadata_volume.wiki
===================================================================
--- metadata_volume.wiki	(revision 0)
+++ metadata_volume.wiki	(revision 0)
@@ -0,0 +1,7 @@
+= Volume Metadata =
+
+Metadata of and relating to volumes and filesystems. For example, volume & block sizes, filesystem file counts, and volume labels of filesystems may be implemented.
+
+== Implementation status ==
+
+Not implemented.