Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'suppose': 0.05; 'mentions': 0.09; 'rule.': 0.09; 'solaris,': 0.09; 'subject:files': 0.09; 'exception': 0.12; 'wed,': 0.12; 'am,': 0.13; 'wrote:': 0.15; '11:32,': 0.16; 'filesystem': 0.16; 'cc:addr :python-list': 0.16; 'aug': 0.19; 'received:74.125.82.174': 0.19; 'received:mail-wy0-f174.google.com': 0.19; 'loop': 0.22; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'trying': 0.23; 'additionally': 0.23; 'structure': 0.23; 'tue,': 0.23; 'creating': 0.24; 'says': 0.25; 'sender:addr:gmail.com': 0.26; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.30; "i've": 0.33; 'richard': 0.34; 'all.': 0.35; 'pretty': 0.35; 'cc:2**1': 0.37; 'but': 0.37; 'could': 0.37; 'using': 0.37; 'received:google.com': 0.38; 'subject:: ': 0.38; 'think': 0.38; 'received:74.125.82': 0.39; 'received:74.125': 0.40; 'kind': 0.60; 'link': 0.63; 'stevens': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=r1I8CC4bYyexAKn/RYLcUGXCvjKsriNcKWEgY73YxxE=; b=CN2hA0rZXTPFThdZjkD3qLOXZwGcYwXP7yoMwhWFu7vQG3uj/J6vtfNJmpPFoWZhqS dM0Md8+lMGdFerpqZgeIr9J6MmXDlpsP+fTXfsF9OP/+QBW+8JcedFamc7h/VOprZ8bh +I/aAC7jmsGrhxmXDJzBhb2bdIcdgAyCbOiBk= MIME-Version: 1.0 Sender: kushal.kumaran@gmail.com In-Reply-To: References: <3d2c3d3b-085e-4f3b-903d-726a31e607f4@b34g2000yqi.googlegroups.com> <4E37CDCF.7060501@jollybox.de> From: Kushal Kumaran Date: Wed, 3 Aug 2011 12:02:07 +0530 X-Google-Sender-Auth: Hibk6YiN7jLGAgUFwEysAqt8rgA Subject: Re: Hardlink sub-directories and files To: Dan Stromberg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org, Thomas Jollans 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312353150 news.xs4all.nl 23912 [2001:888:2000:d::a6]:38008 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10784 On Wed, Aug 3, 2011 at 7:29 AM, Dan Stromberg wrote: > > On Tue, Aug 2, 2011 at 3:13 AM, Thomas Jollans wrote: >> >> On 02/08/11 11:32, loial wrote: >> > I am trying to hardlink all files in a directory structure using >> > os.link. >> > >> > However I do not think it is possible to hard link directories ? > > That is pretty true.=C2=A0 I've heard of hardlinked directories on Solari= s, but > that's kind of an exception to the general rule. > In APUE, Richard Stevens says only root could do this, if it is supported by the system at all. In a footnote, he additionally mentions he screwed up his filesystem by creating a loop of hardlinked directories while writing that section of the book. I suppose it is a good thing systems don't allow that now. --=20 regards, kushal