Re: Accessing alternate data streams on NFSv4 server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Wed, 3 Sep 2014 11:14:13 +0200
Cedric Blancher <cedric.blancher@xxxxxxxxx> écrivait:

> is there any utility which can be used to access alternate data
> streams (which can be accessed on Solaris via O_XATTR or newer
> bash/ksh versions via cd -@) on Linux?
> 

Extended attributes work fine on various Linux filesystems, and are
accessible through samba and NFS. However AFAIK only Solaris supports
full alternate data streams (bigger than 64K). BTW from a quick google
search it looks like you're about the only one in the world using this
very idiosyncratic feature ;) -- all other references to this problem
comes from you on FreeBSD lists :)

I guess it would be too much work to implement in either Linux or
FreeBSD as the VFS doesn't really provide anything to support that
properly.

So your best bet is to check with preferably SmartOS, or
eventually OmniOS/IllumOS (all of them OpenSolaris forks);

or to write a samba module as a horrid hack to emulate the API and
store the big XATTRs into alternate files /alla/ .AppleDouble
(.SolarisDouble anyone?). I know, I know; it's ugly as sin but it seems
actually quite doable, if not actually easy.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux