On 07/01/2011 02:04 PM, Lennart Poettering wrote: > Note tht /var/run and /var are identical, since the former is just a > symlink to the latter (or, on upgraded systems a bind mount). That means > that if there's an utmp file in one of the two dirs there's one as well > in the other -- and actually the very same file.
well, there must be a way to get there without that happening. Here's from my system. They're not the same; they're neither symlink nor bind mount; and the contents are not at all identical. [root@milou /]# lsb_release -rc Release: 15 Codename: Lovelock [root@milou /]# ls -ld /run /var/run drwxr-xr-x. 4 root root 4096 May 26 07:05 /run drwxr-xr-x. 38 root root 4096 Jun 29 10:48 /var/run [root@milou /]# ls /run lock mount [root@milou /]# ls /var/run abrt httpd portreserve sm-notify.pid acpid.socket jetty ppp sudo avahi-daemon libgpod pptp udev-configure-printer console lvm preupgrade udisks ConsoleKit mdadm preupgrade.repo utmp cron.reboot mysqld rpc.statd.pid vmnet-detect.pid cups netreport saslauthd vmware dbus net-snmp screen vpnc faillock NetworkManager sdp wpa_supplicant flumotion openvpn sepermit wpa_supplicant.pid gdm plymouth setrans hald pm-utils setroubleshoot _______________________________________________ fhs-discuss mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/fhs-discuss
