diff options
author | Karel Zak | 2010-07-26 16:26:27 +0200 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:40 +0100 |
commit | 0bb44be327c63544b1b6274fdf5507987954c02b (patch) | |
tree | f54f4473330eb912c09277dba7a87b5e801d7542 /shlibs/mount/src/mountP.h | |
parent | libmount: add mnt_copy_fs() and mnt_fs_set_root() (diff) | |
download | kernel-qcow2-util-linux-0bb44be327c63544b1b6274fdf5507987954c02b.tar.gz kernel-qcow2-util-linux-0bb44be327c63544b1b6274fdf5507987954c02b.tar.xz kernel-qcow2-util-linux-0bb44be327c63544b1b6274fdf5507987954c02b.zip |
libmount: add utils to get FS root/mountpoint
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r-- | shlibs/mount/src/mountP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h index 04876a0bf..59ffb94e3 100644 --- a/shlibs/mount/src/mountP.h +++ b/shlibs/mount/src/mountP.h @@ -73,6 +73,9 @@ extern int startswith(const char *s, const char *sx); extern char *mnt_get_username(const uid_t uid); extern int mnt_has_regular_mtab(void); +extern char *mnt_get_mountpoint(const char *path); +extern char *mnt_get_fs_root(const char *path); + /* * Generic iterator */ |