Bug 2205 - [patch] Support setting file creation time in VFS layer
Summary: [patch] Support setting file creation time in VFS layer
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.6
Hardware: All Linux
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-02 01:20 UTC by yuval yeret
Modified: 2009-02-12 12:55 UTC (History)
0 users

See Also:


Attachments
suggested VFS creation time patch (9.72 KB, patch)
2005-01-02 01:21 UTC, yuval yeret
no flags Details
clean patch against 3.0.10 (13.58 KB, patch)
2005-01-03 02:01 UTC, yuval yeret
no flags Details
clean patch against 3.0.10 (13.58 KB, patch)
2005-01-03 02:02 UTC, yuval yeret
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description yuval yeret 2005-01-02 01:20:06 UTC
Today Samba doesn't provide a way to pass file creation time to an underlying FS
via the VFS layer. 

This is reasonable for traditional Unix FSs which don't really have a file
creation time field, but is insufficient for advanced FSs which try harder to be
an NTFS-like FS. 

Attached is a suggested patch, which extends the VFS layer to allow setting file
creation time. The default vfs doesn't do anything with it, but other custom
VFSs can use the passed information to do something smarter with it.
Comment 1 yuval yeret 2005-01-02 01:21:21 UTC
Created attachment 874 [details]
suggested VFS creation time patch

This patch works together with a custom VFS layer.
Comment 2 yuval yeret 2005-01-03 00:22:03 UTC
Comment on attachment 874 [details]
suggested VFS creation time patch
Comment 3 yuval yeret 2005-01-03 02:01:05 UTC
Created attachment 875 [details]
clean patch against 3.0.10
Comment 4 yuval yeret 2005-01-03 02:02:17 UTC
Created attachment 876 [details]
clean patch against 3.0.10
Comment 5 James Peach 2007-05-18 23:13:28 UTC
I have  a (different) patch that adds a VFS operation to set the create time.
Comment 6 Björn Jacke 2009-02-12 12:55:37 UTC
the vfs layer was recently extended by toddd stecher with commit 48b0016cff4bad621b