Hiya. :-)
I'm having some issues with a piece of software I've written. It works
fine in general, but at my local file server I've got some problems.
The thing that's acting up is a dir handle. I opendir() it, and I can
read fine from it. A bit later in the programs execution, and readdir()
Hi,
Sandino Flores Moreno:
I'm using aufs to compile.
:::
The embedded file systems lives in another aufs (so I can have all the
produced or installed files in within the changes branch for that system).
Do you mean you have two aufs mounted, like this?
# mount -t aufs -o
Jrgen_P._Tjern:
The thing that's acting up is a dir handle. I opendir() it, and I can
read fine from it. A bit later in the programs execution, and readdir()
returns NULL (right after I rewinddir()), and errno is not set.
So your application calls,
{
opendir();
readdir();
You need to enable CONFIG_AUFS_DEBUG. It will print debug messages to
syslog.
One more note,
You need to configure /etc/syslog.conf and /proc/sys/kernel/printk to
receive kernel debug message. For example,
# echo 8 /proc/sys/kernel/printk
(/etc/syslog.conf)
kern.debug /var/log/debug.log
#