Have the same problem (this time cause by udev, which remounts the old static /dev in a place not accesible by normal users, but I guess that's an whole other bug). Solution one is using the /etc/discusrc file and adding the dirs you want to skip. Nicer solution would be if it just gave an error message and continued listing the other mount points. So here's a quick patch that does that, it doesn't do any fancy formatting on the error message though.
--- /usr/bin/discus 2003-11-04 05:04:17 +0100 +++ ./discus 2005-03-17 19:50:59 +0100 @@ -448,11 +448,13 @@ ## Create a disk object for each mount, and print a report. for count in range(0, len(devices)): - disk = Disk(devices[count], mounts[count]) - print disk.report() + try: + disk = Disk(devices[count], mounts[count]) + print disk.report() + except OSError, e: + print "%s %s" % (mounts[count],e.strerror) + - - ## Run the main program. if __name__ == "__main__": -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]