mailing list archives
Re: Tired of /tmp? Here's a proposed solution
From: mouse () Holo Rodents Montreal QC CA (der Mouse)
Date: Tue, 3 Sep 1996 06:54:21 -0400
Hmmm...before reading this article, try this on your platform.
ln -s test-directory empty-directory/test-symlink
if [ -d empty-directory/test-directory ]
else result="does NOT"
echo "mkdir $result follow symlinks on `uname -msr`"
Here's my results:
mkdir does NOT follow symlinks on Linux 2.0.11 i586
mkdir does NOT follow symlinks on SunOS 5.3 sun4m
And mine, in case anyone cares:
/tmp/mkdir-test: uname: not found
mkdir does follow symlinks on
mkdir: empty-directory/test-symlink: File exists
mkdir does NOT follow symlinks on NetBSD 1.2_BETA sun3
The former machine is a NeXT running NeXT's release 2.1.
mouse () rodents montreal qc ca
01 EE 31 F6 BB 0C 34 36 00 F3 7C 5A C1 A0 67 1D
- Re: Tired of /tmp? Here's a proposed solution der Mouse (Sep 03)