summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mount.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-10 17:06:33 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-10 17:06:33 +0000
commit703ddd70e5f5e15ee1da16c2c4f29cafff5662ce (patch)
treedcb72b94801ffe15fa5ad838b32a6e813a5b2a2f /mdk-stage1/mount.c
parentd76c8f91dddc6a0827a281e1501ef515f49ebfcd (diff)
downloaddrakx-backup-do-not-use-703ddd70e5f5e15ee1da16c2c4f29cafff5662ce.tar
drakx-backup-do-not-use-703ddd70e5f5e15ee1da16c2c4f29cafff5662ce.tar.gz
drakx-backup-do-not-use-703ddd70e5f5e15ee1da16c2c4f29cafff5662ce.tar.bz2
drakx-backup-do-not-use-703ddd70e5f5e15ee1da16c2c4f29cafff5662ce.tar.xz
drakx-backup-do-not-use-703ddd70e5f5e15ee1da16c2c4f29cafff5662ce.zip
in network mode we need to create nodes as well because of usb floppies support
Diffstat (limited to 'mdk-stage1/mount.c')
-rw-r--r--mdk-stage1/mount.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index e4fd2ddd8..ca2a083de 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -155,7 +155,6 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
struct stat buf;
int rc;
-#ifndef DISABLE_MEDIAS
if (strcmp(fs, "nfs")) {
rc = ensure_dev_exists(dev);
if (rc != 0) {
@@ -163,7 +162,6 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
return -1;
}
}
-#endif
log_message("mounting %s on %s as type %s", dev, location, fs);