From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 26 17:34:24 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7823DFF3; Tue, 26 Nov 2013 17:34:24 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 368912F67; Tue, 26 Nov 2013 17:34:24 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id at1so9423256iec.7 for ; Tue, 26 Nov 2013 09:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=0SMUPu5jk+v4jPc4Pqpia0UGnWU2P/MVqePqkY0A9JE=; b=hQXKSnNbbZ/bmm9XiLvX4JJKmYk0AIHIq49mmqLCetHQMt+CS6WoiJJFqo7e533YuS 2JARu/V8hyhACO7ytcbQbovLRR3s5zaZPC7U+JtHnUURHH/FM7z/FfDKmjnHsBQipCzL Qs56yXBE55Hkw12ubG2PpxuxLfNar4NvpTPNejOs8EG4JnXXBO2uEsoKAcgZ+vYSmBln PPu4zoL9wYpuz6A758JTKEMhaBnvZ6rzlVsItdL6Q52tZ3bAfehVgGRfBthU+62BR0oA qGBYCZ8yivPjiNUFSqpybXX/KoROA2lg74LsUHn3XUudowQHp33gU1v422gywabCJI4y rUKg== MIME-Version: 1.0 X-Received: by 10.50.50.169 with SMTP id d9mr18194574igo.28.1385487263670; Tue, 26 Nov 2013 09:34:23 -0800 (PST) Received: by 10.50.225.70 with HTTP; Tue, 26 Nov 2013 09:34:23 -0800 (PST) In-Reply-To: References: <1934C2F2-C380-4689-A811-61BB0009BA6B@gmail.com> Date: Tue, 26 Nov 2013 18:34:23 +0100 Message-ID: Subject: Re: Alternate Data Stream Support in FreeBSD (was Re: O_XATTR support in FreeBSD?) From: Cedric Blancher To: Matthew Fleming Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: Rick Macklem , Freebsd hackers list , Richard Yao , Pedro Giffuni , Jordan Hubbard , Lionel Cons X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 17:34:24 -0000 On 26 November 2013 18:17, Matthew Fleming wrote: > On Tue, Nov 26, 2013 at 9:08 AM, Jordan Hubbard > wrote: >> >> >> On Nov 26, 2013, at 4:27 AM, Lionel Cons wrot= e: >> > Could we first agree what we are talking about, please? I'm a bit new >> > to this thread, but AFAIK we are talking about the Windows Alternate >> > Data Streams as they appear in networked filesystem like NFSv4 and >> > CIFS and physical filesystems like NTFS, ZFS and Solaris UFS, right? >> > ACLs have no direct relation to those streams. >> >> Actually, I didn=92t think we were talking about alternate data streams >> myself. Conceptually they=92re equivalent, I guess, but I=92ve always t= hrough >> they were somewhat overkill and I=92ve yet to encounter an application t= hat >> seriously uses them. > > > Anyone implementing a SMB/CIFS filesystem on top of FreeBSD (e.g. a vendo= r) > will need to come up with support for ADS. Whether or not any "FreeBSD" > application has use for them is maybe beside the point -- vendors have a = use > for support. Though probably every vendor who wants them has already cod= ed > their own variant. +1 BTW: FreeBSD uses ZFS as main file system, and ZFS has native O_XATTR support (aka Alternate Data Streams). How hard is it to add O_XATTR, VFS_XATTR and FXATTR in the FreeBSD vfs layer? Ced --=20 Cedric Blancher Institute Pasteur