summaryrefslogtreecommitdiffstats
path: root/perl-install/loopback.pm
Commit message (Collapse)AuthorAgeFilesLines
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | {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
* - move format related functions out of fs.pm to new module fs/format.pmPascal Rigaux2004-07-231-1/+1
| | | | | - remove swap.pm, moving its few functions to fs/format.pm or fs.pm
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-1/+1
|
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-1/+1
|
* to workaround perl bug removing UTF8 flag when passing scalars to die's, passGuillaume Cottenceau2003-02-191-1/+1
| | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-1/+1
|
* do not use "local *F"Pascal Rigaux2002-12-041-3/+2
|
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-1/+1
| | | | | | | | | | | | | | | | | | | 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!
* use mkdir_p instead of mkdirPascal Rigaux2002-08-281-2/+2
|
* (prepare_boot): use $::prefixPascal Rigaux2002-08-011-5/+4
|
* revert back to /initrdGuillaume Cottenceau2001-10-291-4/+4
|
* replace /initrd with /lib/initrdPascal Rigaux2001-10-241-4/+4
|
* (create): don't use seek to create big files otherwise you get hole andPascal Rigaux2001-09-191-2/+5
| | | | | swapon doesn't like it
* use new mkdir_p, rm_rf and cp_af from MDK::CommonPascal Rigaux2001-09-161-6/+5
|
* a hell lot of cleanup/rewrite:Pascal Rigaux2001-08-171-16/+26
| | | | | | | | | | | * diskdrake_interactive created, diskdrake is now interactive aware * added some documentation about the structure used for partitioning * all_hds now contain the various hds, lvm, raid * cleanup the isLVM, isRAID and alike functions * field {type} in detect_devices is now {media_type} * detect_devices::floppies is now floppies_dev * removed old function prototypes
* move to MDK::Common, bool->to_boolPascal Rigaux2001-07-241-2/+3
|
* no_commentPascal Rigaux2000-09-141-1/+1
|
* no_commentPascal Rigaux2000-08-181-25/+0
|
* no_commentPascal Rigaux2000-08-041-12/+3
|
* no_commentPascal Rigaux2000-04-131-1/+0
|
* no_commentPascal Rigaux2000-04-121-10/+10
|
* no_commentPascal Rigaux2000-03-301-0/+19
|
* no_commentPascal Rigaux2000-03-261-0/+3
|
* no_commentPascal Rigaux2000-03-221-8/+23
|
* no_commentPascal Rigaux2000-03-201-21/+30
|
* no_commentPascal Rigaux2000-03-141-2/+27
|
* no_commentPascal Rigaux2000-03-111-5/+4
|
* no_commentPascal Rigaux2000-03-091-2/+0
|
* no_commentPascal Rigaux2000-03-081-0/+83