diff options
| author | Ray Strode <rstrode@redhat.com> | 2007-06-11 14:38:09 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2007-06-11 14:38:09 -0400 |
| commit | 52f531cc66fda147ec98e6f2074754693d5f5f91 (patch) | |
| tree | e878590902c32e9ff1199d98684a611d82c3e057 /src/libply/ply-utils.c | |
| parent | 9cfc27cacc1b96092a19f6bb175657d916401374 (diff) | |
| download | plymouth-52f531cc66fda147ec98e6f2074754693d5f5f91.tar.gz plymouth-52f531cc66fda147ec98e6f2074754693d5f5f91.tar.xz plymouth-52f531cc66fda147ec98e6f2074754693d5f5f91.zip | |
drop lame ply_filesystem_is_mounted function
Diffstat (limited to 'src/libply/ply-utils.c')
| -rw-r--r-- | src/libply/ply-utils.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/libply/ply-utils.c b/src/libply/ply-utils.c index 172668b..3930fd3 100644 --- a/src/libply/ply-utils.c +++ b/src/libply/ply-utils.c @@ -567,23 +567,6 @@ ply_file_exists (const char *file) return S_ISREG (file_info.st_mode); } -bool -ply_file_system_is_mounted (const char *type, - const char *path) -{ - if (!ply_directory_exists (path)) - return false; - - /* XXX: lammmeeee - */ - if (strcmp (type, "proc") == 0) - return ply_directory_exists ("/proc/1"); - - /* FIXME: should check with getmntent() on /etc/mtab or /proc/mounts - */ - return true; -} - ply_module_handle_t * ply_open_module (const char *module_path) { |
