summaryrefslogtreecommitdiffstats
path: root/isys/imount.h
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-09-15 22:12:39 +0000
committerJeremy Katz <katzj@redhat.com>2005-09-15 22:12:39 +0000
commitaccc49c458eb7c7dc3660cbe65b3b34b340dfeef (patch)
tree4e1c594ecb74d73307820dccf1ac5bf29304456c /isys/imount.h
parent5e1e9a0619de4c5103a99379312fb71eb7de3a63 (diff)
downloadanaconda-accc49c458eb7c7dc3660cbe65b3b34b340dfeef.tar.gz
anaconda-accc49c458eb7c7dc3660cbe65b3b34b340dfeef.tar.xz
anaconda-accc49c458eb7c7dc3660cbe65b3b34b340dfeef.zip
2005-09-15 Jeremy Katz <katzj@redhat.com>
* isys/imount.c (doPwMount): Make arguments for doPwMount simpler. Use a bitmask of flags and pass extra data like mount(2). Use flags for nfs and pass arguments onto nfsmount(). Kill some dead code. * isys/imount.c (doPwMount): Update prototype, add constants. * isys/isys.c (doMount): Update for new API. * loader2/cdinstall.c: Likewise. * loader2/driverdisk.c: Likewise. * loader2/hdinstall.c: Likewise. * loader2/loader.c: Likewise. * loader2/method.c: Likewise. * loader2/nfsinstall.c: Likewise. * loader2/usb.c: Likewise.
Diffstat (limited to 'isys/imount.h')
-rw-r--r--isys/imount.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/isys/imount.h b/isys/imount.h
index 0907629b9..32cfafac0 100644
--- a/isys/imount.h
+++ b/isys/imount.h
@@ -6,8 +6,11 @@
#include <sys/mount.h> /* for umount() */
-int doPwMount(char * dev, char * where, char * fs, int rdonly, int istty,
- char * acct, char * pw, int bindmnt, int remount);
+#define IMOUNT_RDONLY 1
+#define IMOUNT_BIND 2
+#define IMOUNT_REMOUNT 4
+
+int doPwMount(char * dev, char * where, char * fs, int options, void * data);
int mkdirChain(char * origChain);
#endif