EldoS | Feel safer!

Software components for data protection, secure storage and transfer

What is the meaning of different error id of nonzero in fusecbfs?

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#26972
Posted: 10/24/2013 01:54:37
by lingbo meng (Basic support level)
Joined: 09/16/2013
Posts: 24

Like these:
error = fs->statfs()("/", &vi);
error = fs->mkdir()(path, mode);
error = fs->create()(path, mode, fi);
then if(error!=0)
throw ECBFSError(CovertFUSEError(error));

What is the meaning of different error id of nonzero in fusecbfs?
#26973
Posted: 10/24/2013 02:05:17
by Eugene Mayevski (EldoS Corp.)

Please re-phrase your question -- it's not clear what "id" you are asking about.


Sincerely yours
Eugene Mayevski
#26974
Posted: 10/24/2013 02:53:31
by lingbo meng (Basic support level)
Joined: 09/16/2013
Posts: 24

What is the meaning of different error numbers(errno) of nonzero in fusecbfs?

When the error is EPERM(1) operating system show "MS-DOS is invalid".
When the error is EACCES(13),operating system show "Unable to read the source file or disk" .
#26975
Posted: 10/24/2013 03:02:52
by Eugene Mayevski (EldoS Corp.)

Forget about unix codes. Use Win32 error codes. See https://www.eldos.com/documentation/cb...dling.html for details.

No, we will not add unix-to-windows code translation to FUSE API because CBFS performs double-translation already and those multiple translations lead to unexpected error messages in Windows and applications, so adding one more translation will just add mess.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 698 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!