View previous topic :: View next topic |
Author |
Message |
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Thu Apr 19, 2012 7:32 pm Post subject: /run |
|
|
I have a /run directory. What is this and where did it come from? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Thu Apr 19, 2012 7:51 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Thu Apr 19, 2012 7:58 pm Post subject: |
|
|
NeddySeagoon wrote: | Shhh ... everyone will want one | I'm not really sure, "want" is adequate, being forced to have fits better - damn Poettering/RH _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Thu Apr 19, 2012 8:19 pm Post subject: |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Thu Apr 19, 2012 8:35 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Thu Apr 19, 2012 8:35 pm Post subject: |
|
|
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 |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Thu Apr 19, 2012 8:40 pm Post subject: |
|
|
NeddySeagoon wrote: | Jaglover,
Where else can it go?
Its created very ealy in the boot proess. |
initramfs of course _________________ "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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Thu Apr 19, 2012 8:47 pm Post subject: |
|
|
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 |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Thu Apr 19, 2012 8:50 pm Post subject: |
|
|
They wanted to find a place, which is not prone to be on another partition, so no /{usr,var,tmp,opt}. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Fri Apr 20, 2012 5:04 am Post subject: |
|
|
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 |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Apr 20, 2012 9:14 am Post subject: |
|
|
/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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat Feb 23, 2013 5:12 pm Post subject: |
|
|
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 |
|
|
|