summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
Commit message (Collapse)AuthorAgeFilesLines
* - add get_info_from_fstab()Pascal Rigaux2003-02-271-1/+9
| | | | | - use it when reading existing fstab (to get for example devfs mount)
* thx rekcehc_lrepGuillaume Cottenceau2003-02-201-1/+1
|
* to workaround perl bug removing UTF8 flag when passing scalars to die's, passGuillaume Cottenceau2003-02-191-10/+10
| | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
* - more precise message when formatting / fsck'ing / mounting partitionsPascal Rigaux2003-02-101-12/+19
| | | | | - hide passwords (for smb)
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-5/+6
| | | | "every", "partition"
* (mount): do not fsck.ext2 when mounting readonlyPascal Rigaux2003-01-061-9/+13
|
* (add_options): drop (unused, use mount_options_unpack + mount_options_pack ↵Pascal Rigaux2002-12-131-19/+0
| | | | | | | instead) (mount_all): drop (unused, use formatMount_all instead)
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-2/+2
|
* use if_() where possible (as reported by perl_checker)Pascal Rigaux2002-12-041-1/+1
|
* one need run_program::raw() to use optionsPascal Rigaux2002-12-031-8/+8
|
* formatting timeout is now 1 hourPascal Rigaux2002-12-021-8/+8
|
* remove the duplicate mke2fs (fixes buggy 1.225 change)Pascal Rigaux2002-12-021-1/+0
|
* use append_to_file()Pascal Rigaux2002-12-021-3/+3
|
* perl_checker adaptationsPascal Rigaux2002-11-271-2/+2
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-2/+2
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* - replace ... =~ 'foo' with ... =~ /foo/Pascal Rigaux2002-11-111-2/+2
| | | | | - remove unneeded parentheses for things like ... if (...)
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-11/+11
| | | | | | | | | | | | | | | | | | | 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!
* (format_ext2): better error message when it is called from format_ext3Pascal Rigaux2002-11-051-0/+1
| | | | | (thanks to Brian Murrell)
* drop "notail" when filesystem is not reiserfsPascal Rigaux2002-09-301-0/+2
|
* - have ntfs "ro" by defaultPascal Rigaux2002-09-101-2/+3
| | | | | - "umask=0" is a special option for ntfs
* set umask=0 for ntfs partitions (currently only used when user sets the ↵Pascal Rigaux2002-09-051-1/+1
| | | | | | | mount point to a ntfs partition) (suggested in bug #189)
* revert add2hash_ username=% to add2hash (it breaks diskdrake --smb notPascal Rigaux2002-09-041-1/+1
| | | | | | defaulting to username=%, and i can't find out what was wrong in auto_install's manualFstab)
* handle no options in fs::mount (is it really needed?... it should not!)Pascal Rigaux2002-09-041-1/+1
|
* use add2hash_ for setting "username=%" otherwise it causes havoc in ↵Pascal Rigaux2002-08-281-1/+1
| | | | auto_install's manualFstab
* - read_fstab, write_fstab: add the possibility to not change credentialsPascal Rigaux2002-08-281-17/+12
| | | | | - use detect_devices::removables()
* remove deprecated comment (supermount *does* handle auto type nowadays)Pascal Rigaux2002-08-281-1/+1
|
* (set_default_options): use $is_removable to know if it is removable instead ofPascal Rigaux2002-08-281-1/+1
| | | | | | testing the presence of $part->{rootDevice} (this must be old code predating the avaibility of $is_removable)
* create detect_devices::suggest_mount_point and use it instead of doing it in ↵Pascal Rigaux2002-08-281-15/+4
| | | | fs::set_removable_mntpoints
* use mkdir_p instead of mkdirPascal Rigaux2002-08-281-2/+2
|
* use new function part2device() to have the file from {device} (fixes ↵Pascal Rigaux2002-08-281-8/+14
| | | | mounting of ntfs in standalone)
* default option username=% for smbPascal Rigaux2002-08-281-0/+3
|
* (prepare_write_fstab): use mkdir_p instead of mkdir to handle mount points ↵Pascal Rigaux2002-08-261-1/+1
| | | | like /mnt/foo/bar (bug reported by David Eastcott)
* fix checking the return value of fsck.jfsPascal Rigaux2002-08-191-1/+4
|
* backend davfs (WebDAV) supportPascal Rigaux2002-08-131-2/+5
|
* (prepare_write_fstab): no need to read the fstab once again before writing ↵Pascal Rigaux2002-08-111-12/+2
| | | | since reading takes care of everything, including unknown entries (which go to {special}). This fixes a bug when removing existing partition with associated mount point. It used to keep the entry in fstab, which is wrong (as reported by andré <naderrt@wanadoo.fr>)
* make sure fsck is called for ext3 partition (due to possible kernel panic onFrancois Pons2002-08-081-8/+3
| | | | | | corrupted ext3 partition, even after mounting ext3, umounting and remounting ext2).
* "LABEL=xxx" in fstab handlingPascal Rigaux2002-08-071-4/+12
|
* - call fsck.jfs before mounting read-write (otherwise mount simply fails)Pascal Rigaux2002-07-301-5/+15
| | | | | - propose fsck -y for ext2 when fsck -a fails
* fix mke2fs on loopbackPascal Rigaux2002-07-291-2/+2
|
* - use $::prefix for reading/writing (it was missing for writing)Pascal Rigaux2002-07-291-1/+1
| | | | | | - use output_p so that /etc/samba directory is created if needed (fix bug reported by David Eastcott)
* noreturn is now exported, no need to MDK::Common::Various::noreturn()Pascal Rigaux2002-07-251-1/+1
|
* for greater symmetry with smb, drop isNfs in favour of isThisFs('nfs', ...)Pascal Rigaux2002-07-071-3/+3
|
* supermount now handles fs=auto, using it :)Pascal Rigaux2002-07-061-6/+0
|
* when merge_fstabs, handle in a different way mtab and fstab (or manualFstab)Pascal Rigaux2002-07-061-10/+8
| | | | | => this allows to force the type&options in manualFstab
* (prepare_write_fstab): for supermount, have "none" as the device (cleaner, andPascal Rigaux2002-07-051-1/+1
| | | | | more coherent with the "supermount" script (tx to FredC))
* (merge_info_from_fstab): try to keep options from merged fstab IF the entry ↵Pascal Rigaux2002-07-051-1/+10
| | | | is for the same mountpoint AND the same device
* handle comments in fstabPascal Rigaux2002-07-051-5/+25
|
* - add authentification in diskdrake --smb (esp. for windows NT)Pascal Rigaux2002-06-281-6/+45
| | | | | | | | | | - use "credentials=" to put the passwords (ideas and investigations from Stew Benedict, integrated by Pixel, but need testing) Known bug: if you want to change the password when there are 2 entries in fstab using the same username=/password=, writing the credentials is done in random order, => you've got one chance in 2 that the password is changed :-(
* handle spaces in mount points and devices (using \040)Pascal Rigaux2002-06-281-0/+6
|
* mounting of ntfs after install really mount the partition (thanks to Buchan ↵Pascal Rigaux2002-06-191-1/+1
| | | | Milne)