home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp / 15389 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.5 KB

  1. Path: sparky!uunet!ulowell!m2c!nic.umass.edu!noc.near.net!news.centerline.com!franl
  2. From: franl@centerline.com (Fran Litterio)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: links
  5. Message-ID: <FRANL.93Jan27121017@draco.centerline.com>
  6. Date: 27 Jan 93 17:10:17 GMT
  7. References: <1993Jan26.171446.16924@ringer.cs.utsa.edu>
  8. Organization: CenterLine Software R&D
  9. Lines: 32
  10. NNTP-Posting-Host: 140.239.3.116
  11. In-reply-to: mpicon@ringer.cs.utsa.edu's message of Tue, 26 Jan 1993 17:14:46 GMT
  12.  
  13. mpicon@ringer.cs.utsa.edu (Martin B. Picon) writes:
  14.  
  15. > a question about soft links
  16. > when linking directories across file systems as below
  17. > ln -s /usr/aux/bin /usr/local/bin
  18. > where /usr/aux/bin is the directory with all the commands and /usr/local/bin
  19. > points to it.
  20. > will the links remain after a reboot or shutdown
  21.  
  22. Yes.  Symbolic links are real filesystem objects just like files,
  23. directories, fifos, and block/character special files.
  24.  
  25. > or will /usr/local/bin go away. is there ever a time it will go away other
  26. > than removing it.
  27.  
  28. No.  But keep in mind that you can have a symlink to a non-existant
  29. file:
  30.  
  31.   % rm -f /tmp/yyy /tmp/zzz
  32.   % ln -s /tmp/yyy /tmp/zzz
  33.   % ls -l /tmp/zzz
  34.   lrwxr-xr-x   1 franl    code           8 Jan 27 12:08 /tmp/zzz@ -> /tmp/yyy
  35.   % cat /tmp/zzz
  36.   cat: cannot open /tmp/zzz: No such file or directory
  37. --
  38. franl@centerline.com         "So what we've decided to do is set you up in
  39. uunet!centerline!franl        Cicely, situated in an area that we Alaskans
  40. 617-498-3255 (USA)            refer to as The Alaskan Riviera."
  41. PGP 2.0 public key available.
  42.