Quote:
Originally posted by kev82
ok here are two silly questions
1) is /var/run/console a symlink to somewhere?
2) does /var/run/console/dum.tmp exist? is it a device node?
|
-------------Question #1
[root@gandalf run]# ls -al
total 23
drwxr-xr-x 8 root root 1024 Oct 6 11:16 .
drwxr-xr-x 23 root root 1024 Mar 9 2003 ..
-rw-r--r-- 1 root root 4 Oct 6 11:16 atd.pid
drwxr-xr-x 2 root root 1024 Oct 1 17:35 console
-rw-r--r-- 1 root root 4 Oct 6 11:16 crond.pid
-rw------- 1 root root 4 Oct 6 11:16 gpm.pid
-rw-r--r-- 1 root root 4 Oct 6 11:16 httpd.pid
-rw------- 1 root root 4 Oct 6 11:15 klogd.pid
-rw-r--r-- 1 lp lp 4 Oct 6 11:16 lpd.515
srwxrwxrwx 1 root lp 0 Oct 6 11:16 lprng
drwxr-xr-x 2 named named 1024 Aug 7 2002 named
drwxrwxr-x 2 root root 1024 Sep 4 2002 netreport
drwxr-xr-x 2 root root 1024 Oct 6 11:16 samba
drwxr-xr-x 2 root root 1024 Dec 9 2002 saslauthd
-rw-r--r-- 1 root root 4 Oct 6 11:15 sshd.pid
drwx------ 5 root root 1024 Mar 11 2003 sudo
-rw------- 1 root root 4 Oct 6 11:15 syslogd.pid
-rw-rw-r-- 1 root utmp 4608 Oct 6 11:50 utmp
-rw-r--r-- 1 root root 6 Oct 6 11:16 xfs.pid
-rw-r--r-- 1 root root 4 Oct 6 11:15 xinetd.pid
[root@gandalf run]#
------------------Question #2
[root@gandalf run]# pwd
/var/run
[root@gandalf run]# cd console
[root@gandalf console]# ls -al
total 2
drwxr-xr-x 2 root root 1024 Oct 1 17:35 .
drwxr-xr-x 8 root root 1024 Oct 6 11:16 ..
------------------End
Hope this helps.
BTW. I can't create a file on other directories in the same device:
------------------
Quote:
[root@gandalf run]# pwd
/var/run
[root@gandalf run]# echo "hello" > dum.tmp
-bash: dum.tmp: No space left on device
|
------------------