On Fri, 2008-11-07 at 14:21 +0530, Nageswara R Sastry wrote:
> CAI Qian wrote:
> Hi,
> ...
> >> + do
> >> + cat /sys/devices/system/cpu/cpuidle/${files} 2>&1 >/dev/null
> >
> > I guess you want ">/dev/null 2>&1" to eliminate both STDERR and STDOUT.
>
> You are right. I will change this.
>
> >> ln -f config_cpu_freq ../../bin/config_cpu_freq; \
> >> ln -f config_cpu_idle ../../bin/config_cpu_idle; \
> >> ln -f config_sched_mc ../../bin/config_sched_mc;
> >> + ln -f check_cpuidle_sysfs_files.sh
> >> ../../bin/check_cpuidle_sysfs_files.sh;
> >
> > Is it really necessary to do hard links instead of symbol links?
>
> In most of the Makefile(s) under LTP I saw hard links. Subrata, what's
> your thought on this?
Hardlinks are necessary in certain scenarios like:
1) You go to an individual directory and say Make clean. It removes the
binaries there. If you do a runltp from the root now, it will produce
error as not being able to find the binary which is soft linked. For
hard link, it still exists in bin/ directory.
Regards--
Subrata
>
> Thanks & Regards
> R.Nageswara Sastry
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list