[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with libstore.
From: |
Harley D. Eades III |
Subject: |
Help with libstore. |
Date: |
14 Aug 2004 12:17:41 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Hello,
I am working on the fdisk interface to libparted. While, coding
fdisk I have been fixing problems with parted as well. I have parted working
very well. The only problem I am having trouble solving is when parted
auto-probes for all devices libstore outputs a screen full of errors.
For example:
/home/hde/PATCHED_parted-1.6.11/parted/.libs/parted: cannot load
libstore_/dev/sd0.so.0.3: libstore_/dev/sd0.so.0.3: cannot open
shared object file: No such file or directory.
I took a look at LIBSTORE/module.c and notices the function open_class returns
EGRATUITOUS. I looked it up and I have read
"Tomas Bushnell added, "More precisely EGRATUITOUS officially
means that some server has responded in an impossible or protocol-violating
fashion. There are some cases in the Hurd where EGRATUITOUS is returned and
probably something else should be chosen instead."".
Now knowing this I would think the error code returned for No such file or dir
would be ENOENT, is this a good idea? If we find a suitable error code we can
remove the stderr output embedded in libstore and the calling program could
output what they like if they like which would be a lot cleaner.
Thanks
hde
- Help with libstore.,
Harley D. Eades III <=