Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | better logging | Pascal Rigaux | 2004-09-22 | 1 | -2/+2 |
| | |||||
* | - add field {part_number} for partitions | Pascal Rigaux | 2004-09-20 | 1 | -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 Rigaux | 2004-09-14 | 1 | -4/+15 |
| | | | | | | | existing partitions - it breaks Create(), fixing | ||||
* | many functions in fsedit don't modify anything, they are simply accessors. | Pascal Rigaux | 2004-08-03 | 1 | -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 Rigaux | 2004-07-27 | 1 | -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 | ||||
* | replace pt_type2name($part->{pt_type}) with part2name($part) | Pascal Rigaux | 2004-07-23 | 1 | -3/+6 |
| | | | | | (hoisting the dereferencing {pt_type}) | ||||
* | - simplify partition table entry names (based on fdisk's names) | Pascal Rigaux | 2004-07-23 | 1 | -113/+100 |
| | | | | | - rename some internal variables | ||||
* | old dos is not useful anymore | Pascal Rigaux | 2004-07-23 | 1 | -1/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2004-07-23 | 1 | -5/+6 |
| | |||||
* | big renaming of field {type} to {pt_type}, | Pascal Rigaux | 2004-07-05 | 1 | -33/+34 |
| | | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number | ||||
* | new function isTrueLocalFS() to make a distinction between ext3/reiserfs/... ↵ | Pascal Rigaux | 2004-05-27 | 1 | -3/+4 |
| | | | | | | | and nfs => allow /home on nfs (bugzilla #7460) | ||||
* | perl now handle cleanly utf8 string in exceptions, no need to die \N("...") | Pascal Rigaux | 2004-04-05 | 1 | -5/+5 |
| | |||||
* | add set_best_geometry_for_the_partition_table to use the hd geometry instead ↵ | Pascal Rigaux | 2004-03-17 | 1 | -0/+2 |
| | | | | of the physical geometry returned by the kernel (since for now i can't have bios geometry on 2.6) | ||||
* | type 0x17 *can* be ntfs, assuming it is when we don't care much, and check ↵ | Pascal Rigaux | 2004-02-18 | 1 | -2/+2 |
| | | | | if it is ntfs otherwise | ||||
* | - tell kernel to remove the extended partition | Pascal Rigaux | 2004-01-30 | 1 | -1/+2 |
| | | | | | - true/false is better than yes/no in log message | ||||
* | enhance log message "tell kernel ..." | Pascal Rigaux | 2004-01-30 | 1 | -1/+1 |
| | |||||
* | - remove the use of BLKRRPART (telling the kernel to re-read the partition ↵ | Pascal Rigaux | 2004-01-15 | 1 | -29/+78 |
| | | | | | | | | | 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 | -2/+3 |
| | |||||
* | ensure that a number is not written as the type in fstab | Pascal Rigaux | 2003-09-17 | 1 | -1/+5 |
| | |||||
* | associate partition table 0xeb (BeOS) with filesystem befs (part of bug #5523) | Pascal Rigaux | 2003-09-15 | 1 | -0/+1 |
| | |||||
* | - fix call to openit() | Pascal Rigaux | 2003-08-21 | 1 | -6/+4 |
| | | | | | - replace *F with $F | ||||
* | - Merge in AMD64 tree | Gwenolé Beauchesne | 2003-08-19 | 1 | -2/+8 |
| | | | | | - Handle EFI partitions on IA-64 | ||||
* | 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 | -9/+9 |
| | |||||
* | set {device_windobe} for 0x107 *and* 0x7 (since 0x107 is not set correctly ↵ | Pascal Rigaux | 2003-02-20 | 1 | -2/+6 |
| | | | | | | | at this stage) (otherwise this causes mount points /mnt/win_ /mnt/win_1...) | ||||
* | to workaround perl bug removing UTF8 flag when passing scalars to die's, pass | Guillaume Cottenceau | 2003-02-19 | 1 | -5/+5 |
| | | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :). | ||||
* | /proc/partitions includes partition with type "empty" and a non-null size | Pascal Rigaux | 2003-02-18 | 1 | -1/+2 |
| | | | | | so add them for comparison | ||||
* | - ensure someone can't set a mount point on a non formatted ntfs partition | Pascal Rigaux | 2003-02-18 | 1 | -1/+4 |
| | | | | | - remove the mount point when destructive resizing and isNonMountable | ||||
* | perl_checker compliance ("ref" now need parentheses in many case) | Pascal Rigaux | 2003-02-12 | 1 | -1/+1 |
| | |||||
* | handle 0x7 partition table id specially since it can be both hpfs or ntfs. | Pascal Rigaux | 2003-02-11 | 1 | -2/+4 |
| | | | | | | | so adding 0x107 being really ntfs. hopefully this change won't break too much things (but things were already broken, since it assigned a mount point with type ntfs to some hpfs partitions) (fixes bug #1455) | ||||
* | (adjust_local_extended): fix resizing local extended | Pascal Rigaux | 2003-02-02 | 1 | -6/+7 |
| | |||||
* | add isFat_or_NTFS() and use it where possible instead of isFat() since Windows | Pascal Rigaux | 2003-01-30 | 1 | -6/+6 |
| | | | | | is now using ntfs, not only Windows NT | ||||
* | use "if any" instead of "if grep", and various other occurences of "any", ↵ | Pascal Rigaux | 2003-01-07 | 1 | -1/+1 |
| | | | | "every", "partition" | ||||
* | enumerate the various required packages when requiring a package dynamically ↵ | Pascal Rigaux | 2002-12-18 | 1 | -0/+7 |
| | | | | known | ||||
* | remove exported names which are not defined | Pascal Rigaux | 2002-12-13 | 1 | -1/+1 |
| | |||||
* | replace "map $_->{normal}, @l" with "map { $_->{normal} } @l" | Pascal Rigaux | 2002-12-05 | 1 | -1/+1 |
| | | | | | (the other form is perl_checker-deprecated) | ||||
* | remove unused variables or rename them with an underscore (eg: $o becomes $_o) | Pascal Rigaux | 2002-12-04 | 1 | -1/+0 |
| | |||||
* | do not use "local *F", use "my $F" or output() instead | Pascal Rigaux | 2002-12-03 | 1 | -3/+1 |
| | |||||
* | perl_checker adaptations | Pascal Rigaux | 2002-11-28 | 1 | -1/+1 |
| | |||||
* | perl_checker adaptations | Pascal Rigaux | 2002-11-27 | 1 | -2/+2 |
| | |||||
* | make perl_checker happy | Pascal Rigaux | 2002-11-14 | 1 | -1/+1 |
| | |||||
* | add/remove some spaces to make perl_checker happy | Pascal Rigaux | 2002-11-12 | 1 | -1/+1 |
| | |||||
* | add or remove spaces where need to please perl_checker | Pascal Rigaux | 2002-11-11 | 1 | -8/+8 |
| | |||||
* | - have "local *FILEHANDLE" before each "open FILEHANDLE, ..." | Pascal Rigaux | 2002-11-06 | 1 | -1/+1 |
| | | | | | - use some "cat_" and "output" where possible | ||||
* | replace complex "unless"s with "if"s | Pascal Rigaux | 2002-11-06 | 1 | -1/+1 |
| | |||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous! | ||||
* | - isUBD can tell wether it is an ubd partition | Pascal Rigaux | 2002-11-05 | 1 | -1/+2 |
| | | | | | - isSpecial is true for ubd partitions | ||||
* | - add ntfs in isOtherAvailableFS | Pascal Rigaux | 2002-09-18 | 1 | -2/+2 |
| | | | | | - but ensure it is not in isMountableRW | ||||
* | remove associating 0x35 => 'jfs' since it causes types_rev to associate jfs ↵ | Pascal Rigaux | 2002-08-28 | 1 | -1/+0 |
| | | | | to 0x35 instead of 0x383 |