[klibc] bdevname() interface to print a dev_t instead of %x

Add a bdevname() function to print a dev_t (for block devices);
for now print (%u,%u) but we can add sysfs search later.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
4 files changed