summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
Commit message (Collapse)AuthorAgeFilesLines
* - 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)
* use -ff for mkreiserfs, do not use -q for mkreiserfsPascal Rigaux2002-06-051-1/+1
|
* removing quota choices for reiserfsPascal Rigaux2002-03-071-1/+1
|
* fixed hd install to allow using specific directory.Francois Pons2002-03-051-3/+12
|
* use the "soft" option by default for /mnt/nfs and for "diskdrake --nfs"Pascal Rigaux2002-02-281-1/+1
|
* - zips() now return devices ending with "4", raw_zips() is the old zips()Pascal Rigaux2002-02-261-1/+1
| | | | | | - rdvd handling - add .conf for /etc/devfs/conf.d/ files
* use ide-scsi for ide zipsPascal Rigaux2002-02-251-2/+3
|
* nicer error message when mount failsPascal Rigaux2002-02-231-3/+3
|
* (mount_options_unpack): add usrquota and grpquota for ext2/ext3/reiserfs/xfsPascal Rigaux2002-02-181-0/+2
|
* - remove media_type cdrom-burner, use {capacity} insteadPascal Rigaux2002-02-181-2/+2
| | | | | - use /proc/sys/dev/cdrom/info to fill in the {capacity}
* (fstab_to_string): unsetting mount points in standalone will now workPascal Rigaux2002-02-131-0/+9
|
* - handle WORM type in /proc/scsi/scsiPascal Rigaux2002-02-131-2/+2
| | | | | | | - added media_type cdrom-burner - adapting to new media_type - nicer fd&hd testing
* (mount): precise the type when mounting in standalone (for smb, nfs would ↵Pascal Rigaux2002-02-071-1/+1
| | | | not need it)
* new function fstab_to_stringPascal Rigaux2002-01-271-2/+7
|
* do not create /swapPascal Rigaux2002-01-171-1/+1
|