http://git.samba.org/?p=tprouty/samba.git; a=shortlog; h=dos_attr_work

Henrik henke at mac.se
Tue Nov 11 20:22:04 GMT 2008


11 nov 2008 kl. 20.24 skrev James Peach:

> 2008/11/11 Henrik <henke at mac.se>:
>>
>> 11 nov 2008 kl. 01.12 skrev Tim Prouty:
>>
>>> Hi,
>>>
>>> The patch referenced in $SUBJECT adds support for storing dos  
>>> attributes
>>> as st_flags in the stat struct on systems that support it.
>>>
>>> Some filesystems can store dos attributes directly in the inode's  
>>> st_flags
>>> and access them through the stat struct.
>>>
>>> This patch:
>>> - Adds a configure check to see if the special flags are available.
>>> - Implements getting and setting dos attributes in the stat struct  
>>> and
>>> inode, respectively.
>>>
>>> This will not change the existing functionality of any system that  
>>> doesn't
>>> have the special flags available.
>>>
>>> Comment/suggestions?
>>
>> Will this also include the new special attributes for Vista  
>> indicating if it
>> is a Junction or Symbolik link?
>
> No, these attributes have nothing to do with junctions/symlinks, see
> <http://social.msdn.microsoft.com/Forums/en-US/os_fileservices/thread/aab25188-d2a6-4de1-aa5e-60b5a432f01a 
> >
Interesting link indeed. This should be integrated into libsmbclient  
IMHO =)

Henke


More information about the samba-technical mailing list