Re: ext2 errors

Andries.Brouwer@cwi.nl
Tue, 8 Jul 1997 14:16:32 +0200


Theodore Y. Ts'o:

: Maybe we should have the IDE driver print something about "likely drive
: failure", and also more clearly identify which drive is failing. "dev
: 03:02" is simply not very descriptive for most people.

Yes. The routine kdevname() cannot easily do better at present,
e.g., because an integer kdev_t does not specify the device
uniquely - there are character devices and block devices
with the same major and minor numbers, and which is which
is only clear from the context.
In the version where a kdev_t is a pointer to a structure,
the name of the device is available as a field in the structure,
and these messages will be a lot clearer.