[yast-commit] r62434 - /trunk/autoinstallation/src/include/io.ycp
Author: elvigia Date: Thu Aug 26 00:35:14 2010 New Revision: 62434 URL: http://svn.opensuse.org/viewcvs/yast?rev=62434&view=rev Log: Mount devices "noatime" during autoinstallation Modified: trunk/autoinstallation/src/include/io.ycp Modified: trunk/autoinstallation/src/include/io.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/include/io.ycp?rev=62434&r1=62433&r2=62434&view=diff ============================================================================== --- trunk/autoinstallation/src/include/io.ycp (original) +++ trunk/autoinstallation/src/include/io.ycp Thu Aug 26 00:35:14 2010 @@ -178,8 +178,8 @@ y2milestone("Starting portmap: %1", SCR::Execute (.target.bash, "/sbin/portmap") ); } - if( !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-o nolock" ) && - !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-t nfs4" ) ) + if( !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-o noatime,nolock" ) && + !(boolean)SCR::Execute(.target.mount, [ Host + ":" + dirname(Path), mount_point ], "-o noatime -t nfs4" ) ) { y2warning("Mount failed"); // autoyast tried to mount a NFS directory which failed @@ -210,7 +210,7 @@ else if (Scheme == "cifs") // CIFS { if (!(boolean)SCR::Execute(.target.mount, - [ "//" + Host + dirname(Path), mount_point ], "-t cifs -o guest,ro" )) + [ "//" + Host + dirname(Path), mount_point ], "-t cifs -o guest,ro,noatime" )) { y2warning("Mount failed"); // autoyast tried to mount a NFS directory which failed @@ -314,7 +314,7 @@ y2milestone("already mounted=%1 mountpoint=%2",already_mounted,mount_point); if( ! already_mounted && !(boolean)WFM::Execute(.local.mount, [sformat("/dev/%1", Host), - mount_point]) ) { + mount_point], "-o noatime") ) { y2milestone("%1 is not mounted and mount failed", sformat("/dev/%1", Host)); GET_error = sformat(_("%1 is not mounted and mount failed"), sformat("/dev/%1", Host)); continue; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
elvigia@svn2.opensuse.org