Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | perl_checker compliance | Pascal Rigaux | 2004-09-20 | 1 | -1/+1 |
| | |||||
* | - add field {part_number} for partitions | Pascal Rigaux | 2004-09-20 | 1 | -2/+8 |
| | | | | | | | | | | | (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 | ||||
* | - don't use fs::get_info_from_fstab() in install_any::use_root_part() to be ↵ | Pascal Rigaux | 2004-09-20 | 1 | -3/+2 |
| | | | | | | | | | able to handle renamed devices - fs::get_info_from_fstab() doesn't take a prefix anymore - small perl_checker fix in install_any.pm | ||||
* | - ignore first line of /proc/swaps | Pascal Rigaux | 2004-09-07 | 1 | -3/+8 |
| | | | | | | | - partially handle /udev/xxx device names in fstab - ignore rootfs "device" - don't warn for loopback files | ||||
* | enhance based on perl_checker suggestion, but not using it :) | Pascal Rigaux | 2004-08-12 | 1 | -3/+2 |
| | |||||
* | allow 192.168.1.1:/export | Pascal Rigaux | 2004-08-09 | 1 | -1/+1 |
| | |||||
* | move mount options related stuff from fs.pm to newly created fs/mount_options.pm | Pascal Rigaux | 2004-08-03 | 1 | -242/+3 |
| | | | | | | | | | | | - fs::set_all_default_options() -> fs::mount_options::set_all_default() - fs::mount_options_pack() -> fs::mount_options::pack() - fs::mount_options_unpack() -> fs::mount_options::unpack() - fs::rationalize_options() -> fs::mount_options::rationalize() - fs::set_default_options() -> fs::mount_options::set_default() - fs::mount_options() -> fs::mount_options::list() - fs::mount_options_help() -> fs::mount_options::help() | ||||
* | *** empty log message *** | Pascal Rigaux | 2004-08-03 | 1 | -1/+2 |
| | |||||
* | many functions in fsedit don't modify anything, they are simply accessors. | Pascal Rigaux | 2004-08-03 | 1 | -24/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | don't use supermount for {is_removable} devices when used for a boot time ↵ | Pascal Rigaux | 2004-08-02 | 1 | -1/+1 |
| | | | | partition (like /usr and /) | ||||
* | - add field {fs_type} partially replacing {pt_type} | Pascal Rigaux | 2004-07-27 | 1 | -48/+47 |
| | | | | | | | | | | | | | | | | | | | | {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 | -1/+1 |
| | | | | | (hoisting the dereferencing {pt_type}) | ||||
* | - move format related functions out of fs.pm to new module fs/format.pm | Pascal Rigaux | 2004-07-23 | 1 | -103/+15 |
| | | | | | - remove swap.pm, moving its few functions to fs/format.pm or fs.pm | ||||
* | set {is_removable} directly in fsedit::hds() | Pascal Rigaux | 2004-07-22 | 1 | -1/+0 |
| | |||||
* | big renaming of field {type} to {pt_type}, | Pascal Rigaux | 2004-07-05 | 1 | -30/+30 |
| | | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number | ||||
* | create rationalize_options() and use it (bugzilla #3525) | Pascal Rigaux | 2004-07-05 | 1 | -2/+15 |
| | | | | | more checks should be done in this function, and used at more places (but where?) | ||||
* | don't set {major} and {minor} to 0 when the device doesn't exist | Pascal Rigaux | 2004-07-05 | 1 | -1/+3 |
| | |||||
* | use fsedit::is_same_hd in drakupdate_fstab and revert previous change in ↵ | Olivier Blin | 2004-06-29 | 1 | -2/+2 |
| | | | | fs::subpart_from_wild_device_name (do not fill both devfs_device and device fields) | ||||
* | do not add default device in device hash, it will be filled with result from ↵ | Olivier Blin | 2004-06-29 | 1 | -1/+1 |
| | | | | fs::subpart_from_wild_device_name | ||||
* | always update $part{device} in fs::subpart_from_wild_device_name because ↵ | Olivier Blin | 2004-06-29 | 1 | -2/+2 |
| | | | | /dev is stripped (fix #6982, #10175) | ||||
* | - enhance subpart_from_wild_device_name() to handle "sda" the same as ↵ | Pascal Rigaux | 2004-06-25 | 1 | -21/+35 |
| | | | | | | | | | "/dev/sda" (when /dev/sda exists) - new function device2part() which uses subpart_from_wild_device_name and the given fstab to convert the device name to the corresponding structure (this allows not relying too much on the device name) | ||||
* | - new function subpart_from_wild_device_name() | Pascal Rigaux | 2004-06-15 | 1 | -20/+38 |
| | | | | | - use it | ||||
* | - stop mounting ext3 partitions using type ext2 during install | Pascal Rigaux | 2004-06-02 | 1 | -5/+1 |
| | | | | | - stop fsck'ing ext3 partitions (it was only done during install, not upgrade) | ||||
* | new function isTrueLocalFS() to make a distinction between ext3/reiserfs/... ↵ | Pascal Rigaux | 2004-05-27 | 1 | -1/+1 |
| | | | | | | | and nfs => allow /home on nfs (bugzilla #7460) | ||||
* | new function isTrueLocalFS() to make a distinction between ext3/reiserfs/... ↵ | Pascal Rigaux | 2004-05-27 | 1 | -1/+1 |
| | | | | | | | and nfs => allow /home on nfs (bugzilla #7460) | ||||
* | really handle LABEL=XXX in fstab (as used by redhat) (no xfs labels yet) | Pascal Rigaux | 2004-05-13 | 1 | -9/+11 |
| | |||||
* | don't prefer_devfs_name when reading /proc/mounts (which uses devfs names) | Pascal Rigaux | 2004-05-06 | 1 | -4/+4 |
| | |||||
* | fix drakupdate_fstab adding twice an entry in fstab, one with the old name, ↵ | Pascal Rigaux | 2004-05-01 | 1 | -1/+6 |
| | | | | one with the devfs name | ||||
* | allow mounting type devpts | Pascal Rigaux | 2004-04-05 | 1 | -1/+1 |
| | |||||
* | perl now handle cleanly utf8 string in exceptions, no need to die \N("...") | Pascal Rigaux | 2004-04-05 | 1 | -10/+10 |
| | |||||
* | - do not pass options is_removable to set_default_options() since it is not ↵ | Pascal Rigaux | 2004-03-23 | 1 | -7/+8 |
| | | | | | | | | | a global options - replace it with a flag in the part or raw_hd - set is_removable for part from usb drive - ensure usb partitions are not checked at boot time (freq field in fstab) | ||||
* | no entry in fstab for zips (now cleanly done by hotplug) | Pascal Rigaux | 2004-03-05 | 1 | -0/+1 |
| | |||||
* | move set_loop() from formatMount_part to real_format_part to fix Format with ↵ | Pascal Rigaux | 2004-03-03 | 1 | -3/+4 |
| | | | | encrypted files/devices | ||||
* | one now need cryptoloop and aes when using encryption (kernel 2.6) | Pascal Rigaux | 2004-03-03 | 1 | -4/+1 |
| | |||||
* | sysfs now exists! | Pascal Rigaux | 2004-03-03 | 1 | -1/+1 |
| | |||||
* | add umask=0022 capability, and use it for security level 3 | Pascal Rigaux | 2004-02-20 | 1 | -4/+18 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2004-01-30 | 1 | -1/+1 |
| | |||||
* | replace iocharset= with nls= for ntfs (as instructed by Thomas Backlund, thanks) | Pascal Rigaux | 2004-01-29 | 1 | -1/+1 |
| | |||||
* | checking {notFormatted} must never be done alone, one must check ↵ | Pascal Rigaux | 2004-01-23 | 1 | -1/+1 |
| | | | | {isFormatted} first! | ||||
* | fix mount point /tmp/image for the cdrom in generated /etc/fstab | Pascal Rigaux | 2004-01-20 | 1 | -3/+5 |
| | |||||
* | kernel 2.2 is deprecated | Pascal Rigaux | 2004-01-19 | 1 | -1/+1 |
| | |||||
* | don't write fstab entries which are notFormatted | Pascal Rigaux | 2004-01-14 | 1 | -1/+1 |
| | |||||
* | remove a few other SIG{__DIE__} | Pascal Rigaux | 2004-01-09 | 1 | -1/+0 |
| | |||||
* | get_raw_hds adds removables to {raw_hds}, it doesn't overwrite it | Pascal Rigaux | 2003-11-27 | 1 | -1/+1 |
| | | | | | (so that non partitioned usb keys are not dropped) | ||||
* | - use the "mount" command directly in move | Pascal Rigaux | 2003-11-12 | 1 | -11/+14 |
| | | | | | - still not really clean ($o_options is dropped in many cases) | ||||
* | allow mounting devfs as well (move) | Guillaume Cottenceau | 2003-10-09 | 1 | -1/+1 |
| | |||||
* | fix error message | Pascal Rigaux | 2003-09-22 | 1 | -1/+1 |
| | |||||
* | ensure that a number is not written as the type in fstab | Pascal Rigaux | 2003-09-17 | 1 | -1/+1 |
| | |||||
* | add description for option "umask=0" (bug #4310) | Pascal Rigaux | 2003-09-02 | 1 | -0/+2 |
| | |||||
* | don't check ext3 filesystems nor mount them as ext2 during upgrade (bug #5067) | Pascal Rigaux | 2003-08-31 | 1 | -1/+1 |
| |