- BIT SCRAPPY HERE BUT you can see the com,and I used -- sudo ln -sf /home/dan /home/dan/mount <-linkname
- /home/dan is the target
- but in /home/dan/mount I get "dan"
- I would expect it to be the directory contents of /home/dan (I listed it a bit below)
- dan@seq:~/mount/dan$ cd /home/dan
- dan@seq:~$ sudo ln -sf /homedan /home/dan/mount
- dan@seq:~$ sudo ln -sf /home/dan /home/dan/mount
- dan@seq:~$ cd /home/dan/mount
- dan@seq:~/mount$ ls
- dan homedan
- dan@seq:~/mount$ cd /home/dan
- dan@seq:~$ ls -l mount
- total 0
- lrwxrwxrwx 1 root root 9 2012-01-07 13:01 dan -> /home/dan
- lrwxrwxrwx 1 root root 8 2012-01-07 13:01 homedan -> /homedan
- dan@seq:~$ sudo ln -sf /home/dan /home/dan/mount^C
- dan@seq:~$ ls -ld /home/dan/mount
- drwxr-xr-x 2 dan dan 4096 2012-01-07 13:01 /home/dan/mount
- dan@seq:~$ sudo ln -sf /home/dan /home/dan/mount
- dan@seq:~$ cd /home/dan/mount
- dan@seq:~/mount$ ls
- dan homedan
- dan@seq:~/mount$ sudo ln -sf /home/dan /home/dan/mount
- dan@seq:~/mount$ ls -ld /home/dan/mount
- drwxr-xr-x 2 dan dan 4096 2012-01-07 13:08 /home/dan/mount
- dan@seq:~/mount$ i just set up "homedan" there by mistake
- The program 'i' is currently not installed. You can install it by typing:
- sudo apt-get install iprint
- dan@seq:~/mount$ can't figure out when I go to /home/dan/mount I get a directory "dan" --- I would expect it to have the CONTENTS of the directory /home/dan
- > ^C
- dan@seq:~/mount$ cd /home/dan
- dan@seq:~$ ls
- a.py getmechanize.py setup.py
- areasel.py get.py shooter.py
- asyncservout.py get_tags.py sourcebak
SHARE
TWEET
Untitled
a guest
Jan 7th, 2012
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

