ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] default runfs size?
Date: Sun, 10 Jun 2018 23:36:25 +0300
Message-ID: <4b9be4a8-095a-b77f-b0f1-b591e1c54553@gmail.com> (raw)
In-Reply-To: <d0e4ffce-069b-886b-9518-f6f1627e5f8b@complife.ru>


10.06.2018 22:07, Michael A. Kangin пишет:
> On 06/10/2018 05:24 PM, Denis Medvedev wrote:
>
>> Насколько я знаю, он забит в код systemd (!) в виде константы (!).
>
> Может, где-то и забит, но влияет явно не это - в домашней системе и в 
> виртуалке версия systemd одна и та же, а вот размер runfs разный.
>

Он зависит от размера доступного ОЗУ, для -t tmpfs по дефолту выделяется 
50%, если не используется -o size=..., отсюда и разница, определяемая в 
make-initrd (005-prepare). /etc/rc.sysvinit (пакет startup) запускает 
/etc/init.d/udevd => /etc/rc.d/init.d/udevd (пакет udev) и там да, 
указывается -o size=$tmpfs_options при отсутствии точки монтирования /run.


-- 
Best regards,
Leonid Krivoshein.



  parent reply	other threads:[~2018-06-10 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-10 13:28 Michael A. Kangin
2018-06-10 15:24 ` Denis Medvedev
2018-06-10 15:38   ` Sergey Bolshakov
2018-06-10 15:41   ` Alexei Takaseev
2018-06-10 19:07   ` Michael A. Kangin
2018-06-10 20:28     ` Alexey Gladkov
2018-06-10 20:36     ` Leonid Krivoshein [this message]
2018-06-10 20:44     ` Leonid Krivoshein
2018-06-11  0:20       ` Michael A. Kangin
2018-06-11  0:25 ` Michael A. Kangin

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=4b9be4a8-095a-b77f-b0f1-b591e1c54553@gmail.com \
    --to=klark.devel@gmail.com \
    --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