From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.ru>
Subject: Re: [Comm] update-alternatives
Date: Sun, 13 Oct 2002 23:24:12 +0400
Message-ID: <20021013192412.GA9293@basalt.office.altlinux.ru> (raw)
In-Reply-To: <20021013215137.25bf9ea8.sinom@ktk.ru>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
On Sun, Oct 13, 2002 at 09:51:37PM +0800, Sinom wrote:
> Цитирую:
> ----------------------------------------------------------
> ДЕЙСТВИЯ
> --install link gen path pri [--slave slink sgen spath] ...
> Добавляет группу альтернатив в систему. gen -
> универсальное имя для главной ссылки, link - имя
> этой ссылки, path - альтернатива для главной
> ссылки. sgen, slink и spat это универсальное имя,
> ссылка и альтернатива для подчиненной ссылки.
> Может быть определено любое число действий --slave,
> и каждое из них - с тремя аргументами.
> ----------------------------------------------------------
>
> Немогу понять значение link и gen. Чем они отличаются? Пожалуйста,
> поясните.
link - имя файла, которое будет использоваться обычными приложениями,
не подозревающими о наличии update-alternatives;
gen - идентификатор, используемый для работы с этой альтернативой;
path - значение новой альтернативы;
pri - приоритет этого значения.
На примере gcc:
link = /usr/bin/gcc
gen = gcc
path = /usr/bin/gcc-3.2
pri = 30
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-10-13 19:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-13 13:51 Sinom
2002-10-13 19:24 ` Dmitry V. Levin [this message]
2002-10-14 1:36 ` Sinom
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=20021013192412.GA9293@basalt.office.altlinux.ru \
--to=ldv@altlinux.org \
--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