patch-1.3.64 linux/fs/proc/array.c

Next file: linux/fs/proc/root.c
Previous file: linux/fs/msdos/msdosfs_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.63/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -775,6 +775,7 @@
 #endif
 extern int get_device_list(char *);
 extern int get_filesystem_list(char *);
+extern int get_filesystem_info( char * );
 extern int get_irq_list(char *);
 extern int get_dma_list(char *);
 extern int get_cpuinfo(char *);
@@ -846,6 +847,9 @@
 #endif
 		case PROC_CMDLINE:
 			return get_cmdline(page);
+
+                case PROC_MTAB:
+                       return get_filesystem_info( page );
 	}
 	return -EBADF;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this