diff options
author | Eric Andersen | 2001-03-01 07:50:04 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-01 07:50:04 +0000 |
commit | 7b91f020217823736f59e9eccfc721b05b937807 (patch) | |
tree | b07ee09c54df47e3809f6433ee2cf24eb3abe5d5 /utility.c | |
parent | 93ba60f01d19f443187d8720fd8a93bdb890d4e5 (diff) | |
download | busybox-7b91f020217823736f59e9eccfc721b05b937807.zip busybox-7b91f020217823736f59e9eccfc721b05b937807.tar.gz |
Reduce the size of mount (and bypass /proc/filesystems) by using the sysfs
system call, based on work done by Glenn McGrath in December.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -63,8 +63,8 @@ #include <sys/syscall.h> #include <linux/unistd.h> -/* Busybox mount uses either /proc/filesystems or /dev/mtab to get the - * list of available filesystems used for the -t auto option */ +/* Busybox mount uses either /proc/mounts or /dev/mtab to + * get the list of currently mounted filesystems */ #if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF # if defined BB_MTAB const char mtab_file[] = "/etc/mtab"; |