summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* new perl_checker compliancePascal Rigaux2003-04-171-38/+40
|
* - 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
|