summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
Commit message (Collapse)AuthorAgeFilesLines
* remove small ugly typoPascal Rigaux2004-07-281-1/+1
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-272-5/+342
| | | | | | | | | | | | | | | | | | | | {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
* fix typoPascal Rigaux2004-07-261-1/+1
|
* replace pt_type2name($part->{pt_type}) with part2name($part)Pascal Rigaux2004-07-231-2/+2
| | | | | (hoisting the dereferencing {pt_type})
* - move format related functions out of fs.pm to new module fs/format.pmPascal Rigaux2004-07-231-0/+77
- remove swap.pm, moving its few functions to fs/format.pm or fs.pm