* [9fans] [poll] Do you have ramfs backing your /tmp?
@ 2026-03-03 14:45 hahahahacker2009
2026-03-03 15:24 ` red
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: hahahahacker2009 @ 2026-03-03 14:45 UTC (permalink / raw)
To: 9fans
The Unix world usually have /tmp cleared or backed by tmpfs. This is
not the default with Plan 9. So, anyone start ramfs in your
$home/lib/profile? With what flags? Why you want or don't want to
have /tmp backed by ramfs?
For me, I sometime find it useful to review the .[ch] files and directories in my /tmp, but the acme temporary files are so big, which make me wanted to use ramfs.
term% du -h *.someacme | grep -v '^0'
727k A179.someacme
968k A182.someacme
904k A191.someacme
650k A193.someacme
983k C181.someacme
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T960ed04633d58ec3-M07fd09a738bc85d14d1aa19b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] [poll] Do you have ramfs backing your /tmp?
2026-03-03 14:45 [9fans] [poll] Do you have ramfs backing your /tmp? hahahahacker2009
@ 2026-03-03 15:24 ` red
2026-03-03 17:41 ` umbraticus via 9fans
2026-03-03 19:43 ` a
` (3 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: red @ 2026-03-03 15:24 UTC (permalink / raw)
To: hahahahacker2009; +Cc: 9fans
> The Unix world usually have /tmp cleared or backed by tmpfs. This is
> not the default with Plan 9. So, anyone start ramfs in your
> $home/lib/profile? With what flags? Why you want or don't want to
> have /tmp backed by ramfs?
eh, i vary.
on my terminals i use ramfs because i only bind my
home directory instead of the root, since my link
to the file server is extremely slow
on drawterm, it just uses other's $home/tmp
and i haven't really found a situation where i
wanted anything from $home/tmp anyway
more often than not i store temporary stuff
in $home/lib, because it turns out they are
not always temporary after all, so it's nice
to have them snapshotted
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] [poll] Do you have ramfs backing your /tmp?
2026-03-03 15:24 ` red
@ 2026-03-03 17:41 ` umbraticus via 9fans
0 siblings, 0 replies; 8+ messages in thread
From: umbraticus via 9fans @ 2026-03-03 17:41 UTC (permalink / raw)
To: 9fans
switched to ramfs a few years ago to
prevent habit of dumping a bunch
of stuff there I actually used.
umbraticus
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T960ed04633d58ec3-M5f386b60ad1d3f04b6165fc2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] [poll] Do you have ramfs backing your /tmp?
2026-03-03 14:45 [9fans] [poll] Do you have ramfs backing your /tmp? hahahahacker2009
2026-03-03 15:24 ` red
@ 2026-03-03 19:43 ` a
2026-03-03 22:57 ` Skip Tavakkolian
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: a @ 2026-03-03 19:43 UTC (permalink / raw)
To: 9fans
I went back and forth on this for a few years, but eventually
found enough times I wanted to explicitly save something across
a reboot that I'd manually stashed in /tmp that I stopped. It's
not a bad idea, just depends on your usage patterns.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T960ed04633d58ec3-Mc6123397449257efcf9f81ab
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] [poll] Do you have ramfs backing your /tmp?
2026-03-03 14:45 [9fans] [poll] Do you have ramfs backing your /tmp? hahahahacker2009
2026-03-03 15:24 ` red
2026-03-03 19:43 ` a
@ 2026-03-03 22:57 ` Skip Tavakkolian
2026-03-03 23:35 ` umbraticus via 9fans
2026-03-03 23:04 ` ori
2026-03-05 3:39 ` James Cook
4 siblings, 1 reply; 8+ messages in thread
From: Skip Tavakkolian @ 2026-03-03 22:57 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]
Typically DMTMP bit is set for tmp locations to exclude them from
archiving. Then cleaning on startup should be sufficient, no?
On Tue, Mar 3, 2026, 6:47 AM <hahahahacker2009@gmail.com> wrote:
> The Unix world usually have /tmp cleared or backed by tmpfs. This is
> not the default with Plan 9. So, anyone start ramfs in your
> $home/lib/profile? With what flags? Why you want or don't want to
> have /tmp backed by ramfs?
>
> For me, I sometime find it useful to review the .[ch] files and
> directories in my /tmp, but the acme temporary files are so big, which make
> me wanted to use ramfs.
> term% du -h *.someacme | grep -v '^0'
> 727k A179.someacme
> 968k A182.someacme
> 904k A191.someacme
> 650k A193.someacme
> 983k C181.someacme
>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T960ed04633d58ec3-M90f21570f987896e9ed15b13
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 2390 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] [poll] Do you have ramfs backing your /tmp?
2026-03-03 14:45 [9fans] [poll] Do you have ramfs backing your /tmp? hahahahacker2009
` (2 preceding siblings ...)
2026-03-03 22:57 ` Skip Tavakkolian
@ 2026-03-03 23:04 ` ori
2026-03-05 3:39 ` James Cook
4 siblings, 0 replies; 8+ messages in thread
From: ori @ 2026-03-03 23:04 UTC (permalink / raw)
To: 9fans
Usually not, but I'll start a ramfs /tmp in a bunch of namespaces
when I'm going to be doing some scratch testing. Why? defaults,
didn't feel the need to change it.
Quoth hahahahacker2009@gmail.com:
> The Unix world usually have /tmp cleared or backed by tmpfs. This is
> not the default with Plan 9. So, anyone start ramfs in your
> $home/lib/profile? With what flags? Why you want or don't want to
> have /tmp backed by ramfs?
>
> For me, I sometime find it useful to review the .[ch] files and directories in my /tmp, but the acme temporary files are so big, which make me wanted to use ramfs.
> term% du -h *.someacme | grep -v '^0'
> 727k A179.someacme
> 968k A182.someacme
> 904k A191.someacme
> 650k A193.someacme
> 983k C181.someacme
>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T960ed04633d58ec3-M93fd1506bedcc9b07d035f94
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] [poll] Do you have ramfs backing your /tmp?
2026-03-03 22:57 ` Skip Tavakkolian
@ 2026-03-03 23:35 ` umbraticus via 9fans
0 siblings, 0 replies; 8+ messages in thread
From: umbraticus via 9fans @ 2026-03-03 23:35 UTC (permalink / raw)
To: 9fans
yes, meant to add to my response: there are
plenty of ways to save persistent-but-not-dumped
files: chmod +t, depending how the underlying disk
fs supports it; mounting some other non-dumped
disk or partition somewhere convenient, different
gefs snapshot configurations, &c. &c. &c.
No need to overload /tmp for this.
umbraticus
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T960ed04633d58ec3-M5f95de8d4d2482e7406935d4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] [poll] Do you have ramfs backing your /tmp?
2026-03-03 14:45 [9fans] [poll] Do you have ramfs backing your /tmp? hahahahacker2009
` (3 preceding siblings ...)
2026-03-03 23:04 ` ori
@ 2026-03-05 3:39 ` James Cook
4 siblings, 0 replies; 8+ messages in thread
From: James Cook @ 2026-03-05 3:39 UTC (permalink / raw)
To: 9fans; +Cc: 9fans
hahahahacker2009@gmail.com wrote:
> The Unix world usually have /tmp cleared or backed by tmpfs. This is
> not the default with Plan 9. So, anyone start ramfs in your
> $home/lib/profile? With what flags? Why you want or don't want to
> have /tmp backed by ramfs?
No, but I like to start some scripts with rfork n;ramfs so I don't have
to worry about naming their temp files and they get cleaned up
automatically.
--
James
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-03-05 5:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 14:45 [9fans] [poll] Do you have ramfs backing your /tmp? hahahahacker2009
2026-03-03 15:24 ` red
2026-03-03 17:41 ` umbraticus via 9fans
2026-03-03 19:43 ` a
2026-03-03 22:57 ` Skip Tavakkolian
2026-03-03 23:35 ` umbraticus via 9fans
2026-03-03 23:04 ` ori
2026-03-05 3:39 ` James Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).