Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 17:10:52 +0100
From:      Luca Severini <lucaseverini@mac.com>
To:        <freebsd-fs@freebsd.org>
Subject:   get/setattrlist functions
Message-ID:  <B8A0209B.E5D%lucaseverini@mac.com>

next in thread | raw e-mail | index | archive | help
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 <sys/attr.h> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8A0209B.E5D%lucaseverini>