LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-08-2015, 02:12 PM   #1
sharky
Member
 
Registered: Oct 2002
Posts: 478

Rep: Reputation: 47
/run directory


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

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

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

Rep: Reputation: Disabled
Yes. There's also one in Debian:
Code:
~$ ls /run
acpid.pid               dbus                NetworkManager   sshd
acpid.socket            dhclient-wlan1.pid  ntpd.pid         sshd.pid
alsa                    exim4               openvpn          systemd
apache2                 initctl             postgresql       systemd-shim-state
atd.pid                 initramfs           rpcbind          timidity
avahi-daemon            kdm                 rpcbind.lock     udev
blkid                   kdm.pid             rpcbind.pid      udev-configure-printer
cgmanager               lock                rpcbind.sock     udisks2
cgmanager.pid           lwresd              rpc_pipefs       user
console                 minidlna            rpc.statd.pid    utmp
ConsoleKit              mlocate.daily.lock  rsyslogd.pid     uuidd
console-kit-daemon.pid  motd.dynamic        samba            wpa_supplicant
crond.pid               mount               sendsigs.omit.d  xauth
crond.reboot            named               shm              xdmctl
cups                    network             sm-notify.pid
jdk
 
Old 03-08-2015, 09:53 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

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

http://askubuntu.com/questions/57297...igrated-to-run

This is what I have on Slackware --Current:

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

Code:
[frankbell@narwhal ~]$ ls /var/run
/var/run@
[frankbell@narwhal ~]$ ls /run
acpid.pid      cups/               initramfs/  nmbd.pid      tmpfiles.d/      xauth/
acpid.socket=  dbus/               kdm.pid     plymouth/     udev/            xdmctl/
alsactl.pid    dhclient/           lock/       resolvconf/   udisks/          xinetd.pid
avahi-daemon/  dhclient-eno1.pid   log/        rsyslogd.pid  udisks2/
chronyd.pid    dirmngr/            lxdm/       samba/        user/
console/       hplip/              mount/      smbd.pid      utmp
crond.pid      ifplugd.eno1.pid    msec.pid    sshd.pid      virtualbox/
cron.reboot    ifplugd.wlp2s0.pid  netreport/  systemd/      wpa_supplicant/

Last edited by frankbell; 03-08-2015 at 10:02 PM.
 
Old 03-08-2015, 10:01 PM   #4
mkmety
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
sharky
Member
 
Registered: Oct 2002
Posts: 478

Original Poster
Rep: Reputation: 47
Thanks to all.
 
  


Reply


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


All times are GMT -5. The time now is 01:40 PM.

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