From owner-freebsd-fs Fri Mar 1 13:50:16 2002 Delivered-To: freebsd-fs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 9363D37B405 for ; Fri, 1 Mar 2002 13:50:12 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id g21LnxD95578; Fri, 1 Mar 2002 16:49:59 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 1 Mar 2002 16:49:59 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Luca Severini Cc: freebsd-fs@freebsd.org Subject: Re: get/setattrlist functions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 You probably want to send this e-mail to the Darwin Development mailing list, darwin-development@lists.apple.com, since this is more strictly a Darwin question than a FreeBSD question. The get/setattrlist() vnode operations (and system calls) are not present on the FreeBSD side. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Mon, 25 Feb 2002, Luca Severini wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message