ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Денис Самсоненко" <d.g.samsonenko@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Должен ли /tmp очищаться при каждой загрузке
Date: Fri, 7 Nov 2025 12:19:27 +0700
Message-ID: <CAFE-3XbVnpY+i7wNBK0zK-muePe9KJQOJsvZrdURP91O-ePzsw@mail.gmail.com> (raw)
In-Reply-To: <aac27ea5-568a-42b0-886f-566d84efc5f6@gmail.com>

Hi!

> Но ту же функцию давно выполняет /run. В ряде дистрибутивов временный
> каталог пользователя находится в /run/user/<UID>. С параметрами
> монтирования tmpfs по умолчанию обе ФС получают по 50% RAM. Т.е.
> дефолтная конфигурация может привести к внезапной остановке системы при
> условии заполнения обеих файловых систем. Интересно, было ли обсуждение

Вроде бы наличие вместительного swap-раздела должно помочь в таком случае?

> в сообществе на эту тему? Моё мнение: ни /run, ни /tmp не должны
> монтироваться с дефолтными параметрами. В дистрибутиве их размер должен
> быть минимизирован и жёстко ограничен.

У меня $TMP указывает на пользовательский каталог в /tmp/.private/
Сам /tmp сидит на tmpfs. Вроде бы это какое-то стандартное решение в
ALT.

Дома у меня ещё раздел для hasher тоже на tmpfs приличного размера. И
просто есть swap-раздел на несколько десятков гигов.


-- 
Всего доброго,

Денис.

  reply	other threads:[~2025-11-07  5:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-06  6:56 Anton Midyukov
2025-11-06  7:04 ` [devel] " Sergey V Turchin
2025-11-06  7:06   ` [devel] " Anton Farygin
2025-11-06  7:21     ` Anton Midyukov
2025-11-06  7:27       ` [devel] " Sergey V Turchin
2025-11-06 17:32       ` [devel] " Leonid Krivoshein
2025-11-07  5:19         ` Денис Самсоненко [this message]
2025-11-07  4:50 ` Alexey V. Vissarionov

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=CAFE-3XbVnpY+i7wNBK0zK-muePe9KJQOJsvZrdURP91O-ePzsw@mail.gmail.com \
    --to=d.g.samsonenko@gmail.com \
    --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