From: Andrey Rahmatullin <wrar@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm][SUMMARY] uname -a
Date: Tue, 25 Jan 2005 22:45:13 +0500
Message-ID: <20050125174513.GG16374@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <200501240009.02804.krapa@uraltc.ru>
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
On Mon, Jan 24, 2005 at 12:09:02AM +0000, Andrey Konovalov aka Krapa wrote:
> Linux gate.krapa.ru 2.4.26-std-up-alt6 #1 Tue Aug 3 21:45:23 MSD 2004 i686
> unknown unknown GNU/Linux
> ^^^^^^^^^^^^^
> Где определяются эти unknown? В смысле где задаются?
Решил таки покопаться. При помощи uname(2) можно получить лишь
Linux gate.krapa.ru 2.4.26-std-up-alt6 #1 Tue Aug 3 21:45:23 MSD 2004 i686
(это фактически uname -srnvm). По strace видно, что uname(1) при указании
одного из этих параметров вызывает uname(2), и это нормально. Но если их
не указывать (а указать -pio, например), видно, что не вызывается ничего.
uname -pio - это как раз unknown unknown GNU/Linux, и оно определяется, по
всей видимости, при компиляции /bin/uname.
Да, очевидно, что от архитектуры машины ничего не зависит. Это глибц
(из-за uname(2) и <sys/utsname.h>) и ядро (из-за <linux/utsname.h>).
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):
> И zsh не умеет ключи rpmquery дополнять :(
Ну так повесьте сами-знаете-что сами-знаете-куда. :)
-- ldv in community@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-01-25 17:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-24 0:09 [Comm] " Andrey Konovalov aka Krapa
2005-01-23 19:26 ` Andrey Rahmatullin
2005-01-25 17:45 ` Andrey Rahmatullin [this message]
2005-01-27 14:18 ` [Comm][SUMMARY] " Andrey Konovalov aka Krapa
2005-02-01 6:57 ` [Comm] " Michael Shigorin
2005-02-01 7:02 ` Andrey Konovalov aka Krapa
2005-02-01 13:13 ` [Comm] [JT] " Michael Shigorin
2005-02-02 7:31 ` Andrey Konovalov aka Krapa
2005-02-02 9:35 ` [Comm] Re: [JT] Re: uname -ы Michael Shigorin
2005-02-02 11:33 ` Andrey Konovalov aka Krapa
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=20050125174513.GG16374@wrars-comp.wrarsdomain \
--to=wrar@altlinux.ru \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git