From owner-freebsd-questions@FreeBSD.ORG Sun Dec 27 16:32:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46D75106566C for ; Sun, 27 Dec 2009 16:32:23 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id AE75F8FC14 for ; Sun, 27 Dec 2009 16:32:22 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 02CE0EB47BB for ; Sun, 27 Dec 2009 18:32:18 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 624F944FE2 for ; Sun, 27 Dec 2009 18:32:20 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HfNVm88N5ejR for ; Sun, 27 Dec 2009 18:32:20 +0200 (EET) Received: from kobe.laptop (ppp-94-64-217-136.home.otenet.gr [94.64.217.136]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 1966244FE1 for ; Sun, 27 Dec 2009 18:32:20 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id nBRGWHnL005257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 27 Dec 2009 18:32:17 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id nBRGWHFL005254; Sun, 27 Dec 2009 18:32:17 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: freebsd-questions@freebsd.org References: <20091223230111.GA1188@bsd.remdog.net> <200912240021.47525.pieter@degoeje.nl> <20091223234013.GA1080@bsd.remdog.net> <87vdfwhoen.fsf@kobe.laptop> <20091224071112.GC25393@comcast.net> Date: Sun, 27 Dec 2009 18:32:16 +0200 In-Reply-To: <20091224071112.GC25393@comcast.net> (Charlie Kester's message of "Wed, 23 Dec 2009 23:11:12 -0800") Message-ID: <871vigbcof.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: What happened to /home? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2009 16:32:23 -0000 On Wed, 23 Dec 2009 23:11:12 -0800, Charlie Kester wrote: > On Wed 23 Dec 2009 at 22:33:20 PST Giorgos Keramidas wrote: >>> I can still login as regular user, and when I run 'pwd -P' the output is >>> / and then it goes back to the prompt. Output of 'ls -ld /home is: >>> >>> lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home >> >> That's your problem right there. /home does not point to the absolute >> path of '/usr/home' but to a *relative* path starting at whatever >> happens to be your current directory when you access '/home'. > > Are you sure about that? On Thu, 24 Dec 2009 08:57:11 +0100, Erik Trulsson wrote: > Wrong. Relative paths in symlinks start at the symlink is in, not the > current directory. I.e. that the symlink is relative should not be a > problem. (Under AmigaOS relative symlinks worked as you describe, which > made them a PITA and fairly useless, but under Unix relative symlinks have a > more sane behaviour.) On Thu, 24 Dec 2009 10:12:21 +0100, Polytropon wrote: > That's quite strange... I have /home@ -> export/home and /export lives > on another partition. But I have no problems accessing files as > /home/poly/some/dir/some/file from wherever I am. As far as I > understood, relative symlinks prefix their respective targets always > with their own location, so /home + export/home gives /export/home. You are all right, of course. I shouldn't post moments before jumping on a bus without testing. Something else is the real problem.