summaryrefslogtreecommitdiffstats
path: root/include/fs.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-09-28 00:02:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-30 16:03:02 +0200
commitcd1622738337b5564cc4d2b8f99832fb50bdeb06 (patch)
tree001def07ba755534c37b2f73190d8fefb2fb8085 /include/fs.h
parent4dda27ce490e13901e59f108db980052afefc4fb (diff)
downloadbarebox-cd1622738337b5564cc4d2b8f99832fb50bdeb06.tar.gz
barebox-cd1622738337b5564cc4d2b8f99832fb50bdeb06.tar.xz
fs: add cdev mount helpers
Introduce helpers to iterate over cdevs and mount them to a known path. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fs.h')
-rw-r--r--include/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h
index 5b4ad6f855..99f1689835 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -194,5 +194,8 @@ void automount_print(void);
int unlink_recursive(const char *path, char **failedpath);
int fsdev_open_cdev(struct fs_device_d *fsdev);
+const char *cdev_get_mount_path(struct cdev *cdev);
+const char *cdev_mount_default(struct cdev *cdev);
+void mount_all(void);
#endif /* __FS_H */