ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Andrey Liakhovets" <liakh@dol.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Установка по сети (NFS)
Date: Thu, 11 Apr 2013 17:33:11 +0400
Message-ID: <web-1145809108@cgp.dol.ru> (raw)
In-Reply-To: <20130411145617.3a9685e4@boyarsh.office.altlinux.ru>

On Thu, 11 Apr 2013 14:56:17 +0400 "Anton V. Boyarshinov" wrote:
>On Thu, 11 Apr 2013 13:57:19 +0400 Andrey Liakhovets wrote:
>
>> Кто-нибудь знает, в какие исходники посмотреть на предмет overlays-live ?
>make-initrd-propagator

Спасибо, посмотрел.
Значит, я ошибся -- такой mount вызывался только если я запускал live.
И похоже, что зависания с этим никак не связаны.

Кстати, а почему бы не дать возможность указывать overlays в параметрах PXE?
Например, так:
--- old/propagator/data/sbin/init-bottom        2013-03-21 12:16:38.000000000 +0400
+++ new/propagator/data/sbin/init-bottom        2013-04-11 17:27:09.443960280 +0400
@@ -43,7 +43,9 @@
 
 nfs_slice(){
 local profile
-local overlays=/srv/public/netinst/overlays-live
+local overlays
+overlays=$(get_cmdline -p automatic overlays || : )
+overlays="${overlays:-/srv/public/netinst/overlays-live}"
 if equal_cmdline nfs automatic method; then
        # mount overlays from nfs 
        ip=$(netstat -t --numeric-hosts --numeric-ports | grep :2049 | head -n1 | \

И ещё: может, в get_cmdline описка - PROC_CMDINE - имелось ввиду PROC_CMDLINE ?

Андрей Ляховец


  reply	other threads:[~2013-04-11 13:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11  9:57 Andrey Liakhovets
2013-04-11 10:30 ` Viacheslav Dubrovskyi
2013-04-11 10:49   ` Andrey Liakhovets
2013-04-11 10:56 ` Anton V. Boyarshinov
2013-04-11 13:33   ` Andrey Liakhovets [this message]
2013-04-11 14:16     ` Michael Shigorin

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=web-1145809108@cgp.dol.ru \
    --to=liakh@dol.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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