From owner-freebsd-fs Mon Feb 25 8:12:15 2002 Delivered-To: freebsd-fs@freebsd.org Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.85]) by hub.freebsd.org (Postfix) with ESMTP id 80DDA37B404 for ; Mon, 25 Feb 2002 08:12:13 -0800 (PST) Received: from smtp-relay02.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g1PGCDFD003540 for ; Mon, 25 Feb 2002 08:12:13 -0800 (PST) Received: from asmtp02.mac.com ([10.13.10.66]) by smtp-relay02.mac.com (Netscape Messaging Server 4.15 relay02 Jun 21 2001 23:53:48) with ESMTP id GS3JOC00.8KG for ; Mon, 25 Feb 2002 08:12:12 -0800 Received: from [194.59.183.223] ([194.59.183.223]) by asmtp02.mac.com (Netscape Messaging Server 4.15 asmtp02 Jun 21 2001 23:53:48) with ESMTP id GS3JOC00.F34 for ; Mon, 25 Feb 2002 08:12:12 -0800 User-Agent: Microsoft-Entourage/9.0.2509 Date: Mon, 25 Feb 2002 17:10:52 +0100 Subject: get/setattrlist functions From: Luca Severini To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi everybody, I'm porting a volume mirroring software, I developed years ago for A/UX and AIX, to MacOSX/Darwin. Unfortunately the way to store the resource fork and the Finder's attributes in MacOSX/Darwin is completely different than what A/UX and AIX used (files and folders). "More unfortunately" there is no official documentation about the two functions you must use to achieve that from a Mach-O software; I know I could use the Carbon API but I don't want to develop a real mac Application for now, I want only to port the old one. Does anybody of you know where/how is possible to obtain an exaustive explanation for those calls? (is anybody working at Apple listening?). Those are very import calls for whoever has to work with filesystems. Do anybody of you knows which of the values listed in I have to use with get/setattrlist() to get/set the "Appleshare" folder attribute that prevents the user to move, rename or delete such folder (from the MacOS9 Finder "Get Info" command) ? Thanks a lot in advance and sorry for my english. Best regards, Luca Severini email: lucaseverini@mac.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message