search for: nfs_debug

Displaying 3 results from an estimated 3 matches for "nfs_debug".

Did you mean: xfs_debug
2005 Jun 05
0
fancy dump_fs for nfsmount
...ount/mount.c 2005-06-04 15:07:52.000000000 +0200 @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <ctype.h> #include "nfsmount.h" #include "sunrpc.h" @@ -92,6 +93,32 @@ return (len + 3) & ~3; } + +#ifdef NFS_DEBUG +void hex_dump (const char *msg, const char *buf, int len) { + int i, done = 0; + printf ("%s: %p, length %d\n", msg, buf, len); + while (done < len) { + printf ("%04x: ", done); + for (i = done; i < done + 16; i++) { + if (i < len) + printf ("%02x ",...
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
...nfs_data.acregmin, nfs_data.acregmax, - nfs_data.acdirmin, nfs_data.acdirmax); - printk(KERN_NOTICE "Root-NFS: nfsd port = %d, mountd port = %d, flags = %08x\n", - nfs_port, mount_port, nfs_data.flags); -} -#endif - - -static int __init root_nfs_init(void) -{ -#ifdef NFSROOT_DEBUG - nfs_debug |= NFSDBG_ROOT; -#endif - - /* - * Decode the root directory path name and NFS options from - * the kernel command line. This has to go here in order to - * be able to use the client IP address for the remote root - * directory (necessary for pure RARP booting). - */ - if (root_nfs_name(nfs_ro...
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...t;, - nfs_data.acregmin, nfs_data.acregmax, - nfs_data.acdirmin, nfs_data.acdirmax); - printk(KERN_NOTICE "Root-NFS: nfsd port = %d, mountd port = %d, flags = %08x\n", - nfs_port, mount_port, nfs_data.flags); -} -#endif - - -int __init root_nfs_init(void) -{ -#ifdef NFSROOT_DEBUG - nfs_debug |= NFSDBG_ROOT; -#endif - - /* - * Decode the root directory path name and NFS options from - * the kernel command line. This has to go here in order to - * be able to use the client IP address for the remote root - * directory (necessary for pure RARP booting). - */ - if (root_nfs_name(nfs_ro...