summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
Commit message (Collapse)AuthorAgeFilesLines
* remove support for ataraidThierry.Vignaud2014-06-181-1/+1
| | | | | | was killed in kernel on 2002-08-16, obsolete since kernel-2.6... See https://git.kernel.org/cgit/linux/kernel/git/tglx/history.git/commit/?id=12105c896098faf822e882f3495fee485c2ebaa5
* kill $Id:$ tagsThierry Vignaud2014-06-071-1/+1
| | | | they're obsolete since switching from CVS/SVN to git...
* drop (broken) support for Alpha, PPC, Sparc & most of IA64Thierry.Vignaud2014-05-261-37/+8
| | | | | | | | | | | | | Including Xsun, silo & yaboot support Rationale: it's unused/unmaintained for years and those arches are beyond any hope of being usefull any day... They just got in the way... Part of IA64 support is still kept (eg: support for GPT, EFI, right xorg driver at install, ...) as it might be usefull to extend to other arches Next to consider: Xbox?
* (tell_kernel) run udevadm in installer too (might fix unnecessary reboot ↵Thierry Vignaud2012-04-271-2/+2
| | | | (mga#4439))
* perl_checker cleanupsThierry Vignaud2012-03-231-2/+2
|
* partition_table: align partitions to 1MB boundaries to avoidAnssi Hannula2011-08-061-0/+13
| | | | performance issues with drives with 4k physical sectors (mga#1215)
* - perl -pi -e 's!hard drive!hard disk drive!'Ahmad Samir2011-04-041-2/+2
|
* - string changes: perl -pi -e 's!Can not!Cannot!'Ahmad Samir2011-04-041-1/+1
|
* - use 'cannot' instead of 'can not'Ahmad Samir2011-04-021-2/+2
| | | | | - use 'LDAP' instead of 'Ldap'
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* diskdrake: don't ask to reboot after resize if not neededPascal Terjan2010-05-101-3/+7
|
* Rewrite gpt support with libpartedPascal Terjan2009-01-271-1/+2
|
* (write) get major/minor again after writing the partition table soThierry Vignaud2008-12-181-0/+3
| | | | | | that we got them for dynamic devices (eg: for SCSI like devices with kernel-2.6.28+)
* (add) kernel-2.6.28+ supports more than 15 partitions on SATA & SCSI devicesThierry Vignaud2008-12-171-1/+1
|
* - diskdrake:Pascal Rigaux2008-09-181-1/+2
| | | | | o handle partitions encrypted with cryptsetup
* - bootloader-config:Pascal Rigaux2008-09-161-1/+1
| | | | | | | o fix reading existing grub conf in present of /dev/mapper/xxxx0p1 partitions (which was causing bootloader-config to drop correct entries, cf #37722)
* - fix partition device name for some dmraid (missing "p", cf #38363)Pascal Rigaux2008-03-061-3/+9
| | | | | | | | simplifying code, since using "p" to separate device name from partition number when device name ends with a digit is standard in the kernel $hd->{prefix} is no more always created. Only used in same special cases
* - diskdrake:Pascal Rigaux2008-02-141-1/+3
| | | | | | o final fix for resizing's failures due to udev's race (when writing the partition, do not del/add the same partition)
* - bootloader-config, diskdrake:Pascal Rigaux2008-01-221-1/+1
| | | | | | o look for LVM PV on non partitioned disk before looking for DOS partition_table (esp. for lilo which puts the DOS magic)
* - diskdrake:Pascal Rigaux2007-12-041-38/+0
| | | | | | o drop "Undo", "Restore partition table", "Save partition table" (preparing to switch to libparted)
* - diskdrake :Pascal Rigaux2007-09-191-1/+1
| | | | | | o do not allow partitions bigger than 2TB-1 on DOS MBR, nor partitions starting above 2TB-1
* - diskdrake:Pascal Rigaux2007-09-191-5/+8
| | | | | o "Clear All" defaults to LVM on full disk if drive is >4TB
* rename partition_table::raw::clear() into partition_table::initialize()Pascal Rigaux2007-09-181-0/+23
|
* handle "LVM on full disk" like other partition tablesPascal Rigaux2007-09-181-1/+2
|
* drop unused variablesPascal Rigaux2007-09-181-1/+0
|
* create partition_table::raw::read_primary out of partition_table::read_primary()Pascal Rigaux2007-09-181-10/+6
|
* move more things from read() to read_primary()Pascal Rigaux2007-09-181-7/+8
|
* simplify: read_one was used for primary and extended. replacing most of ↵Pascal Rigaux2007-09-181-12/+9
| | | | read_one() with read_primary()
* create pt_info_to_primary() out of partition_table::read_one()Pascal Rigaux2007-09-181-8/+1
|
* rename ->read to ->read_onePascal Rigaux2007-09-181-2/+2
|
* use ->last_usable_sector instead of {totalsectors} so that resizing aPascal Rigaux2007-04-301-1/+1
| | | | | | partition doesn't propose a partition size bigger than what creating a partition propose (#21709)
* re-sync after the big svn lossPascal Rigaux2007-04-251-11/+10
|
* try to cleanup fs.pmPascal Rigaux2005-06-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | (to have simpler dependencies between modules, esp. have some modules only required by diskdrake): - move some functions from fs to fs::mount (most keep their name, except mount_part and mount_usbfs) - move formatMount_part and formatMount_all from fs to fs::format - move some functions from fs to fs::wild_device (part2wild_device_name -> fs::wild_device::from_part) (subpart_from_wild_device_name -> fs::wild_device::to_subpart) (analyze_wild_device_name -> fs::wild_device::analyse) - formatMount_part(), formatMount_all(), fs::mount::part() don't take a prefix anymore the current situation was quite muddy we now rely on fs::get::mntpoint_prefixed() which will maybe depend on a field in $part for now, we mount every part in chroot, it seems to be what's wanted - fs::format::part() now expect $all_hds instead of $raids - fs::type::carryRootLoopback is now fs::get::carry_root_loopback() - in fs::loopback, most functions don't want a prefix anymore
* remove unused isPrimaryPascal Rigaux2005-06-031-6/+0
|
* media_browser returns a filehandle when non savePascal Rigaux2005-02-181-1/+6
|
* cleanupPascal Rigaux2005-02-031-1/+1
|
* nicer description() (esp. when the size is 0)Pascal Rigaux2005-01-261-4/+4
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-5/+5
|
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-1/+1
|
* also remove "require partition_table::lvm_PV" comment for perl_checkerPascal Rigaux2004-11-171-1/+0
|
* handle more nicely raw_lvm_PV (don't simply ignore them)Pascal Rigaux2004-11-161-1/+1
|
* don't die in will_tell_kernel() when the device is weird, since it is normal ↵Pascal Rigaux2004-11-161-3/+8
| | | | when destroying a raw_lvm_PV
* enhance readabilityPascal Rigaux2004-11-161-8/+8
|
* create isEmpty() and use it instead of simply testing {pt_type}, since ↵Pascal Rigaux2004-11-161-3/+3
| | | | {pt_type} can be undef whereas {fs_type} is set
* don't use devices::part_number(), otherwise it fails with c0d0p* devicesPascal Rigaux2004-10-051-1/+1
|
* better loggingPascal Rigaux2004-09-221-2/+2
|
* - add field {part_number} for partitionsPascal Rigaux2004-09-201-7/+13
| | | | | | | | | | | (handle it in subpart_from_wild_device_name(), partition_table::read()) - create migrate_device_names() to handle the change of device names when changing kernel&modules (eg: hde->hda or hda->sda) - change prototype of install_any::use_root_part() (prefix is dropped, optional $in is added) - create fs::type::can_be_this_fs_type() and use it - create devices::part_number() and devices::part_prefix() and use them
* - ensure {is_removable} field is there for created partitions, not only ↵Pascal Rigaux2004-09-141-4/+15
| | | | | | | existing partitions - it breaks Create(), fixing
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-269/+10
| | | | | | | | | | | | | | | | | | | | {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