summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/removable.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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-3/+3
| | | | | | | | | | | | | | | | | | | | {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-051-3/+3
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* revert handling --auto for removable, it is much better done in a separate ↵Pascal Rigaux2004-04-271-9/+5
| | | | | | | function (the goal of this --auto is not clear at all, and is better explicitly done)
* handle --auto when managing removable mediaThierry Vignaud2004-04-231-5/+9
|
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-1/+1
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-1/+1
|
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-7/+7
| | | | | | | | | | | | | | | | | | | 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!
* in "Mount point", by default choose the default proposition (asked by dadou ↵Pascal Rigaux2002-08-281-1/+1
| | | | for smb)
* propose some mount points for removable/nfs/smbPascal Rigaux2002-02-261-1/+1
|
* remove debugging codePascal Rigaux2002-01-271-2/+0
|
* new diskdrake modules (diskdrake_interactive is now diskdrake::interactive, ↵Pascal Rigaux2002-01-271-0/+55
diskdrake is now diskdrake::hd_gtk, others created from diskdrake.pm)