/[gli]/trunk/src/GLIStorageDevice.py
Gentoo

Diff of /trunk/src/GLIStorageDevice.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 923 Revision 924
117 117
118 ## 118 ##
119 # Uses magic to apply the recommended partition layout 119 # Uses magic to apply the recommended partition layout
120 def do_recommended(self): 120 def do_recommended(self):
121 free_minor = 0 121 free_minor = 0
122 recommended_parts = [ { 'type': "ext2", 'size': 256, 'mountpoint': "/boot" }, 122 recommended_parts = [ { 'type': "ext2", 'size': 100, 'mountpoint': "/boot" },
123 { 'type': "linux-swap", 'size': 1024, 'mountpoint': "" }, 123 { 'type': "linux-swap", 'size': 512, 'mountpoint': "" },
124 { 'type': "ext3", 'size': "*", 'mountpoint': "/" } ] 124 { 'type': "ext3", 'size': "*", 'mountpoint': "/" } ]
125 to_create = [] 125 to_create = []
126 parts = self.get_ordered_partition_list() 126 parts = self.get_ordered_partition_list()
127 for part in parts: 127 for part in parts:
128 if self._partitions[part].get_type() == "free" and self._partitions[part].get_mb() >= 4096: 128 if self._partitions[part].get_type() == "free" and self._partitions[part].get_mb() >= 4096:

Legend:
Removed from v.923  
changed lines
  Added in v.924

  ViewVC Help
Powered by ViewVC 1.1.20