On a server when I type in ls -al
I get a list of the directories
-bash-3.2$ ls -al
total 12
drwxr-xr-x 3 root root 0 Feb 13 2011 .
drwxr-xr-x 4 root root 4096 May 11 2011 ..
drwxr-xr-x 55 torg torg 4096 May 15 05:40 stuff
However I happen to know that there are more directories pressent, because when I type cd loourr
and then go back cd ..
I find myself with
-bash-3.2$ ls -al
total 32
drwxr-xr-x 3 root root 0 Feb 13 2011 .
drwxr-xr-x 4 root root 4096 May 11 2011 ..
drwxr-xr-x 55 torg torg 4096 May 15 05:40 torg
drwxr-xr-x 108 loourr loourr 20480 Jan 29 19:48 loourr
Why is this? I was under the impression that the -a
flag reveals all directories. What could be causing this, and how can I reveal directories that are still not being listed?
Update:
Heres what happens when I follow David Wolever suggestion
-bash-3.2$ ls
torg
-bash-3.2$ pwd
/home/room1
-bash-3.2$ cd loourr
-bash-3.2$ pwd
/home/room1/loourr
-bash-3.2$ cd ..
-bash-3.2$ ls
torg loourr
-bash-3.2$ pwd
/home/room1
and when I mount
-bash-3.2$ mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda6 on /scratch type ext3 (rw)
/dev/sda3 on /var type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
cartman.foo.bar:/home/room2/me on /home/room2/me type nfs (rw,addr=*.43)
cartman.foo.bar:/home/room2/admin on /home/room2/admin type nfs (rw,addr=*.43)
storage1.foo.bar:/storage/3 on /storage/3 type nfs (rw,nfsvers=3,tcp,intr,hard,addr=*.44)
cartman.foo.bar:/home/room1/torg on /home/room1/torg type nfs (rw,addr=*.43)
cartman.foo.bar:/home/room1/loourr on /home/room1/loourr type nfs (rw,addr=*.43)
Some notes: I replaced the server admins name with admin
, my account name with me
, the server extension with foo.bar
and the part of addr= that was constant with *