Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-08-2015, 02:12 PM   #1
Registered: Oct 2002
Posts: 496

Rep: Reputation: 62
/run directory

in a linux mint installation should there be a /run directory?

 > ls /run               initramfs           samba
acpid.socket        sdp
alsa                    lock                sendsigs.omit.d
apache2                    shm
avahi-daemon            mlocate.daily.lock  systemd
console                 motd.dynamic        tor
ConsoleKit              mount               udev  mysqld              udisks2               network   
crond.reboot            NetworkManager
cups                    plymouth  
dbus                    pm-utils            user
dirmngr                 pppconfig           utmp             resolvconf

Last edited by sharky; 03-08-2015 at 02:13 PM.
Old 03-08-2015, 02:20 PM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Yes. There's also one in Debian:
~$ ls /run               dbus                NetworkManager   sshd
alsa                    exim4               openvpn          systemd
apache2                 initctl             postgresql       systemd-shim-state                 initramfs           rpcbind          timidity
avahi-daemon            kdm                 rpcbind.lock     udev
blkid                  udev-configure-printer
cgmanager               lock                rpcbind.sock     udisks2           lwresd              rpc_pipefs       user
console                 minidlna      utmp
ConsoleKit              mlocate.daily.lock     uuidd  motd.dynamic        samba            wpa_supplicant               mount               sendsigs.omit.d  xauth
crond.reboot            named               shm              xdmctl
cups                    network   
Old 03-08-2015, 09:53 PM   #3
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,789
Blog Entries: 17

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Ubuntu has an article about this. It states that the ultimate goal is to migrate /var/run to /run:

This is what I have on Slackware --Current:

$ ls /run
lock  lvm  mount  udev  udisks2
$ ls /var/run
ConsoleKit      acpid.socket  cups  libgpod  nscd     udisks
NetworkManager       dbus     iptraf-ng  mysql    pm-utils  stunnel      utmp       console  named    samba
Here's what I get on Mageia v. 4:

[frankbell@narwhal ~]$ ls /var/run
[frankbell@narwhal ~]$ ls /run      cups/               initramfs/      tmpfiles.d/      xauth/
acpid.socket=  dbus/          plymouth/     udev/            xdmctl/    dhclient/           lock/       resolvconf/   udisks/
avahi-daemon/   log/  udisks2/    dirmngr/            lxdm/       samba/        user/
console/       hplip/              mount/      utmp      virtualbox/
cron.reboot  netreport/  systemd/      wpa_supplicant/

Last edited by frankbell; 03-08-2015 at 10:02 PM.
Old 03-08-2015, 10:01 PM   #4
LQ Newbie
Registered: Mar 2015
Location: USA
Posts: 3

Rep: Reputation: Disabled
CentOS 7 has a symlink from /var/run to /run. RHEL Server 6.6 is still using /var/run.
Old 03-09-2015, 09:52 AM   #5
Registered: Oct 2002
Posts: 496

Original Poster
Rep: Reputation: 62
Thanks to all.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run scripts from any directory Fixit7 Puppy 5 12-07-2014 08:45 PM
Unable to run another command from within shell script, when run from home directory blackray1 Linux - Newbie 7 07-01-2013 10:42 AM
run program from any directory casperdaghost Linux - Newbie 14 06-25-2012 09:14 PM
how to run .sh directly without cd to the parent directory? wch705 Linux - Newbie 9 11-08-2011 03:20 AM
How can I run a command in some directory? allan_bg Linux - Newbie 8 02-05-2008 12:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration