From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17817 invoked by alias); 20 Oct 2003 12:41:53 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 17734 invoked from network); 20 Oct 2003 12:41:49 -0000 Received: from unknown (HELO lorien.elatec.si) (193.77.58.106) by sources.redhat.com with SMTP; 20 Oct 2003 12:41:49 -0000 Received: from elatec.si (onix [10.0.0.253]) by lorien.elatec.si (8.11.6/8.11.6) with ESMTP id h9KCiRx12429 for ; Mon, 20 Oct 2003 14:44:27 +0200 Message-ID: <3F93D904.7090204@elatec.si> Date: Mon, 20 Oct 2003 12:41:00 -0000 From: Savin Zlobec User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ecos-discuss@sources.redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [ECOS] Filesystem get/setinfo X-SW-Source: 2003-10/txt/msg00343.txt.bz2 I need to write some filesystem specific functions. The get/setinfo calls seem to be the right way to do this, but I can't find any functions to access them from my application. The following functions would do the trick for me: int cyg_fs_getinfo(const char *path, int key, void *buf, int len); int cyg_fs_setinfo(const char *path, int key, void *buf, int len); int cyg_fs_fgetinfo(int fd, int key, void *buf, int len); int cyg_fs_fsetinfo(int fd, int key, void *buf. int len); Or is there any way to do this already without accessing internal structures? savin -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss