I had a directory, /server, I deleated it and am trying to symlink a different directory to /server, (Make /server point to the other directory)
here is the command line, it tells me the folder does not exist when I try to delete or view it, yet I cannot symlink to it cause it says it exists.....
Code:
Abydos-64 exodist # ls /mnt/remote
bin boot dev etc home lib mnt nonexistent opt proc root sbin server service sys tmp usr var
Abydos-64 exodist # rm /server
rm: cannot remove `/server': Is a directory
Abydos-64 exodist # rm /server -rf
rm: cannot lstat `/server': No such file or directory
Abydos-64 exodist # ls /
ls: /server: No such file or directory
bin boot dev etc home lib lib32 lib64 lin32 mnt opt proc root sbin stuff sys tmp usr var
Abydos-64 exodist # ln -sf /mnt/
.keep cdrom/ floppy/ remote/
Abydos-64 exodist # ln -sf /mnt/remote/
.bash_history bin/ etc/ mnt/ proc/ server/ tmp/
.links/ boot/ home/ nonexistent/ root/ service/ usr/
.reiserfs_priv/ dev/ lib/ opt/ sbin/ sys/ var/
Abydos-64 exodist # ln -sf /mnt/remote/serv
server/ service/
Abydos-64 exodist # ln -sf /mnt/remote/server /server
ln: creating symbolic link `/server' to `/mnt/remote/server': File exists
Abydos-64 exodist # rm /server -rf
rm: cannot lstat `/server': No such file or directory
Abydos-64 exodist # ls /server
ls: /server: No such file or directory
Abydos-64 exodist # ln -sf /mnt/remote/serv
server/ service/
Abydos-64 exodist # ln -sf /mnt/remote/server /server
ln: creating symbolic link `/server' to `/mnt/remote/server': File exists
Abydos-64 exodist # touch /server
touch: setting times of `/server': No such file or directory
Abydos-64 exodist # mkdir /server
mkdir: cannot create directory `/server': File exists
Abydos-64 exodist # rm /server -rf
rm: cannot lstat `/server': No such file or directory
Abydos-64 exodist # ls -la /ser*
ls: /server: No such file or directory
Abydos-64 exodist # rm /server
rm: cannot remove `/server': Is a directory