Quantcast

SETATTR error: -38 (Function not implemented)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SETATTR error: -38 (Function not implemented)

andreas bohne
Hi,

I am writing a new fs and have the problem that a binaray file could not copied.

The reason seems that the SETATTR functions is not implemented (but BTW it could not be set in the fuse_operations).


My call is 'cp -r  dtsmfs /mnt/tsm' where /mnt/tsm is my fuse fs.

Problem:
> unique: 31, opcode: SETATTR (4), nodeid: 4, insize: 128
>   unique: 31, error: -38 (Function not implemented), outsize: 16

Any idea how to fix this?


Greetings -- Andreas



Inforation that coud be heldful:

Fuse API 25

I am running a Linux 2.6.20 with extra compiled fuse module fuse-2.7.4 (
--enable-kernel-module  --enable-lib  --enable-util --enable-example)


The followin functions are implemented:

        getattr:        tsm_getattr,
        readlink:       NULL,
        getdir:         NULL,
        mknod:          tsm_mknode,
        mkdir:          tsm_mkdir,
        unlink:         tsm_unlink,
        rmdir:          tsm_rmdir,
        symlink:        NULL,
        rename:         NULL,
        link:           NULL,
        chmod:          NULL,
        chown:          NULL,
        truncate:       NULL,
        utime:          NULL,
        open:           tsm_open,
        read:           tsm_read,
        write:          tsm_write,
        statfs:         NULL,
        flush:          NULL,
        release:        tsm_close,
        fsync:          NULL,
        setxattr:       NULL,
        getxattr:       NULL,
        listxattr:      NULL,
        removexattr:    NULL,
        opendir:        NULL,
        readdir:        tsm_readdir,
        releasedir:     NULL,
        fsyncdir:       NULL,
        init:           tsm_init,
        destroy:        tsm_destroy,
        access:         NULL,
        create:         NULL,
        ftruncate:      NULL,
        fgetattr:       NULL

LOOKUP /dtsmfs
unique: 24, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 24, error: 0 (Success), outsize: 96
unique: 25, opcode: GETATTR (3), nodeid: 1, insize: 40
unique: 26, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 26, error: 0 (Success), outsize: 96
unique: 27, opcode: GETATTR (3), nodeid: 1, insize: 40
   NODEID: 2
   unique: 23, error: 0 (Success), outsize: 136
unique: 28, opcode: LOOKUP (1), nodeid: 2, insize: 47
LOOKUP /dtsmfs/dtsmfs
   unique: 25, error: 0 (Success), outsize: 112
   unique: 27, error: 0 (Success), outsize: 112
   unique: 22, error: 0 (Success), outsize: 16
   NODEID: 4
   unique: 28, error: 0 (Success), outsize: 136
unique: 29, opcode: LOOKUP (1), nodeid: 1, insize: 47
LOOKUP /dtsmfs
   NODEID: 2
   unique: 29, error: 0 (Success), outsize: 136
unique: 30, opcode: LOOKUP (1), nodeid: 2, insize: 47
LOOKUP /dtsmfs/dtsmfs
   NODEID: 4
   unique: 30, error: 0 (Success), outsize: 136
unique: 31, opcode: SETATTR (4), nodeid: 4, insize: 128
   unique: 31, error: -38 (Function not implemented), outsize: 16
unique: 32, opcode: LOOKUP (1), nodeid: 1, insize: 47
LOOKUP /dtsmfs
   NODEID: 2
   unique: 32, error: 0 (Success), outsize: 136
unique: 33, opcode: LOOKUP (1), nodeid: 2, insize: 46
LOOKUP /dtsmfs/tmp.x

--
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SETATTR error: -38 (Function not implemented)

Goswin von Brederlow-2
"andreas bohne" <[hidden email]> writes:

> Hi,
>
> I am writing a new fs and have the problem that a binaray file could not copied.
>
> The reason seems that the SETATTR functions is not implemented (but BTW it could not be set in the fuse_operations).
>
>
> My call is 'cp -r  dtsmfs /mnt/tsm' where /mnt/tsm is my fuse fs.
>
> Problem:
>> unique: 31, opcode: SETATTR (4), nodeid: 4, insize: 128
>>   unique: 31, error: -38 (Function not implemented), outsize: 16
>
> Any idea how to fix this?
>
>
> Greetings -- Andreas
>
>
>
> Inforation that coud be heldful:
>
> Fuse API 25
>
> I am running a Linux 2.6.20 with extra compiled fuse module fuse-2.7.4 (
> --enable-kernel-module  --enable-lib  --enable-util --enable-example)
...
>         chmod:          NULL,
>         chown:          NULL,
>         utime:          NULL,

Those three.

MfG
        Goswin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fuse-devel
Loading...