summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* when umount fails, try killing fam and trying againPascal Rigaux2003-08-211-5/+4
|
* Handle EFI partitions. umount syscall does not exist on AMD64, use umount2Gwenolé Beauchesne2003-08-191-2/+7
|
* remember to update mount options description on util-linux updateThierry Vignaud2003-06-241-0/+1
|
* stricter regexp when looking /dev/xxx otherwise it is used also for nfs namesPascal Rigaux2003-06-061-2/+2
| | | | | and causes havoc
* make perl_checker a happy botPascal Rigaux2003-06-051-1/+1
|
* don't use description of fstab options from manpage mount(8), inline them in ↵Pascal Rigaux2003-06-051-28/+35
| | | | the source
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-1/+1
|
* another perl_checker optional parameter compliancePascal Rigaux2003-04-171-5/+5
|