From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,4f349758c918a275 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.58.207.43 with SMTP id lt11mr500369vec.17.1347644640308; Fri, 14 Sep 2012 10:44:00 -0700 (PDT) Path: ed8ni64862666wib.0!nntp.google.com!feeder3.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.11.MISMATCH!feed.xsnews.nl!border-1.ams.xsnews.nl!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada bindings for filesystems Date: Fri, 7 Sep 2012 09:44:44 +0200 Organization: cbb software GmbH Message-ID: <1pa0my8zf2vb8$.7ha42g7xv1jr.dlg@40tude.net> References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-09-07T09:44:44+02:00 List-Id: On Fri, 07 Sep 2012 09:23:14 +0200, Dirk Heinrichs wrote: >> I would like to know, for which filesystems is an Ada binding already >> available? Possibly, a binding that also supports extended attributes. > > Usually, there is no such thing as language bindings to specific filesystems > as applications do not need to know fs specific things. To handle extended > attributes/ACLs from within your application, you'd need low level OS > bindings (for libacl.so and/or libattr.so). Don't know wether they exist, > though. I am not sure if bindings to GIO could qualify, since GIO actually tries to abstract the underlying filesystem. I have incomplete bindings to GIO, mainly its parts which would replace Ada.Directories. So it does not include GFileAttribute for now. http://developer.gnome.org/gio/stable/gio-GFileAttribute.html Is this what needed? I cannot tell if AdaCore is going to support GIO in the coming GtkAda 3.x. If they aren't, I could consider adding it to the GtkAda contributions. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de