Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/run
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Thu Apr 19, 2012 7:32 pm    Post subject: /run Reply with quote

I have a /run directory. What is this and where did it come from?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54209
Location: 56N 3W

PostPosted: Thu Apr 19, 2012 7:51 pm    Post subject: Reply with quote

wswartzendruber,

Shhh ... everyone will want one :)

It comes free with udev and or openrc. It used to be /var/run but now its needed before /var is mounted, so it was migrated to /run in tmpfs.
Its some read/write space thats available very early in the boot process.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Thu Apr 19, 2012 7:58 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Shhh ... everyone will want one :)
I'm not really sure, "want" is adequate, being forced to have fits better - damn Poettering/RH :twisted:
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Apr 19, 2012 8:19 pm    Post subject: Reply with quote

Before /run, there was /dev/.udev. No one seemed to mind that, even though it did the same thing.

Oh, and must be nice to blame Poettering/RH for something that comes from Debian.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Apr 19, 2012 8:22 pm    Post subject: Reply with quote

I just did man hier and it is not mentioned, why is this /run thing in my virgin / ? :P
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Thu Apr 19, 2012 8:35 pm    Post subject: Reply with quote

Gusar wrote:
Oh, and must be nice to blame Poettering/RH for something that comes from Debian.
Really, debilian? I'm sorry, taking that back. But still, there's more than enough that weirdo is to blame for...
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54209
Location: 56N 3W

PostPosted: Thu Apr 19, 2012 8:35 pm    Post subject: Reply with quote

Jaglover,

Where else can it go?
Its created very ealy in the boot proess.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Thu Apr 19, 2012 8:40 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Jaglover,

Where else can it go?
Its created very ealy in the boot proess.


initramfs of course :P
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Apr 19, 2012 8:47 pm    Post subject: Reply with quote

I think I'm getting old, too conventional maybe, but I really did not like it when I saw it first. Come on, you put stuff in my / without even asking? What about /tmp/run for instance (assuming /tmp is in tmpfs)? /tmp is a legit tenant in / after all.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Thu Apr 19, 2012 8:50 pm    Post subject: Reply with quote

They wanted to find a place, which is not prone to be on another partition, so no /{usr,var,tmp,opt}.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Fri Apr 20, 2012 5:04 am    Post subject: Reply with quote

avx wrote:
They wanted to find a place, which is not prone to be on another partition, so no /{usr,var,tmp,opt}.


Seems to me that is what /etc was made for, but that is just my opinion.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Apr 20, 2012 9:14 am    Post subject: Reply with quote

/etc is not necessarily writable. Also, this is runtime data, while /etc is for static configuration. /var is the place for such data, but they needed some writable place already before /var gets mounted.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Feb 23, 2013 5:12 pm    Post subject: Reply with quote

Split off the off-topic continuation to systemd / udev Slugfest Number Elevendy-Eleven.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum