when I list my files with the command find, I receive errors like this:
find: Can’t read directory entry. (//1/home/jdibv/src/back1912): Bad file
descriptor
find: Error closing directory. (//1/home/jdibv/src/back1912): Bad file
descriptor
find: Can’t read directory entry. (//1/home/jdibv/src): Bad file
descriptor
find: Error closing directory. (//1/home/jdibv/src): Bad file descriptor
Why I receive this errors? How to avoid them?
Two things, run chkfsys to ensure the filesystem is intact.
Second make sure you have the latest version of QNX (4.25E);
I have this vague recollection that it was fixed in a patch
(really not sure)
Is it possible that these are sym-links that are no longer (or at least not
currently) valid?
That would be my guess.
You can create a sym-link to something and then remove (or unmount) the
something. But the symlink is still there. If the files/directories were
on a removable device, it isn’t really and “error” so much as a “status”
condition. You can just remount the device and all is well again. A
mounted floppy would be a good example.
when I list my files with the command find, I receive errors like this:
find: Can’t read directory entry. (//1/home/jdibv/src/back1912): Bad
file
descriptor
find: Error closing directory. (//1/home/jdibv/src/back1912): Bad file
descriptor
find: Can’t read directory entry. (//1/home/jdibv/src): Bad file
descriptor
find: Error closing directory. (//1/home/jdibv/src): Bad file descriptor
Why I receive this errors? How to avoid them?
Two things, run chkfsys to ensure the filesystem is intact.
Second make sure you have the latest version of QNX (4.25E);
I have this vague recollection that it was fixed in a patch
(really not sure)