[BusyBox-cvs] busybox/libbb mtab_file.c,1.5,1.6

Erik Andersen andersen at codepoet.org
Thu Feb 27 03:14:07 UTC 2003


Update of /var/cvs/busybox/libbb
In directory winder:/tmp/cvs-serv17642/libbb

Modified Files:
	mtab_file.c 
Log Message:
Write all the help text for the util-linux utilities.  Allow
people to locate the mtab file somewhere other that /etc to
accomodate read only root filesystems.
 -Erik


Index: mtab_file.c
===================================================================
RCS file: /var/cvs/busybox/libbb/mtab_file.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- mtab_file.c	5 Dec 2002 07:24:07 -0000	1.5
+++ mtab_file.c	27 Feb 2003 03:14:04 -0000	1.6
@@ -26,7 +26,7 @@
 /* Busybox mount uses either /proc/mounts or /etc/mtab to 
  * get the list of currently mounted filesystems */ 
 #if defined CONFIG_FEATURE_MTAB_SUPPORT
-const char mtab_file[] = "/etc/mtab";
+const char mtab_file[] = CONFIG_FEATURE_MTAB_FILENAME;
 #else
 const char mtab_file[] = "/proc/mounts";
 #endif




More information about the busybox-cvs mailing list