2001-03-17 06:47:14 +08:00
|
|
|
/* vi: set sw=4 ts=4: */
|
|
|
|
/*
|
|
|
|
* Utility routines.
|
|
|
|
*
|
2004-03-15 16:29:22 +08:00
|
|
|
* Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
|
2001-03-17 06:47:14 +08:00
|
|
|
*
|
2006-05-20 03:29:19 +08:00
|
|
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
2001-03-17 06:47:14 +08:00
|
|
|
*/
|
|
|
|
|
2001-04-02 00:01:11 +08:00
|
|
|
#include "libbb.h"
|
2001-03-17 06:47:14 +08:00
|
|
|
|
2004-03-15 16:29:22 +08:00
|
|
|
/* Busybox mount uses either /proc/mounts or /etc/mtab to
|
|
|
|
* get the list of currently mounted filesystems */
|
2006-11-25 05:54:44 +08:00
|
|
|
const char bb_path_mtab_file[] =
|
|
|
|
USE_FEATURE_MTAB_SUPPORT("/etc/mtab")SKIP_FEATURE_MTAB_SUPPORT("/proc/mounts");
|