|
From: Steve K. <ste...@va...> - 2019-09-11 13:06:12
|
Ok, I found my problem. I link against wrong libfuse. Thanks for reading anyway. Steve On Wed, Sep 11, 2019 at 2:38 PM Steve KREYER <ste...@va...> wrote: > Hi, > > Iam trying to run hello.c example and when I want to list the directory > contents it gives: > > skreyer@debian:~/libfuse/example$ ls newdir/ > ls: reading directory 'newdir/': Function not implemented > > > The debug output of example.c looks like this: > > skreyer@debian:~/libfuse/example$ ./a.out -d -f -s newdir > FUSE library version: 2.9.7 > nullpath_ok: 0 > nopath: 0 > utime_omit_ok: 0 > unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 > INIT: 7.26 > flags=0x001ffffb > max_readahead=0x00020000 > INIT: 7.19 > flags=0x00000011 > max_readahead=0x00020000 > max_write=0x00020000 > max_background=0 > congestion_threshold=0 > unique: 1, success, outsize: 40 > getattr / > unique: 101, success, outsize: 120 > unique: 102, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 6442 > unique: 102, success, outsize: 32 > unique: 103, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 6442 > unique: 103, error: -38 (Function not implemented), outsize: 16 > unique: 104, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 > releasedir[0] flags: 0x0 > unique: 104, success, outsize: 16 > unique: 105, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 6443 > getattr / > unique: 105, success, outsize: 120 > unique: 106, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 6443 > unique: 106, success, outsize: 32 > unique: 107, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 6443 > unique: 107, error: -38 (Function not implemented), outsize: 16 > unique: 108, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 > releasedir[0] flags: 0x0 > unique: 108, success, outsize: 16 > > > I compiled the example with following command: > > skreyer@debian:~/libfuse/example$ gcc hello.c -I../include -lfuse > skreyer@debian:~/libfuse/example$ > > > I hope this is the right mailing list, please let me know if not and where > I can post my question to. > > Thanks in advance for any help. > > Steve > > -- > > Steve Kreyer > Research and Development / Software Design Engineer > Comfort & Driving Assistance Systems / Driving Assistance / Driving > Systems & Functions Bietigheim-Bissingen > > Tel: +49 (0) 7142 916-4104 > Fax: +49 (0) 7142 916-4104 > E-Mail: ste...@va... > > Valeo Schalter und Sensoren GmbH > Laiernstrasse 12 > 74321 Bietigheim-Bissingen, > Sitz der Gesellschaft: 74321 Bietigheim-Bissingen > Handelsregister: Amtsgericht Stuttgart - HRB 301795 > Vorsitzender des Aufsichtsrates: Knudt-Alexander Ziems > Geschäftsführer: Dr. Dirk Strothmann, Stiv Michael Smudja > -- Steve Kreyer Research and Development / Software Design Engineer Comfort & Driving Assistance Systems / Driving Assistance / Driving Systems & Functions Bietigheim-Bissingen Tel: +49 (0) 7142 916-4104 Fax: +49 (0) 7142 916-4104 E-Mail: ste...@va... Valeo Schalter und Sensoren GmbH Laiernstrasse 12 74321 Bietigheim-Bissingen, Sitz der Gesellschaft: 74321 Bietigheim-Bissingen Handelsregister: Amtsgericht Stuttgart - HRB 301795 Vorsitzender des Aufsichtsrates: Knudt-Alexander Ziems Geschäftsführer: Dr. Dirk Strothmann, Stiv Michael Smudja -- *This e-mail message is intended for the internal use of the intended recipient(s) only. The information contained herein is confidential/privileged. Its disclosure or reproduction is strictly prohibited. If you are not the intended recipient, please inform the sender immediately, do not disclose it internally or to third parties and destroy it. In the course of our business relationship and for business purposes only, Valeo may need to process some of your personal data. For more information, please refer to the Valeo Data Protection Statement and Privacy notice available on Valeo.com <https://www.valeo.com/en/ethics-and-compliance/#principes>* |