daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Jan 7th, 2012 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. BIT SCRAPPY HERE BUT you can see the com,and I used -- sudo ln -sf /home/dan /home/dan/mount <-linkname
  2. /home/dan is the target
  3.  
  4. but in /home/dan/mount I get "dan"
  5. I would expect it to be the directory contents of /home/dan (I listed it a bit below)
  6.  
  7.  
  8. dan@seq:~/mount/dan$ cd /home/dan
  9. dan@seq:~$ sudo ln -sf /homedan /home/dan/mount
  10. dan@seq:~$ sudo ln -sf /home/dan /home/dan/mount
  11. dan@seq:~$ cd /home/dan/mount
  12. dan@seq:~/mount$ ls
  13. dan  homedan
  14. dan@seq:~/mount$ cd /home/dan
  15. dan@seq:~$ ls -l mount
  16. total 0
  17. lrwxrwxrwx 1 root root 9 2012-01-07 13:01 dan -> /home/dan
  18. lrwxrwxrwx 1 root root 8 2012-01-07 13:01 homedan -> /homedan
  19. dan@seq:~$ sudo ln -sf /home/dan /home/dan/mount^C
  20. dan@seq:~$ ls -ld /home/dan/mount
  21. drwxr-xr-x 2 dan dan 4096 2012-01-07 13:01 /home/dan/mount
  22. dan@seq:~$ sudo ln -sf /home/dan /home/dan/mount
  23. dan@seq:~$ cd /home/dan/mount
  24. dan@seq:~/mount$ ls
  25. dan  homedan
  26. dan@seq:~/mount$ sudo ln -sf /home/dan /home/dan/mount
  27. dan@seq:~/mount$ ls -ld /home/dan/mount
  28. drwxr-xr-x 2 dan dan 4096 2012-01-07 13:08 /home/dan/mount
  29. dan@seq:~/mount$ i just set up "homedan" there by mistake
  30. The program 'i' is currently not installed.  You can install it by typing:
  31. sudo apt-get install iprint
  32. 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
  33. > ^C
  34. dan@seq:~/mount$ cd /home/dan
  35. dan@seq:~$ ls
  36. a.py                           getmechanize.py      setup.py
  37. areasel.py                     get.py               shooter.py
  38. asyncservout.py                get_tags.py          sourcebak
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top