Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | many functions in fsedit don't modify anything, they are simply accessors. | Pascal Rigaux | 2004-08-03 | 1 | -128/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | create fs::get and move them into it - device2part(), up_mount_point() moved from fs to fs::get - part2hd(), file2part(), has_mntpoint(), mntpoint2part(), empty_all_hds() moved from fsedit to fs::get - fsedit::get_root() -> fs::get::root() - fsedit::get_root_() -> fs::get::root_() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_all_fstab_and_holes() -> fs::get::fstab_and_holes() - fsedit::get_all_fstab() -> fs::get::fstab() - fsedit::get_all_holes() -> fs::get::holes() - fsedit::all_free_space -> fs::get::free_space() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_fstab_and_holes() -> fs::get::hds_fstab_and_holes() - fsedit::get_holes() -> fs::get::hds_holes() - fsedit::get_fstab() -> fs::get::hds_fstab() - fsedit::free_space() -> fs::get::hds_free_space() - fsedit::get_visible_fstab() unused, removed | ||||
* | fsedit::check_fs_type() is now fs::type::check() | Pascal Rigaux | 2004-08-02 | 1 | -8/+1 |
| | |||||
* | - move package_needed_for_partition_type() from fsedit to fs::format | Pascal Rigaux | 2004-08-02 | 1 | -10/+0 |
| | | | | | - create check_package_is_installed() in fs::format and use it | ||||
* | merge hds() in get_hds() to correctly handle catching cdie when the device ↵ | Pascal Rigaux | 2004-07-29 | 1 | -31/+42 |
| | | | | is non partionned | ||||
* | - add field {fs_type} partially replacing {pt_type} | Pascal Rigaux | 2004-07-27 | 1 | -77/+56 |
| | | | | | | | | | | | | | | | | | | | | {pt_type} is always a number, {fs_type} is always a string - introduce set_isFormatted() (to ensure {notFormatted} but also {fs_type_from_magic} and {bad_fs_type_magic} are updated) - don't use 0x483 for ext3 anymore (same for reiserfs...), the type_name gives both a pt_type and a fs_type - many accessors from partition_table removed (type2fs(), fs2pt_type()) - remove isThisFs() (not useful anymore since we can use directly {fs_type}) - remove isFat() (inline the function) - other isXXX() from partition_table are moved to fs::type - part2name() is now fs::type::part2type_name - name2pt_type() is now fs::type::type_name2subpart() - partition_table::important_types() is now fs::type::type_names() - fsedit::typeOfPart() is now fs::type::fs_type_from_magic() - no need to truncate type_name since they are shorter | ||||
* | shorter and faster | Pascal Rigaux | 2004-07-22 | 1 | -4/+6 |
| | |||||
* | set {is_removable} directly in fsedit::hds() | Pascal Rigaux | 2004-07-22 | 1 | -0/+4 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2004-07-22 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2004-07-22 | 1 | -0/+1 |
| | |||||
* | change_pt_type() must return a boolean value | Pascal Rigaux | 2004-07-15 | 1 | -0/+1 |
| | |||||
* | big renaming of field {type} to {pt_type}, | Pascal Rigaux | 2004-07-05 | 1 | -45/+45 |
| | | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number | ||||
* | create rationalize_options() and use it (bugzilla #3525) | Pascal Rigaux | 2004-07-05 | 1 | -1/+2 |
| | | | | | more checks should be done in this function, and used at more places (but where?) | ||||
* | in is_same_hd(), both hds can have {device} unset, it doesn't mean they are ↵ | Pascal Rigaux | 2004-06-29 | 1 | -1/+1 |
| | | | | the same | ||||
* | rename is_same_part to are_same_partitions (not that much clear, but at ↵ | Pascal Rigaux | 2004-06-15 | 1 | -1/+2 |
| | | | | least a little) | ||||
* | use "find { ... }" | Pascal Rigaux | 2004-06-15 | 1 | -2/+2 |
| | |||||
* | new function isTrueLocalFS() to make a distinction between ext3/reiserfs/... ↵ | Pascal Rigaux | 2004-05-27 | 1 | -1/+3 |
| | | | | | | | and nfs => allow /home on nfs (bugzilla #7460) | ||||
* | really handle LABEL=XXX in fstab (as used by redhat) (no xfs labels yet) | Pascal Rigaux | 2004-05-13 | 1 | -0/+10 |
| | |||||
* | fix drakupdate_fstab adding twice an entry in fstab, one with the old name, ↵ | Pascal Rigaux | 2004-05-01 | 1 | -1/+2 |
| | | | | one with the devfs name | ||||
* | perl now handle cleanly utf8 string in exceptions, no need to die \N("...") | Pascal Rigaux | 2004-04-05 | 1 | -16/+16 |
| | |||||
* | disallow lvm on / with no /boot until lilo handles it | Pascal Rigaux | 2004-03-11 | 1 | -1/+4 |
| | |||||
* | /proc/partitions parsing was broken for scsi cdroms using non-devfs names, and | Pascal Rigaux | 2004-03-08 | 1 | -6/+5 |
| | | | | | | our 2.6 doesn't use devfs names in /proc/partitions... :'-( (bugzilla #8641) | ||||
* | type 0x17 *can* be ntfs, assuming it is when we don't care much, and check ↵ | Pascal Rigaux | 2004-02-18 | 1 | -2/+3 |
| | | | | if it is ntfs otherwise | ||||
* | - remove the use of BLKRRPART (telling the kernel to re-read the partition ↵ | Pascal Rigaux | 2004-01-15 | 1 | -1/+3 |
| | | | | | | | | | table) in most cases - replace with tell_kernel() and will_tell_kernel() - correctly handle in standalone the need to reboot, with no way to forget it (telling the WM to quit nicely then call reboot when it's done) | ||||
* | perl_checker compliance | Pascal Rigaux | 2004-01-06 | 1 | -1/+2 |
| | |||||
* | put in {raw_hds} non partitioned usb keys | Pascal Rigaux | 2003-11-27 | 1 | -2/+5 |
| | |||||
* | getHds called by install_steps must not be interactive | Pascal Rigaux | 2003-11-18 | 1 | -4/+4 |
| | |||||
* | - make use_proc_partitions a clean function | Pascal Rigaux | 2003-11-11 | 1 | -1/+4 |
| | | | | | | | (not only used when diskdrake code fails) - fix {start} in read_proc_partitions() ({start} was not re-initialised between drives) | ||||
* | when the checking the mount point is not already used, don't take into ↵ | Pascal Rigaux | 2003-09-17 | 1 | -1/+1 |
| | | | | account current partition | ||||
* | add a warning for / on LVM: "You may not be able to install lilo (since lilo ↵ | Pascal Rigaux | 2003-09-14 | 1 | -0/+3 |
| | | | | doesn't handle a LV on multiple PVs)" | ||||
* | fix check_mntpoint to get back error "There is already a partition with ↵ | Pascal Rigaux | 2003-09-08 | 1 | -3/+3 |
| | | | | mount point %s\n" | ||||
* | simplify | Pascal Rigaux | 2003-08-21 | 1 | -3/+3 |
| | |||||
* | allocatePartitions() resulted in a small unallocated area at the end of the | Pascal Rigaux | 2003-08-21 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | drive when: - suggest_part() reserves some room for the other partitions which are going to be added next. For maxsize limited partition, it reserves maxsize (if maxsize is reached) - suggest_part() which adds the last partition limited by maxsize can be called on a partition a little bigger than maxsize due to cylinder boundary adjustments on previous partition creations. In that case, it doesn't use the full area. It occured for example with the current $fsedit::suggestions{server}. The fix chosen is to ensure the last suggest_part() is called with a size defined as maxsize <= size < maxsize + cylinder_size. | ||||
* | fix english (thanks to Arpad Biro) | Pascal Rigaux | 2003-08-20 | 1 | -1/+1 |
| | |||||
* | Handle /boot/efi as an EFI partition | Gwenolé Beauchesne | 2003-08-19 | 1 | -1/+1 |
| | |||||
* | re-export %fsedit::suggestions as needed (why did titi my-ed it?) (fixes bug ↵ | Pascal Rigaux | 2003-07-29 | 1 | -1/+1 |
| | | | | #4298) | ||||
* | - move read_proc_partitions_raw() from fsedit.pm to devices.pm | Thierry Vignaud | 2003-06-24 | 1 | -14/+2 |
| | | | | | | - (devices::from_devfs, devices::from_devfs) handle block devices too, with read_proc_partitions_raw() helper | ||||
* | fix pixel vs strict pragam | Thierry Vignaud | 2003-06-24 | 1 | -1/+1 |
| | |||||
* | allow encrypted partitions in auto_install (with encrypt_key non encrypted!) | Pascal Rigaux | 2003-06-16 | 1 | -1/+1 |
| | |||||
* | fix computeSize which took into account suggested partitions on another drives | Pascal Rigaux | 2003-06-06 | 1 | -5/+8 |
| | | | | | (which is especially bad for LVMs) | ||||
* | allow specifying lv_name in auto_installs (not tested!) | Pascal Rigaux | 2003-06-04 | 1 | -1/+3 |
| | |||||
* | perl_checker fixes | Thierry Vignaud | 2003-05-23 | 1 | -1/+1 |
| | |||||
* | perl_checker adaptations + fixes | Pascal Rigaux | 2003-04-24 | 1 | -1/+1 |
| | |||||
* | new perl_checker compliance | Pascal Rigaux | 2003-04-17 | 1 | -16/+16 |
| | |||||
* | /root on a separate partition gives a warning, not an error | Pascal Rigaux | 2003-02-27 | 1 | -1/+3 |
| | |||||
* | use test_for_bad_drives even after install (esp. to detect removed usb-storage | Pascal Rigaux | 2003-02-21 | 1 | -1/+1 |
| | | | | | devices still visible in /proc/scsi/scsi) | ||||
* | warn non-ascii chars in mount point (cf bug #1588) | Pascal Rigaux | 2003-02-20 | 1 | -0/+1 |
| | |||||
* | use cdie instead of die for warnings | Pascal Rigaux | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | don't let diskdrake detect ext3/reiserfs/jfs/xfs on a type 0x7 partition | Pascal Rigaux | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | - simplify check_mntpoint | Pascal Rigaux | 2003-02-20 | 1 | -2/+3 |
| | | | | | - fix checking mount point in Mount_point() | ||||
* | to workaround perl bug removing UTF8 flag when passing scalars to die's, pass | Guillaume Cottenceau | 2003-02-19 | 1 | -11/+11 |
| | | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :). |