On Wed, 2005-08-24 at 15:52 +0100, Anton Altaparmakov wrote:
> On Wed, 24 Aug 2005, Yura Pakhuchiy wrote:
> > On Wed, 2005-08-24 at 15:38 +0100, Anton Altaparmakov wrote:
> > > > > > no one (expect maybe resiser4) provide them and use them for storing
> > > > > > xattrs (with namespace prefix 'user.'). IMHO it's brain-damaged to store
> > > > > > something big in names data streams (better create directory and store
> > > > > > all as files), but named data streams is rocks for metadata (like
> > > > > > mime-type, encoding, artist (for music), resolution (for pictures)).
> > > > > > xattr are for designed for same thing. So why not? BTW, I think it's the
> > > > > > only way to provide access to xattrs from windows too, user can use
> > > > > > "file:stream" interface in windows.
> > > > > >
> > > > > > About mount option for "file:stream" interface, I think it's good idea,
> > > > > > thus we will also solve problem of accessing to named data streams that
> > > > > > bigger than 64K.
> > > > >
> > > > > Indeed.
> > > >
> > > > Name suggestions for such option?
> > >
> > > How about: "named_stream_interface=windows"? And by default it would be
> > > "named_stream_interface=none". That would allow in future to use
> > > "named_stream_interface=openat" or whatever gets implemented as standard
> > > on Linux one day...
> >
> > OK, what about "named_stream_interface=xattr" for those who wants such?
>
> Sure, but that has the caveat of the 64k, so maybe a warning at mount time
> "WARNING: named_stream_interface=xattr option used. This will cause all
> you named streams to be truncated to 64k if they are written to."
I think much better forbid reading/writing more than 64k than truncate
them to 64k.
> > And maybe call it "named_streams_interface"?
>
> I was trying to keep it short. (-; I had named_streams myself but
> removed the "s" before sending. But I don't really care. If you prefer
> it with the "s" then go ahead an add it. Anyone else have any strong
> feelings on the with s or without s issue?
;-) Yes, I noticed that mount option getting very long, but don't
thought that one letter will change something. I proposed with s because
it sounds better, but I don't really care too.
--
Best regards,
Yura
|