summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
Commit message (Collapse)AuthorAgeFilesLines
* - partitioning wizard lirary: Pascal Rigaux2008-03-252-0/+7
| | | | | | | o allow "Use free space" if there is an extended partition even if all primary partitions are used (#38804) (*old* bug!)
* - fix detecting existing LVMs (#31228)Pascal Rigaux2008-01-282-2/+0
| | | | | | | | | (regression introduced in 10.4.204 (?)) nb: great care must be taken to ensure lvm::init() is not called too soon (maybe lvm::init should be called in fsedit to ensure this doesn't happen again?)
* - detect raid partitions based on either type 0xfd or vol_id detectingPascal Rigaux2008-01-281-2/+1
| | | | | | | linux_raid_member (#35684) for this, introduce field {type_name}
* fix previous commitPascal Rigaux2008-01-221-1/+1
|
* handle missing mbr_signature in /sys/firmware/edd/int13_dev*Pascal Rigaux2008-01-221-1/+1
|
* fix fs::proc_partitions::use_() case: $hd must be cleaned up from existing stuffPascal Rigaux2007-09-241-1/+2
|
* - diskdrake :Pascal Rigaux2007-09-192-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 Rigaux2007-09-191-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 doPascal Rigaux2007-09-181-4/+9
| | | | | ->isa('partition_table::lvm')
* create partition_table::readonly and use itPascal Rigaux2007-09-182-9/+27
|
* oops, this one goes with previous commitPascal Rigaux2007-09-181-7/+0
|
* rename partition_table::raw::clear() into partition_table::initialize()Pascal Rigaux2007-09-182-18/+3
|
* rename ->zero_MBR into ->clear, and ->zero_MBR_and_dirty into ->clear_and_dirtyPascal Rigaux2007-09-182-11/+15
| | | | | (old name kept for compatibility)
* create clear_existing()Pascal Rigaux2007-09-181-2/+7
|
* handle "LVM on full disk" like other partition tablesPascal Rigaux2007-09-181-0/+12
|
* create partition_table::raw::read_primary out of partition_table::read_primary()Pascal Rigaux2007-09-181-0/+11
|
* create pt_info_to_primary() out of partition_table::read_one()Pascal Rigaux2007-09-181-0/+14
|
* rename ->read to ->read_onePascal Rigaux2007-09-186-6/+6
|
* transform ->clear_raw into the more generic ->initializePascal Rigaux2007-09-187-17/+28
| | | | | (useful to have a more standard partition_table::lvm)
* - diskdrake:Pascal Rigaux2007-08-086-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 availablePascal Rigaux2007-08-081-0/+25
|
* re-sync after the big svn lossPascal Rigaux2007-04-253-8/+19
|
* conectiva 10's grub detection (thanks to bogdano)Pascal Rigaux2005-08-251-0/+1
|
* move is_xbox from common to detect_devicesOlivier Blin2005-08-051-1/+1
|
* ignore HDIO_GETGEO fail (useful for dmraid)Pascal Rigaux2005-06-201-13/+16
|
* - move functions using /proc/partitions out of fsedit to fs::proc_partitionsPascal Rigaux2005-06-101-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 Rigaux2005-06-101-0/+1
| | | | rollback after understanding better dependencies)
* don't need prefixing with current packagePascal Rigaux2005-06-091-1/+1
|
* create default_type() out of zero_MBR()Pascal Rigaux2005-04-131-4/+8
|
* do not drop field {info} that can be created in zero_MBRPascal Rigaux2005-03-151-1/+1
|
* Diskdrake mods for XBox (thks Pixel)Stew Benedict2005-03-101-0/+5
|
* catch bad use of get_rawCHS()Pascal Rigaux2005-03-101-0/+3
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-133-8/+8
|
* - geometry XXX/240/63 is quite common, so add 240 to @valid_nb_headsPascal Rigaux2004-11-261-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 Rigaux2004-11-231-0/+1
|
* add some ";", remove some ";", as told by perl_checkerPascal Rigaux2004-11-183-8/+8
|
* empty partition table means sectors #0 and #1 are zeroes, not simply sector #0Pascal Rigaux2004-11-161-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 Rigaux2004-11-161-39/+0
|
* fix yaboot detectionPascal Rigaux2004-11-161-1/+2
|
* don't die when failing to open a device (to get its geometry), skip it insteadPascal Rigaux2004-09-291-8/+15
| | | | | (as used to be done before partition_table::raw::get_geometries() was introduced)
* fix typosPascal Rigaux2004-09-271-2/+3
|
* simplify and handle LVM2, *but* since creating a LVM2 PV on a non partitionedPascal Rigaux2004-09-271-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 Rigaux2004-09-271-3/+4
| | | | returning garbage (bugzilla #11738)
* perl_checker compliancePascal Rigaux2004-09-271-1/+1
|
* don't call compute_nb_cylinders() before checking {sectors} and {heads} are ↵Pascal Rigaux2004-09-271-2/+2
| | | | valid
* remove the backtracePascal Rigaux2004-09-221-1/+1
|
* more loggingPascal Rigaux2004-09-221-1/+3
|
* try to get geometry from EDDPascal Rigaux2004-09-172-2/+61
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-275-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 Rigaux2004-07-056-49/+49
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number