summaryrefslogtreecommitdiffstats
path: root/harddrive.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-05-22 22:37:35 +0000
committerMike Fulbright <msf@redhat.com>2000-05-22 22:37:35 +0000
commita1d8a8d5ce05122ab493ec40fc99685d6567f6ae (patch)
tree6589abb8c52f6929a004314d5f7bcf1e9ba5ec83 /harddrive.py
parent8aee5417b0cb9f69cf361443174e41aa1ab184ca (diff)
downloadanaconda-a1d8a8d5ce05122ab493ec40fc99685d6567f6ae.tar.gz
anaconda-a1d8a8d5ce05122ab493ec40fc99685d6567f6ae.tar.xz
anaconda-a1d8a8d5ce05122ab493ec40fc99685d6567f6ae.zip
should fix so hard drive installs from ext2 DONT blow away source partition when autopartitioning
Diffstat (limited to 'harddrive.py')
-rw-r--r--harddrive.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/harddrive.py b/harddrive.py
index e72ab4d1e..4b9c50f5d 100644
--- a/harddrive.py
+++ b/harddrive.py
@@ -71,6 +71,11 @@ class HardDriveInstallMethod(InstallMethod):
def filesDone(self):
self.umountMedia()
+ def protectedDevices(self):
+ rc = []
+ rc.append(self.device)
+ return rc
+
def __init__(self, device, type, path):
InstallMethod.__init__(self)
self.device = device
@@ -79,3 +84,4 @@ class HardDriveInstallMethod(InstallMethod):
self.fnames = {}
self.isMounted = 0
+