From owner-freebsd-current Thu Jan 30 14:57: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1C3837B405 for ; Thu, 30 Jan 2003 14:57:06 -0800 (PST) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4EBB43F85 for ; Thu, 30 Jan 2003 14:57:05 -0800 (PST) (envelope-from vidalrod@web.de) Received: from pd950fdc8.dip.t-dialin.net ([217.80.253.200] helo=web.de) by smtp.web.de with asmtp (WEB.DE(Exim) 4.93 #1) id 18eNcG-0000Je-00 for freebsd-current@FreeBSD.ORG; Thu, 30 Jan 2003 23:57:05 +0100 Message-ID: <3E39ADBF.5000100@web.de> Date: Thu, 30 Jan 2003 23:57:03 +0100 From: =?ISO-8859-1?Q?David_Vidal_Rodr=EDguez?= Reply-To: vidalrod@in.tum.de User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; es-AR; rv:1.1) Gecko/20021211 X-Accept-Language: es-ar, es MIME-Version: 1.0 To: CURRENT Subject: copy extended attributes X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! After some investigation, I come to the conclusion that there is no means to copy the extended attributes of a file by using standard commands like cp (even with the -p option) or mv. At least it works with mv if the rename(2) syscall is used (ie. moves within the same filesystem), but as soon as it has to cross filesystems, extended attrs get lost. Naturally I'm speaking of copying from a UFS2 fs to a UFS2 fs. Am I missing something here or is it really a 'bug'? (or a feature, it depends :) ) Cheers, David. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+Oa2/K3CyMA5SxrwRAlJIAJ9PiRlDJzaKCbUgn6j7zP7uWPfNSACfaTJG Ok6dBmRefs6ezyJUlhJhIZE= =MLoF -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message