From fae537ecb37d704290787da68651036de1b8e4ec Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Mon, 10 Jan 2000 18:44:39 +0000 Subject: translate alpha boot mke2fs hacks to new fstab code --- fstab.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'fstab.py') 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': -- cgit