Author: fehr Date: Mon Aug 20 19:26:21 2007 New Revision: 40374 URL: http://svn.opensuse.org/viewcvs/yast?rev=40374&view=rev Log: changed default options for ntfs mount points (#300694) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/FileSystems.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=40374&r1=40373&r2=40374&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Mon Aug 20 19:26:21 2007 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Aug 20 19:25:39 CEST 2007 - fehr@suse.de + +- changed default options for ntfs mount points (#300694) + +------------------------------------------------------------------- Mon Aug 20 17:01:27 CEST 2007 - fehr@suse.de - initialize suggested mount points not at module import (#300280) Modified: trunk/storage/storage/src/modules/FileSystems.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/FileSystems.ycp?rev=40374&r1=40373&r2=40374&view=diff ============================================================================== --- trunk/storage/storage/src/modules/FileSystems.ycp (original) +++ trunk/storage/storage/src/modules/FileSystems.ycp Mon Aug 20 19:26:21 2007 @@ -1383,13 +1383,14 @@ } else if( !Arch::ia64() && contains( [`vfat, `ntfs], fsys ) ) { - fst_default = "users,gid=users,umask=0002"; + fst_default = "users,gid=users"; string enc = LangTypicalEncoding(); string code = Encoding::GetCodePage(enc); if( size(enc)>0 ) { if( fsys != `ntfs ) { + fst_default = fst_default + ",umask=0002"; if( enc=="utf8" ) fst_default = fst_default + ",utf8=true"; else @@ -1397,11 +1398,11 @@ } else { + fst_default = fst_default + ",fmask=133,dmask=022"; map m = (map)SCR::Execute( .target.bash_output, "locale | grep LC_CTYPE" ); list<string> sl = splitstring( m["stdout"]:"", "\n" ); sl = splitstring( sl[0]:"", "=" ); y2milestone( "DefaultFstabOptions sl %1", sl ); - fst_default = fst_default + ",nls=" + enc; if( size(sl[1]:"")>0 ) fst_default = fst_default + ",locale=" + deletechars(sl[1]:"", "\"" ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org