Package lib :: Module misc
[show private | hide private]
[frames | no frames]

Module lib.misc

Function Summary
  ex(*args)
runs args* in shell mode.
  get_filesystems()
returns a dictionary with a skeleton { device : filesystem } with data from local hard disks.
  get_partitions()
returns an array with fdisk output related to partition data.
  get_progress(str)
gets progress percentaje of installing process from progress bar message.
  get_var()
gets install input data from vars file.
  grub_dev(dev)
returns a device name in grub mode from a unix device name.
  grub_entries(file)
  lilo_entries(file)
  make_yaboot_header(target, target_dev)
builds yaboot header config-file.
  post_log(code, msg)
logs install messages into /var/log on installed filesystem.
  pre_log(code, msg)
logs install messages into /var/log on live filesystem.
  ret_ex(*args)
  set_var(var)
sets install input data into a vars file.

Function Details

ex(*args)

runs args* in shell mode. Output status is taken.

get_filesystems()

returns a dictionary with a skeleton { device : filesystem } with data from local hard disks. Only swap and ext3 filesystems are available.

get_partitions()

returns an array with fdisk output related to partition data.

get_progress(str)

gets progress percentaje of installing process from progress bar message.

get_var()

gets install input data from vars file.

grub_dev(dev)

returns a device name in grub mode from a unix device name.

make_yaboot_header(target, target_dev)

builds yaboot header config-file.

post_log(code, msg='')

logs install messages into /var/log on installed filesystem.

pre_log(code, msg='')

logs install messages into /var/log on live filesystem.

set_var(var)

sets install input data into a vars file.

Generated by Epydoc 2.1 on Wed Nov 9 13:46:23 2005 http://epydoc.sf.net