Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - diskdrake : | Pascal Rigaux | 2007-09-19 | 2 | -0/+7 |
| | | | | | | o do not allow partitions bigger than 2TB-1 on DOS MBR, nor partitions starting above 2TB-1 | ||||
* | create partition_table_initialize() and partition_table_clear_and_initialize() | Pascal Rigaux | 2007-09-19 | 1 | -4/+3 |
| | | | | | | which are wrappers around partition_table::initialize() but which also create a singleton VG automatically (so that it's easier for the user) | ||||
* | it's better to inheritate from partition_table::readonly, that way we can do | Pascal Rigaux | 2007-09-18 | 1 | -4/+9 |
| | | | | | ->isa('partition_table::lvm') | ||||
* | create partition_table::readonly and use it | Pascal Rigaux | 2007-09-18 | 2 | -9/+27 |
| | |||||
* | oops, this one goes with previous commit | Pascal Rigaux | 2007-09-18 | 1 | -7/+0 |
| | |||||
* | rename partition_table::raw::clear() into partition_table::initialize() | Pascal Rigaux | 2007-09-18 | 2 | -18/+3 |
| | |||||
* | rename ->zero_MBR into ->clear, and ->zero_MBR_and_dirty into ->clear_and_dirty | Pascal Rigaux | 2007-09-18 | 2 | -11/+15 |
| | | | | | (old name kept for compatibility) | ||||
* | create clear_existing() | Pascal Rigaux | 2007-09-18 | 1 | -2/+7 |
| | |||||
* | handle "LVM on full disk" like other partition tables | Pascal Rigaux | 2007-09-18 | 1 | -0/+12 |
| | |||||
* | create partition_table::raw::read_primary out of partition_table::read_primary() | Pascal Rigaux | 2007-09-18 | 1 | -0/+11 |
| | |||||
* | create pt_info_to_primary() out of partition_table::read_one() | Pascal Rigaux | 2007-09-18 | 1 | -0/+14 |
| | |||||
* | rename ->read to ->read_one | Pascal Rigaux | 2007-09-18 | 6 | -6/+6 |
| | |||||
* | transform ->clear_raw into the more generic ->initialize | Pascal Rigaux | 2007-09-18 | 7 | -17/+28 |
| | | | | | (useful to have a more standard partition_table::lvm) | ||||
* | - diskdrake: | Pascal Rigaux | 2007-08-08 | 6 | -0/+11 |
| | | | | | | | | o do not show partition types which have no associated filesystem for LVM LV (#32326) nb: we still would need to have pt_type per partition_table types | ||||
* | - allow using diskdrake even if there is only a lvm PV on full disk available | Pascal Rigaux | 2007-08-08 | 1 | -0/+25 |
| | |||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-25 | 3 | -8/+19 |
| | |||||
* | conectiva 10's grub detection (thanks to bogdano) | Pascal Rigaux | 2005-08-25 | 1 | -0/+1 |
| | |||||
* | move is_xbox from common to detect_devices | Olivier Blin | 2005-08-05 | 1 | -1/+1 |
| | |||||
* | ignore HDIO_GETGEO fail (useful for dmraid) | Pascal Rigaux | 2005-06-20 | 1 | -13/+16 |
| | |||||
* | - move functions using /proc/partitions out of fsedit to fs::proc_partitions | Pascal Rigaux | 2005-06-10 | 1 | -0/+1 |
| | | | | | | - remove unneeded "use xxx" - add some "use xxx" (nb: not completly needed because some other modules may do it) | ||||
* | add some "use xxx;" (the idea is to see what the package needs, but i may ↵ | Pascal Rigaux | 2005-06-10 | 1 | -0/+1 |
| | | | | rollback after understanding better dependencies) | ||||
* | don't need prefixing with current package | Pascal Rigaux | 2005-06-09 | 1 | -1/+1 |
| | |||||
* | create default_type() out of zero_MBR() | Pascal Rigaux | 2005-04-13 | 1 | -4/+8 |
| | |||||
* | do not drop field {info} that can be created in zero_MBR | Pascal Rigaux | 2005-03-15 | 1 | -1/+1 |
| | |||||
* | Diskdrake mods for XBox (thks Pixel) | Stew Benedict | 2005-03-10 | 1 | -0/+5 |
| | |||||
* | catch bad use of get_rawCHS() | Pascal Rigaux | 2005-03-10 | 1 | -0/+3 |
| | |||||
* | better english (writing style rather than spoken one) | Thierry Vignaud | 2004-12-13 | 3 | -8/+8 |
| | |||||
* | - geometry XXX/240/63 is quite common, so add 240 to @valid_nb_heads | Pascal Rigaux | 2004-11-26 | 1 | -2/+2 |
| | | | | | | | - remove checking that nb_heads is in @valid_nb_heads (this fixes yet another case of the infamous "XP doesn't boot" occuring 10.1 CE, though it should already be fixed via EDD) | ||||
* | detect on lilo on floppy (bugzilla #12213) | Pascal Rigaux | 2004-11-23 | 1 | -0/+1 |
| | |||||
* | add some ";", remove some ";", as told by perl_checker | Pascal Rigaux | 2004-11-18 | 3 | -8/+8 |
| | |||||
* | empty partition table means sectors #0 and #1 are zeroes, not simply sector #0 | Pascal Rigaux | 2004-11-16 | 1 | -2/+2 |
| | | | | | (this gives a chance to raw_lvm_PV which has its magic on sector #1) | ||||
* | handle more nicely raw_lvm_PV (don't simply ignore them) | Pascal Rigaux | 2004-11-16 | 1 | -39/+0 |
| | |||||
* | fix yaboot detection | Pascal Rigaux | 2004-11-16 | 1 | -1/+2 |
| | |||||
* | don't die when failing to open a device (to get its geometry), skip it instead | Pascal Rigaux | 2004-09-29 | 1 | -8/+15 |
| | | | | | (as used to be done before partition_table::raw::get_geometries() was introduced) | ||||
* | fix typos | Pascal Rigaux | 2004-09-27 | 1 | -2/+3 |
| | |||||
* | simplify and handle LVM2, *but* since creating a LVM2 PV on a non partitioned | Pascal Rigaux | 2004-09-27 | 1 | -7/+2 |
| | | | | | | | drive doesn't modify the MBR, it won't help if the MBR is empty or a valid dos partition table, since those are checked first... but i won't change this so late in the release cycle | ||||
* | fail if legacy_sectors_per_track or legacy_max_head doesn't exist instead of ↵ | Pascal Rigaux | 2004-09-27 | 1 | -3/+4 |
| | | | | returning garbage (bugzilla #11738) | ||||
* | perl_checker compliance | Pascal Rigaux | 2004-09-27 | 1 | -1/+1 |
| | |||||
* | don't call compute_nb_cylinders() before checking {sectors} and {heads} are ↵ | Pascal Rigaux | 2004-09-27 | 1 | -2/+2 |
| | | | | valid | ||||
* | remove the backtrace | Pascal Rigaux | 2004-09-22 | 1 | -1/+1 |
| | |||||
* | more logging | Pascal Rigaux | 2004-09-22 | 1 | -1/+3 |
| | |||||
* | try to get geometry from EDD | Pascal Rigaux | 2004-09-17 | 2 | -2/+61 |
| | |||||
* | - add field {fs_type} partially replacing {pt_type} | Pascal Rigaux | 2004-07-27 | 5 | -14/+19 |
| | | | | | | | | | | | | | | | | | | | | {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 | ||||
* | big renaming of field {type} to {pt_type}, | Pascal Rigaux | 2004-07-05 | 6 | -49/+49 |
| | | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number | ||||
* | perl now handle cleanly utf8 string in exceptions, no need to die \N("...") | Pascal Rigaux | 2004-04-05 | 1 | -1/+1 |
| | |||||
* | not guessing a geometry when default_ok is no big deal | Pascal Rigaux | 2004-03-18 | 1 | -1/+2 |
| | |||||
* | add set_best_geometry_for_the_partition_table to use the hd geometry instead ↵ | Pascal Rigaux | 2004-03-17 | 2 | -14/+140 |
| | | | | of the physical geometry returned by the kernel (since for now i can't have bios geometry on 2.6) | ||||
* | - sector2CHS() now gives sector number starting at 0 | Pascal Rigaux | 2004-03-17 | 1 | -3/+3 |
| | | | | | - CHS2rawCHS() takes care of giving sector number starting at 1 | ||||
* | - remove the use of BLKRRPART (telling the kernel to re-read the partition ↵ | Pascal Rigaux | 2004-01-15 | 1 | -15/+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/+1 |
| |