[lkml]   [2005]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: FAT, NTFS, CIFS and DOS attributes wrote:
> Thats taken from Samba4, where it is fully implemented. I guess Steve
> is planning on integrating cifsfs with the Samba4 way of handling EAs,
> NT ACLs, attribs, streams etc at some stage.
> See
> for a full definition of the structures we use.
> I used a NDR encoding in each of the xattrs to provide a well defined
> architecture independent encoding, and an easy way to extend the
> structure in the future (thats why DosAttrib is a union with a version
> switch).

Oh geez. Couldn't you have split out the various data items into
separate xattrs? This seems to be a really bad user interface,
especially for writing (can't chmod the file without poking at all the
other data items), except for a non-DOS-based filesystem to keep data
for Samba itself. Samba clearly has other needs than other users,
although of course it would be unfortunate if Samba then can't export
this information.

In other words, I'm inclined to define simple system attributes or just
go back to the original ioctl() patch for the DOS filesystems as seen by
the kernel.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:09    [W:0.190 / U:1.324 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site