From owner-freebsd-hackers Mon Jul 8 16:27:20 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA18158 for hackers-outgoing; Mon, 8 Jul 1996 16:27:20 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA18147 for ; Mon, 8 Jul 1996 16:27:17 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id QAA22615; Mon, 8 Jul 1996 16:25:50 -0700 (PDT) To: Joe Greco cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@freebsd.org Subject: Re: CD distribution layout vs FTP distribution layout. In-reply-to: Your message of "Mon, 08 Jul 1996 15:46:23 CDT." <199607082046.PAA23180@brasil.moneng.mei.com> Date: Mon, 08 Jul 1996 16:25:50 -0700 Message-ID: <22613.836868350@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Why, you don't like specifying a URL of > > ftp://ftp/../../../../../../../some/path/name? > > (my AMD setup causes AMD to translate to a temporary pathname 7 elements > long)... > > I'm tired of this too :-) There's only one problem. Say I create a user and I point his home directory straight at the CD (something which gets done a lot :-). Its very nice to be able to say: ftp://my.local.site/ As the URL and have it Just Work, assuming that I've gone to the Options editor and entered the appropriate username and password. It also collapses all URL handling handily into one place since whether the username is "ftp" or "joe", the pathname handling is the same. The essential problem is with the URL, which also uses / chars for separators. Given an FTP username of joe, how do you tell that: ftp://my.local.site/release/2.1.5 is /release/2.1.5 or ~joe/release/2.1.5? Yes, I'm aware that you could say: ftp://my.local.site/~joe/2.1.5 But that would violate the principle of least surprise if you've already set the username to joe. :-) As you can see, it's not an immediately obvious decision or I'd have changed the behavior long ago. Jordan