gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] [HEY TOM!] unhelpful error for unreadable directories


From: Aaron Bentley
Subject: [Gnu-arch-users] [HEY TOM!] unhelpful error for unreadable directories
Date: Fri, 23 Apr 2004 19:04:32 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

This came up again in IRC last night. An unreadable directory caused inventory traversal to halt with:

PANIC: i/o error in arch_inventory_traversal/is_nested_tree

No filename, no perror-style message. We ended up using strace to find the problem.

There's another error in traversal that does work this way:
i/o error during inventory traversal (%s) for %s\n", errno_to_string (errn), file

I'd like to do that here, but, the filename in question is $foo/{arch}, where $foo may or may not be a directory, and {arch} usually doesn't exist.

Any suggestions for how to handle this?

Aaron




reply via email to

[Prev in Thread] Current Thread [Next in Thread]