2001-03-16 22:47:14 +00:00
|
|
|
/* vi: set sw=4 ts=4: */
|
|
|
|
/*
|
|
|
|
* Utility routines.
|
|
|
|
*
|
2004-03-15 08:29:22 +00:00
|
|
|
* Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
|
2001-03-16 22:47:14 +00:00
|
|
|
*
|
2010-08-16 18:14:46 +00:00
|
|
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
2001-03-16 22:47:14 +00:00
|
|
|
*/
|
|
|
|
|
2001-04-01 16:01:11 +00:00
|
|
|
#include "libbb.h"
|
2001-03-16 22:47:14 +00:00
|
|
|
|
2004-03-15 08:29:22 +00:00
|
|
|
/* Busybox mount uses either /proc/mounts or /etc/mtab to
|
|
|
|
* get the list of currently mounted filesystems */
|
2007-08-12 20:58:27 +00:00
|
|
|
const char bb_path_mtab_file[] ALIGN1 =
|
2009-04-21 11:09:40 +00:00
|
|
|
IF_FEATURE_MTAB_SUPPORT("/etc/mtab")IF_NOT_FEATURE_MTAB_SUPPORT("/proc/mounts");
|