summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
Commit message (Collapse)AuthorAgeFilesLines
...
* - add field {part_number} for partitionsPascal Rigaux2004-09-201-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 Rigaux2004-09-201-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/swapsPascal Rigaux2004-09-071-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 Rigaux2004-08-121-3/+2
|
* allow 192.168.1.1:/exportPascal Rigaux2004-08-091-1/+1
|
* move mount options related stuff from fs.pm to newly created fs/mount_options.pmPascal Rigaux2004-08-031-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 Rigaux2004-08-031-1/+2
|
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-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 Rigaux2004-08-021-1/+1
| | | | partition (like /usr and /)
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-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 Rigaux2004-07-231-1/+1
| | | | | (hoisting the dereferencing {pt_type})
* - move format related functions out of fs.pm to new module fs/format.pmPascal Rigaux2004-07-231-103/+15
| | | | | - remove swap.pm, moving its few functions to fs/format.pm or fs.pm
* set {is_removable} directly in fsedit::hds()Pascal Rigaux2004-07-221-1/+0
|
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-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 Rigaux2004-07-051-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 existPascal Rigaux2004-07-051-1/+3
|
* use fsedit::is_same_hd in drakupdate_fstab and revert previous change in ↵Olivier Blin2004-06-291-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 Blin2004-06-291-1/+1
| | | | fs::subpart_from_wild_device_name
* always update $part{device} in fs::subpart_from_wild_device_name because ↵Olivier Blin2004-06-291-2/+2
| | | | /dev is stripped (fix #6982, #10175)
* - enhance subpart_from_wild_device_name() to handle "sda" the same as ↵Pascal Rigaux2004-06-251-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 Rigaux2004-06-151-20/+38
| | | | | - use it
* - stop mounting ext3 partitions using type ext2 during installPascal Rigaux2004-06-021-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 Rigaux2004-05-271-1/+1
| | | | | | | and nfs => allow /home on nfs (bugzilla #7460)
* new function isTrueLocalFS() to make a distinction between ext3/reiserfs/... ↵Pascal Rigaux2004-05-271-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 Rigaux2004-05-131-9/+11
|
* don't prefer_devfs_name when reading /proc/mounts (which uses devfs names)Pascal Rigaux2004-05-061-4/+4
|
* fix drakupdate_fstab adding twice an entry in fstab, one with the old name, ↵Pascal Rigaux2004-05-011-1/+6
| | | | one with the devfs name
* allow mounting type devptsPascal Rigaux2004-04-051-1/+1
|
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-10/+10
|
* - do not pass options is_removable to set_default_options() since it is not ↵Pascal Rigaux2004-03-231-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 Rigaux2004-03-051-0/+1
|
* move set_loop() from formatMount_part to real_format_part to fix Format with ↵Pascal Rigaux2004-03-031-3/+4
| | | | encrypted files/devices
* one now need cryptoloop and aes when using encryption (kernel 2.6)Pascal Rigaux2004-03-031-4/+1
|
* sysfs now exists!Pascal Rigaux2004-03-031-1/+1
|
* add umask=0022 capability, and use it for security level 3Pascal Rigaux2004-02-201-4/+18
|
* *** empty log message ***Pascal Rigaux2004-01-301-1/+1
|
* replace iocharset= with nls= for ntfs (as instructed by Thomas Backlund, thanks)Pascal Rigaux2004-01-291-1/+1
|
* checking {notFormatted} must never be done alone, one must check ↵Pascal Rigaux2004-01-231-1/+1
| | | | {isFormatted} first!
* fix mount point /tmp/image for the cdrom in generated /etc/fstabPascal Rigaux2004-01-201-3/+5
|
* kernel 2.2 is deprecatedPascal Rigaux2004-01-191-1/+1
|
* don't write fstab entries which are notFormattedPascal Rigaux2004-01-141-1/+1
|
* remove a few other SIG{__DIE__}Pascal Rigaux2004-01-091-1/+0
|
* get_raw_hds adds removables to {raw_hds}, it doesn't overwrite itPascal Rigaux2003-11-271-1/+1
| | | | | (so that non partitioned usb keys are not dropped)
* - use the "mount" command directly in movePascal Rigaux2003-11-121-11/+14
| | | | | - still not really clean ($o_options is dropped in many cases)
* allow mounting devfs as well (move)Guillaume Cottenceau2003-10-091-1/+1
|
* fix error messagePascal Rigaux2003-09-221-1/+1
|
* ensure that a number is not written as the type in fstabPascal Rigaux2003-09-171-1/+1
|
* add description for option "umask=0" (bug #4310)Pascal Rigaux2003-09-021-0/+2
|
* don't check ext3 filesystems nor mount them as ext2 during upgrade (bug #5067)Pascal Rigaux2003-08-311-1/+1
|
* use fs=ext2:vfat or fs=udf:iso9600 for supermount (it needs supermount-ng)Pascal Rigaux2003-08-261-6/+9
|