summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-10 18:44:39 +0000
committerMatt Wilson <msw@redhat.com>2000-01-10 18:44:39 +0000
commitfae537ecb37d704290787da68651036de1b8e4ec (patch)
tree17636cd10d4b9eef51a4814688c2383fcdfb5c44 /fstab.py
parent0d4c893d28f42e7e4a4995af885babff6fa072a8 (diff)
downloadanaconda-fae537ecb37d704290787da68651036de1b8e4ec.tar.gz
anaconda-fae537ecb37d704290787da68651036de1b8e4ec.tar.xz
anaconda-fae537ecb37d704290787da68651036de1b8e4ec.zip
translate alpha boot mke2fs hacks to new fstab code
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/fstab.py b/fstab.py
index b9a2787c3..e7b669318 100644
--- a/fstab.py
+++ b/fstab.py
@@ -305,10 +305,7 @@ class Fstab:
arch = iutil.getArch ()
if arch == "alpha":
- if '/boot' in keys:
- kernelPart = '/boot'
- else:
- kernelPart = '/'
+ bootPart = self.getBootDevice()
for (mntpoint, device, fsystem, doFormat, size) in self.mountList():
if not doFormat: continue
@@ -318,7 +315,7 @@ class Fstab:
# FORCE the partition that MILO has to read
# to have 1024 block size. It's the only
# thing that our milo seems to read.
- if arch == "alpha" and mntpoint == kernelPart:
+ if arch == "alpha" and mntpoint == bootPart:
args = args + ["-b", "1024"]
# set up raid options for md devices.
if device[:2] == 'md':