[yast-commit] r39418 - in /trunk/storage: libstorage/src/EtcFstab.cc package/yast2-storage.changes storage/src/modules/FileSystems.ycp
Author: fehr Date: Mon Jul 16 12:12:50 2007 New Revision: 39418 URL: http://svn.opensuse.org/viewcvs/yast?rev=39418&view=rev Log: mount ntfs rw as default, use ntfs-3g driver for ntfs (#247750) Modified: trunk/storage/libstorage/src/EtcFstab.cc trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/FileSystems.ycp Modified: trunk/storage/libstorage/src/EtcFstab.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/EtcFstab.cc?rev=39418&r1=39417&r2=39418&view=diff ============================================================================== --- trunk/storage/libstorage/src/EtcFstab.cc (original) +++ trunk/storage/libstorage/src/EtcFstab.cc Mon Jul 16 12:12:50 2007 @@ -63,6 +63,8 @@ p->old.dmcrypt = true; p->old.encr = ENC_LUKS; } + else if( p->old.fs=="ntfs-3g" ) + p->old.fs=="ntfs"; } if( i!=l.end() ) p->old.opts = splitString( *i++, "," ); @@ -100,7 +102,11 @@ if( i!=l.end() ) p->old.mount = *i++; if( i!=l.end() ) + { p->old.fs = *i++; + if( p->old.fs=="ntfs-3g" ) + p->old.fs=="ntfs"; + } if( i!=l.end() ) p->old.encr = Volume::toEncType( *i++ ); if( i!=l.end() ) @@ -476,7 +482,9 @@ if( e.dmcrypt && e.noauto ) ls.push_back( "crypt" ); else - ls.push_back( e.fs ); + { + ls.push_back( (e.fs!="ntfs")?e.fs:"ntfs-3g" ); + } if( e.crypto ) { ls.push_back( Volume::encTypeString(e.encr) ); Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=39418&r1=39417&r2=39418&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Mon Jul 16 12:12:50 2007 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jul 16 12:11:50 CEST 2007 - fehr@suse.de + +- mount ntfs rw as default, use ntfs-3g driver for ntfs (#247750) + +------------------------------------------------------------------- Thu Jul 5 15:34:35 CEST 2007 - fehr@suse.de - fix wrong handling of disk initialisation (#287247) Modified: trunk/storage/storage/src/modules/FileSystems.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/FileSystems.ycp?rev=39418&r1=39417&r2=39418&view=diff ============================================================================== --- trunk/storage/storage/src/modules/FileSystems.ycp (original) +++ trunk/storage/storage/src/modules/FileSystems.ycp Mon Jul 16 12:12:50 2007 @@ -1077,7 +1077,7 @@ } else if( used_fs == `ntfs ) { - ret = "ntfs"; + ret = "ntfs-3g"; } } if( ret == "" ) ret = defaultv; @@ -1394,10 +1394,6 @@ { fst_default = fst_default + ",codepage=" + code; } - if( fsys == `ntfs ) - { - fst_default = "ro," + fst_default; - } } any dp = LibStorage::ContVolInfo::new("LibStorage::ContVolInfo"); string dev = part["device"]:""; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
fehr@svn.opensuse.org