From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Allison Subject: Re: Alternate Data Streams Date: Mon, 2 Apr 2012 10:23:46 -0700 Message-ID: <20120402172346.GA6980@samba2> References: Reply-To: Jeremy Allison Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Steve French , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel To: Richard Sharpe Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Mon, Apr 02, 2012 at 10:21:31AM -0700, Richard Sharpe wrote: > On 4/2/12, Steve French wrote: > > A user was asking about how to query alternate data streams of files > > (over cifs) remotely for backup. > > > > Alternate Data Streams can be read from cifs (e.g. > > /path/filename:streamname) but not listed or created. Any thoughts > > about whether this (at least listing the streams) should be done via > > an ioctl, xattr or ...? > > Well, FindFirstStreamW and FindNextStreamW seem to available from > W2K03 on. There is a code project out there that you can search on. I > hit it as the first link returned when I searched for "Enumerating > Alternate Data Streams" Remember Alternate Data Streams are dead from ReFS-onwards (thank god :-).