summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-03 14:36:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-03 14:36:30 +0000
commitb21144e3eebc4cb79f3c711ba507ed6251ec4ed4 (patch)
treed8a2fa05ad2e052d4e6c774558d0981615d87545 /perl-install
parentb36272f65f128d9f8ec424ad4370314bc5656788 (diff)
downloaddrakx-b21144e3eebc4cb79f3c711ba507ed6251ec4ed4.tar
drakx-b21144e3eebc4cb79f3c711ba507ed6251ec4ed4.tar.gz
drakx-b21144e3eebc4cb79f3c711ba507ed6251ec4ed4.tar.bz2
drakx-b21144e3eebc4cb79f3c711ba507ed6251ec4ed4.tar.xz
drakx-b21144e3eebc4cb79f3c711ba507ed6251ec4ed4.zip
- diskdrake:
o allow setting "flush" option (for vfat) - install: o configure removable writable media to use "flush" option instead of "sync" (#23042)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/fs/mount_options.pm8
-rw-r--r--perl-install/install/NEWS2
3 files changed, 10 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 38b3561a0..9a20e8838 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o allow setting "flush" option (for vfat)
+
Version 10.4.157 - 03 August 2007, by Thierry Vignaud
- report real version on --help
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index ce06ef9e2..2cd184814 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -27,7 +27,7 @@ sub unpack {
my @auto_fs = fs::type::guessed_by_mount();
my %per_fs = (
iso9660 => [ qw(unhide) ],
- vfat => [ qw(umask=0 umask=0022) ],
+ vfat => [ qw(flush umask=0 umask=0022) ],
ntfs => [ qw(umask=0 umask=0022) ],
nfs => [ qw(rsize=8192 wsize=8192) ],
smbfs => [ qw(username= password=) ],
@@ -110,6 +110,8 @@ sub help() {
'encrypted' => N("Use an encrypted file system"),
+ 'flush' => N("Flush write cache on file close"),
+
'grpquota' => N("Enable group disk quota accounting and optionally enforce limits"),
'noatime' => N("Do not update inode access times on this file system
@@ -181,7 +183,7 @@ sub set_default {
&& (!$part->{fs_type} || $part->{fs_type} eq 'auto' || $part->{fs_type} =~ /:/)) {
$options->{supermount} = 0; #- always disable supermount
$part->{fs_type} = 'auto';
- $options->{sync} = 1 if $part->{media_type} ne 'cdrom';
+ $options->{flush} = 1 if $part->{media_type} ne 'cdrom';
}
if ($part->{media_type} eq 'cdrom') {
@@ -190,7 +192,7 @@ sub set_default {
if ($part->{media_type} eq 'fd') {
# slow device so do not loose time, write now!
- $options->{sync} = 1;
+ $options->{flush} = 1;
}
if (isTrueFS($part)) {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index d4a93c7c2..ac58712b4 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- configure removable writable media to use "flush" option instead of "sync" (#23042)
+
Version 10.4.155 - 2 August 2007, by Pascal "Pixel" Rigaux
- use kbd (setfont) instead of console-tools (consolechars)