summaryrefslogtreecommitdiffstats
path: root/include/fs.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-09-27 23:26:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-29 12:11:14 +0200
commit7a1c5027f998f20ee6b3a681903f64105a4e8014 (patch)
tree64b47a7f1f54b5d9146d722b42fcabd69ad706d5 /include/fs.h
parentd915fcbc6d55a200bcc3ae65d6edd1ea234a00f3 (diff)
downloadbarebox-7a1c5027f998f20ee6b3a681903f64105a4e8014.tar.gz
barebox-7a1c5027f998f20ee6b3a681903f64105a4e8014.tar.xz
mount: implement -v option to print available filesystems
It's useful to know which filesystems a barebox binary supports. Add a -v option to the mount command to find it out. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fs.h')
-rw-r--r--include/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h
index b82c246557..5b4ad6f855 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -87,6 +87,7 @@ struct fs_driver_d {
extern struct list_head fs_device_list;
#define for_each_fs_device(f) list_for_each_entry(f, &fs_device_list, list)
+extern struct bus_type fs_bus;
struct fs_device_d {
char *backingstore; /* the device we are associated with */