Skip site navigation (1)Skip section navigation (2)
Date:      09 Aug 2002 11:12:47 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Subject:   Tar not following links now?
Message-ID:  <1028857372.1886.9.camel@chowder.gsoft.com.au>

next in thread | raw e-mail | index | archive | help
I recently updated several machines to -stable (OpenSSL :) and found
that tar nolonger seems to follow links.

[cain 11:06] ~/projects/rrd >ls -lad /home
lrwxr-xr-x  1 root  wheel  9 Mar 15 12:26 /home -> /usr/home
[cain 11:09] ~/projects/rrd >ls -lad /usr/home
drwxr-xr-x  16 root  wheel  512 Mar 28 10:05 /usr/home
[cain 11:05] ~/projects/rrd >tar -Pcf - /home/ | tar -tvf - 
lrwxr-xr-x root/wheel        0 Mar 15 12:26 2002 /home -> /usr/home
[cain 11:08] ~/projects/rrd >uname -a
FreeBSD cain.gsoft.com.au 4.6-STABLE FreeBSD 4.6-STABLE #10: Tue Aug  6 11:49:28 CST 2002     doconnor@cain.gsoft.com.au:/usr/obj/usr/src/sys/CAIN  i386

As opposed to my older system
[chowder 11:10] ~ >ls -lad /home
lrwx------  1 root  wheel  9 Aug 20  2001 /home -> /usr/home
[chowder 11:10] ~ >ls -lad /usr/home
drwxr-xr-x  4 root  wheel  512 Jul 20 17:04 /usr/home
[chowder 11:09] ~ >tar -Pcf - /home/ | tar -tvf -
drwxr-xr-x root/wheel        0 Jul 20 17:04 2002 /home/
drwxr-xr-x radar/radar       0 Aug  9 10:35 2002 /home/radar/
[ .... ]
[chowder 11:09] ~ >uname -a
FreeBSD chowder.gsoft.com.au 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #12: Fri May 10 15:54:54 CST 2002     darius@chowder.gsoft.com.au:/usr/obj/usr/src/sys/CHOWDER  i386

It seems like a bit of a POLA violation especially as the man page
doesn't appear to mention and option to get the old behaviour back.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1028857372.1886.9.camel>