~givre/disk-manager/branch1.0

Viewing all changes in revision 103.

  • Committer: Mertens Florent
  • Date: 2007-06-06 01:44:38 UTC
  • Revision ID: flomertens@gmail.com-20070606014438-e1ek94frloqyz3wg
changes in python-fstab :
* Fstab :
- Set FSTAB_TYPE to FS_TYPE if FS_DRIVER is empty
- add new method defaultopt() that return the default optionfor the entry
- add an option in the umount methode, to use the lazy option
- In search methode, set default key to only "FSTAB_PATH" and
remove not really usefull list option. This was intended first
to track last not duplicate safe code. It is also more logic.
* FstabHandler :
- add a new method, get_duplicate that return duplicate entry of
the device or None of device is use only one time
- add simple_apply method which intend to replace 
MntFile apply method for an FstabHandler object
* FstabUtility :
- fix last not duplicate safe code in change_tracker
* FstabDialogs :
- Improve DialogBuilder
- replace dialog fct by a single one which take in first
parameter the type of the dialog you want
* Mounter :
- refactor error handling to be able to do actions to 
fix the problem. For now, we handle those actions :
+ Propose the lazy option on umount buzy
+ Propose to remove bad option or revert them to default
on Unknow option detected
+ Propose to use default FSTYPE driver on type unknow
+ Propose to use the force option on NTFS unclean with ntfs-3g

change in disk-manager :
* AddWizard : fix last not duplicate safe code

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: