summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
Commit message (Collapse)AuthorAgeFilesLines
* 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
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-1/+1
|
* not guessing a geometry when default_ok is no big dealPascal Rigaux2004-03-181-1/+2
|
* add set_best_geometry_for_the_partition_table to use the hd geometry instead ↵Pascal Rigaux2004-03-172-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 0Pascal Rigaux2004-03-171-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 Rigaux2004-01-151-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 compliancePascal Rigaux2004-01-061-1/+1
|
* perl_checker fixesPascal Rigaux2004-01-053-3/+1
|