Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.070 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'oct': 0.02; 'python': 0.08; 'subject:python': 0.10; 'wrote:': 0.18; 'subject:not': 0.19; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'received:209.85.220': 0.25; "i'm": 0.28; 'message-id:@mail.gmail.com': 0.29; 'pm,': 0.29; 'subject:?': 0.31; 'thu,': 0.32; 'rather': 0.34; 'running': 0.34; 'subject:/': 0.34; 'identical': 0.34; 'numbers.': 0.34; 'root': 0.34; 'to:addr:python-list': 0.35; 'two': 0.36; 'comparing': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'files': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'header:Received:6': 0.61; 'confirm': 0.72; '19:34': 0.84; 'python2': 0.84; 'subject:Just': 0.93 Received-SPF: pass (google.com: domain of malaclypse2@gmail.com designates 10.52.36.2 as permitted sender) client-ip=10.52.36.2; Authentication-Results: mr.google.com; spf=pass (google.com: domain of malaclypse2@gmail.com designates 10.52.36.2 as permitted sender) smtp.mail=malaclypse2@gmail.com; dkim=pass header.i=malaclypse2@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=CRMKriAcDSuvBvoeeHvBx8ZpaHhagboBUl/ipecMamU=; b=GIwKogydUd576YQy1TEKayTQwa7t+MsjUCRLPPGfyeWhYl1da5k1ByhLFnBLnHMoQD TftYAcRCxGT/Bft6LTY0SYawTMkE1OC4fequTNSxVIGY+TMUDGvhzk/YdiWxYKYWKZsx w2P/jp9Mkb/fG7caga4/AXFAu9DbrdkmAouRg= MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 23 Feb 2012 14:24:23 -0500 Subject: Re: Just curious: why is /usr/bin/python not a symlink? From: Jerry Hill To: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330025066 news.xs4all.nl 6941 [2001:888:2000:d::a6]:47295 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20742 On Thu, Feb 23, 2012 at 2:11 PM, HoneyMonster w= rote: > $ cd /usr/bin > $ ls -l python* > -rwxr-xr-x 2 root root 9496 Oct 27 02:42 python > lrwxrwxrwx 1 root root =C2=A0 =C2=A06 Oct 29 19:34 python2 -> python > -rwxr-xr-x 2 root root 9496 Oct 27 02:42 python2.7 > $ diff -s =C2=A0python python2.7 > Files python and python2.7 are identical > $ > > I'm just curious: Why two identical files rather than a symlink? It's not two files, it's a hardlink. You can confirm by running ls -li python* and comparing the inode numbers. --=20 Jerry