From c900a62b068cf1f583b8936aa0dae18c9683b461 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 28 Jul 2008 10:58:01 +0000 Subject: set hdd standby value for all hdds (not working on hotplug devices, plugged in while e2 is running) --- lib/python/Components/Harddisk.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/python/Components/Harddisk.py') diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index 9c695a23..dfc262d8 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -203,6 +203,12 @@ class Harddisk: return -3 return 0 + + def getDeviceDir(self): + return self.devidex + + def getDeviceName(self): + return self.getDeviceDir() + "disc" class Partition: def __init__(self, mountpoint, description = "", force_mounted = False): -- cgit v1.2.3