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