Re: /bin/arch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karel Zak wrote:
On Tue, Apr 03, 2007 at 05:56:49PM +0200, Matthias Koenig wrote:
Hi,

I noticed that /bin/arch has been removed in release 2.13-pre1.
While this command is equivalent to uname -m, it is used by some
old scripts. Any chance to keep this for compatibility reasons?

 Good point.

 Yes, I'd like to keep it. It seems that many people (include me :-)
 use it. We (Red Hat) have tried to remove it from our distros, but
 without success. I think maintain this tiny tool is without any
 overhead.

#!/bin/sh
exec /bin/uname -m

Either that, or just make uname detect a link to "arch".

	-hpa
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux