summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/filename
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-11-17 14:55:02 -0800
committerJeremy Allison <jra@samba.org>2009-11-17 14:55:02 -0800
commita770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5 (patch)
tree479bcb278bcd0ccd20f9506c976d47cb6f41e356 /docs-xml/smbdotconf/filename
parenta31838eb3c40f4b70c629f94620f435214e414d4 (diff)
downloadsamba-a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5.tar.gz
samba-a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5.tar.bz2
samba-a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5.zip
Remove "store create time" code, cause create time to be stored
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy.
Diffstat (limited to 'docs-xml/smbdotconf/filename')
-rw-r--r--docs-xml/smbdotconf/filename/storecreatetime.xml15
-rw-r--r--docs-xml/smbdotconf/filename/storedosattributes.xml7
2 files changed, 7 insertions, 15 deletions
diff --git a/docs-xml/smbdotconf/filename/storecreatetime.xml b/docs-xml/smbdotconf/filename/storecreatetime.xml
deleted file mode 100644
index 5957a5db10..0000000000
--- a/docs-xml/smbdotconf/filename/storecreatetime.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<samba:parameter name="store create time"
- context="S"
- type="boolean"
- xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
-<description>
- <para>
- If this parameter is set Samba attempts to store a create timestamp on any file or directory created by Samba
- in a filesystem extended attribute. The data is written as an 8 byte Windows timestamp in little-endian form
- in attribute named "user.DosTimestamps". This extended attribute is explicitly hidden from smbd clients requesting an
- EA list. On Linux the filesystem must have been mounted with the mount option user_xattr in order for
- extended attributes to work, also extended attributes must be compiled into the Linux kernel.
- </para>
-</description>
-<value type="default">no</value>
-</samba:parameter>
diff --git a/docs-xml/smbdotconf/filename/storedosattributes.xml b/docs-xml/smbdotconf/filename/storedosattributes.xml
index 6fcab82f9c..621b4ace74 100644
--- a/docs-xml/smbdotconf/filename/storedosattributes.xml
+++ b/docs-xml/smbdotconf/filename/storedosattributes.xml
@@ -14,6 +14,13 @@
attribute named "user.DOSATTRIB". This extended attribute is explicitly hidden from smbd clients requesting an
EA list. On Linux the filesystem must have been mounted with the mount option user_xattr in order for
extended attributes to work, also extended attributes must be compiled into the Linux kernel.
+
+ In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store
+ the create time for a file as well as the DOS attributes. This is done in a backwards compatible
+ way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this
+ extended attribute by earlier versions of Samba, but they will not be able to read the create
+ time stored there. Storing the create time separately from the normal filesystem meta-data
+ allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem.
</para>
</description>
<value type="default">no</value>