Changeset 1770 in MondoRescue for branches/stable/mindi-busybox/libbb/mtab_file.c
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi-busybox/libbb/mtab_file.c
r821 r1770 8 8 */ 9 9 10 #include <stdio.h>11 10 #include "libbb.h" 12 13 11 14 12 /* Busybox mount uses either /proc/mounts or /etc/mtab to 15 13 * get the list of currently mounted filesystems */ 16 #if defined(CONFIG_FEATURE_MTAB_SUPPORT) 17 const char bb_path_mtab_file[] = "/etc/mtab"; 18 #else 19 const char bb_path_mtab_file[] = "/proc/mounts"; 20 #endif 14 const char bb_path_mtab_file[] ALIGN1 = 15 USE_FEATURE_MTAB_SUPPORT("/etc/mtab")SKIP_FEATURE_MTAB_SUPPORT("/proc/mounts");
Note:
See TracChangeset
for help on using the changeset viewer.