summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-07-12 22:33:12 +0000
committerErik Troan <ewt@redhat.com>2000-07-12 22:33:12 +0000
commit658c58eaecf9528f3ce6e082fe2b09408e85c61a (patch)
tree0d965c7673d2e417639a9d8878ccb68442a9e31d /fstab.py
parent9e31502093da8532eeffd51356773d79bb0c06b7 (diff)
downloadanaconda-658c58eaecf9528f3ce6e082fe2b09408e85c61a.tar.gz
anaconda-658c58eaecf9528f3ce6e082fe2b09408e85c61a.tar.xz
anaconda-658c58eaecf9528f3ce6e082fe2b09408e85c61a.zip
fixes for ls120 and fd0 handling
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/fstab.py b/fstab.py
index eeb9dae3d..284de0ca2 100644
--- a/fstab.py
+++ b/fstab.py
@@ -673,7 +673,7 @@ class Fstab:
isys.mount('/proc', instPath + '/proc', 'proc')
- def write(self, prefix, fdDevice = None):
+ def write(self, prefix):
format = "%-23s %-23s %-7s %-15s %d %d\n";
f = open (prefix + "/etc/fstab", "w")
@@ -703,10 +703,6 @@ class Fstab:
f.write (format % ( devName, mntpoint, fs, 'noauto,owner', 0, 0))
else:
f.write (format % ( devName, mntpoint, fs, 'defaults', 0, 0))
- if fdDevice:
- f.write (format % ("/dev/" + fdDevice, "/mnt/floppy", 'auto',
- 'noauto,owner', 0, 0))
-
f.write (format % ("none", "/proc", 'proc', 'defaults', 0, 0))
f.write (format % ("none", "/dev/pts", 'devpts', 'gid=5,mode=620',
0, 0))