From: "Алексей Сидоров" <alex@reutman.ru> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: [sisyphus] использование tmpfs Date: Thu, 15 Feb 2007 18:23:12 +0300 Message-ID: <45D47AE0.2010304@reutman.ru> (raw) Здравствуйте. Вот хочу поинтересоваться, как и для чего(для каких каталогов) принято использовать tmpfs? я представляю, что его неплохо использовать для /tmp и ~/tmp но как именно? погуглил, нашёл в куче разных мест одни и те-же рекомендации а-ля fstab: tmpfs /dev/shm tmpfs size=32m 0 0 потом # mkdir /dev/shm/tmp # chmod 1777 /dev/shm/tmp # mount --bind /dev/shm/tmp /tmp и т.п. но не буду-же я делать это каждый раз ручками... значит надо создать какой-то скрипт, который будет выполнятся при старте системы и создавать /tmp и ~/tmp для всех юзеров в этом самом /dev/shm Вопроса два: 1. Правильно ли я мыслю? 2. Куда сунуть вызов этого скрипта? -- С уважением, Алексей Сидоров mailto:alex@reutman.ru JID: alex@reutman.ru ICQ: 5052225
next reply other threads:[~2007-02-15 15:23 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-15 15:23 Алексей Сидоров [this message] 2007-02-15 15:49 ` Andrey Rahmatullin
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=45D47AE0.2010304@reutman.ru \ --to=alex@reutman.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