From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 20 20:11:49 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BC3A1065674 for ; Thu, 20 Mar 2008 20:11:49 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from service1.sh.cvut.cz (service1.sh.cvut.cz [147.32.127.214]) by mx1.freebsd.org (Postfix) with ESMTP id 489168FC22 for ; Thu, 20 Mar 2008 20:11:49 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service1.sh.cvut.cz (Postfix) with ESMTP id EDC7F1237AD; Thu, 20 Mar 2008 20:54:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at service1.sh.cvut.cz X-Spam-Score: -0.093 X-Spam-Level: X-Spam-Status: No, score=-0.093 tagged_above=-255 required=5 tests=[AWL=0.307, CRM114_HAM_00=, JR_RCVD_TOO_FEW_HOPS=0.6] Received: from service1.sh.cvut.cz ([127.0.0.1]) by localhost (service1.sh.cvut.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zXUvhSvwCHx6; Thu, 20 Mar 2008 20:54:01 +0100 (CET) Received: from [192.168.1.2] (r4v24.net.upc.cz [84.42.149.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by service1.sh.cvut.cz (Postfix) with ESMTP id BC6EB1237B1; Thu, 20 Mar 2008 20:54:01 +0100 (CET) Message-ID: <47E2C0DC.1070607@sh.cvut.cz> Date: Thu, 20 Mar 2008 20:54:04 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-hackers X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9F714A076632042089C599B3" Subject: fpathconf() and extended attributes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 20:11:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9F714A076632042089C599B3 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, I am trying to detect whether it is possible to set extended attributes o= n a=20 file/fd. Now, fpathconf() seems like it could be the right thing but=20 pathconf(2) doesn't mention extended attributes at all and neither does=20 statfs(2). Is there any other way how to detect extended attributes avail= ability? -- VH --------------enig9F714A076632042089C599B3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH4sDnoUFWwtEPkHIRCGHgAJ42/aobiP4kO0vYl8cZ4Vt9qie1QwCfdD2E IHrSju1shgdNXGbhCs/I/7g= =GWzQ -----END PGP SIGNATURE----- --------------enig9F714A076632042089C599B3--