mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hari <harisri@bigpond.com>
To: Alexander Viro <viro@math.psu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux-2.4.15-pre5 - probably something wrong with /proc/cpuinfo.
Date: Sun, 18 Nov 2001 11:06:20 +0000	[thread overview]
Message-ID: <20011118000346Z281221-17408+15574@vger.kernel.org> (raw)
In-Reply-To: <Pine.GSO.4.21.0111171055290.11475-100000@weyl.math.psu.edu>
In-Reply-To: <Pine.GSO.4.21.0111171055290.11475-100000@weyl.math.psu.edu>

On Sat, 17 Nov 2001 15:56, Alexander Viro wrote:
> I can't reproduce it here.  Which version of bash it is?
Hello,

It is: GNU bash, version 2.04.0(1)-release

On a related note redirecting the contents of /proc/cpuinfo using 'cat' 
command to a file on my home directory and providing that as an input fixes 
the problem. For eg:

#/bin/bash
# set and adjust the CMOS clock
if test "$HWCLOCK_ACCESS" != "no" ; then
echo -n Setting up the CMOS clock
CLOCKCMD=hwclock
cat /proc/cpuinfo > /root/2.4.15-pre5
while read line; do
        case "$line" in
                *MTX\ Plus*) CLOCKCMD="hwclock --mtxplus --directisa" ;;
                *PReP\ Dual\ MTX*) CLOCKCMD="hwclock --mtxplus --directisa" ;;
        esac
done < /root/2.4.15-pre5
fi

Thanks.
-- 
Hari.
harisri@bigpond.com


  reply	other threads:[~2001-11-18  0:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-18  1:45 hari
2001-11-17 15:56 ` Alexander Viro
2001-11-18 11:06   ` hari [this message]
2001-11-18  0:09     ` Alexander Viro
2001-11-18 15:17       ` hari
2001-11-17 16:40 ` Florian Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011118000346Z281221-17408+15574@vger.kernel.org \
    --to=harisri@bigpond.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®