ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] spt/spt3
Date: Wed, 8 Nov 2006 01:17:45 +0300
Message-ID: <20061107221745.GB29276@basalt.office.altlinux.org> (raw)
In-Reply-To: <45506E13.3050601@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

On Tue, Nov 07, 2006 at 02:29:23PM +0300, Mikhail Yakshin wrote:
[...]
> Ну, на самом деле, из того, что я вижу в том spt, который сейчас в 
> Сизифе и из того, что ты сказал - принципиальных различий у этого 
> подхода и "двойных чрутов" - нет.
> 
> По сути - $chroot/ и $chroot/tmp/.archive - это и есть эти двойные 
> чруты, только ты их предлагаешь создавать не сразу, а по мере 
> необходимости на более поздних стадиях.
> 
> Минусов я пока вижу 2:
> 
> 1) мне не очень нравится перспектива - "завернем все в tar", а потом 
> "развернем его же в /tmp/.archive", т.е. фактически - переместим каталог 
> - но в принципе это как раз можно изменить на просто перемещение?

Если вопрос в оптимальности, то можно замерить производительность каждого
из этиъ двух вариантов.

> 2) в первом, настоящем, chroot'е должен быть tar, который "сам себя 
> завернет".

Вместо tar'а можно использовать $chroot/.host/{find,cpio}, тем более что
cpio должен уметь --format=ustar.

> Но опять же - в целом и общем - разница по сути только в том, делать ли 
> сразу 2 чрута или делать второй позже, когда он понадобится.

Давайте тщательно взвесим все за и против, чтобы вопросов не осталось.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2006-11-07 22:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-10 18:59 [devel] rpm macros Alexey Tourbin
2006-09-11  4:00 ` Alexey Tourbin
2006-11-05 21:21   ` [devel] spt/spt3 Денис Смирнов
2006-11-05 21:36     ` Dmitry V. Levin
2006-11-06  5:37       ` Hihin Ruslan
2006-11-06 16:03       ` Денис Смирнов
2006-11-07  8:14         ` Konstantin A. Lepikhov
2006-11-07  8:33           ` Денис Смирнов
2006-11-07  8:36             ` Konstantin A. Lepikhov
2006-11-07  9:25               ` [devel] double chroot Alex V. Myltsev
2006-11-07 20:31                 ` Денис Смирнов
2006-11-07 21:32                   ` [devel] [JT] " Alex V. Myltsev
2006-11-07 23:24                     ` Денис Смирнов
2006-11-08  5:55                       ` Alex V. Myltsev
2006-11-07 10:17           ` [devel] spt/spt3 Mikhail Yakshin
2006-11-07 10:36             ` Konstantin A. Lepikhov
2006-11-07 11:29               ` Mikhail Yakshin
2006-11-07 11:44                 ` Konstantin A. Lepikhov
2006-11-07 12:41                 ` Sergey Vlasov
2006-11-07 13:01                   ` Konstantin A. Lepikhov
2006-11-07 13:08                     ` Dmitry V. Levin
2006-11-07 13:40                       ` [devel] vzctl Slava Dubrovskiy
2006-11-07 15:17                         ` Dmitry V. Levin
2006-11-07 20:34                 ` [devel] spt/spt3 Денис Смирнов
2006-11-07 22:09                   ` Dmitry V. Levin
2006-12-09  9:29                     ` Hihin Ruslan
2006-12-10  0:54                       ` Mikhail Yakshin
2006-12-10  6:21                         ` Hihin Ruslan
2006-12-10  9:28                         ` Konstantin A. Lepikhov
2006-11-07 22:17                 ` Dmitry V. Levin [this message]

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=20061107221745.GB29276@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git