Re: NFS looking good!

H. J. Lu (hjl@freya.yggdrasil.com)
Tue, 25 Aug 1998 01:37:45 -0700 (PDT)


>
>
> On Mon, 24 Aug 1998, Bill Hawes wrote:
>
> > The "semaphore in use" messages are serious -- that really shouldn't be
> > happening. Is device 08:15 the NFS mount perchance?
>
> Hmm. If '08:15' means Major 8 / Minor 15, then there is no such device

No. It is in hex. I really don't like reading hex without "0x" :-(.
Linus, here is a patch.

> configured. However, I may just be displaying profound ignorance so let
> me know if that's not the case?
>

Thanks.

-- 
H.J. Lu (hjl@gnu.org)
----
--- linux/fs/devices.c.orig	Tue Aug 25 01:33:57 1998
+++ linux/fs/devices.c	Tue Aug 25 01:35:05 1998
@@ -343,6 +343,6 @@
 char * kdevname(kdev_t dev)
 {
 	static char buffer[32];
-	sprintf(buffer, "%02x:%02x", MAJOR(dev), MINOR(dev));
+	sprintf(buffer, "0x%02x:0x%02x", MAJOR(dev), MINOR(dev));
 	return buffer;
 }

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html