From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: delete-file to trash Date: Mon, 24 May 2010 09:17:52 -0400 Message-ID: References: <44D94988-854C-4A65-8DF1-08FC6FDCA269@gmail.com> <20100523.105435.117983016.hanche@math.ntnu.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274707083 18329 80.91.229.12 (24 May 2010 13:18:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 May 2010 13:18:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 24 15:18:01 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OGXXc-0005pK-1L for ged-emacs-devel@m.gmane.org; Mon, 24 May 2010 15:18:00 +0200 Original-Received: from localhost ([127.0.0.1]:35194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGXXb-0005wt-FX for ged-emacs-devel@m.gmane.org; Mon, 24 May 2010 09:17:59 -0400 Original-Received: from [140.186.70.92] (port=60600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGXXW-0005w6-JQ for emacs-devel@gnu.org; Mon, 24 May 2010 09:17:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGXXV-0001TB-5S for emacs-devel@gnu.org; Mon, 24 May 2010 09:17:54 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:60427 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGXXV-0001T2-0T for emacs-devel@gnu.org; Mon, 24 May 2010 09:17:53 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEALIY+ktFpZMM/2dsb2JhbACeEXK+GYUTBIw/ X-IronPort-AV: E=Sophos;i="4.53,291,1272859200"; d="scan'208";a="64923291" Original-Received: from 69-165-147-12.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.12]) by ironport2-out.pppoe.ca with ESMTP; 24 May 2010 09:17:52 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7D4DE8266; Mon, 24 May 2010 09:17:52 -0400 (EDT) In-Reply-To: <20100523.105435.117983016.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Sun, 23 May 2010 10:54:35 -0400 (EDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125164 Archived-At: >> Regarding trapping, Time Machine uses standard unix hard links, and >> the default FS format for Mac OS is HFS+, the specs for which are >> published here >> (http://developer.apple.com/mac/library/technotes/tn/tn1150.html); >> a GNU/linux driver has been developed. > Actually, it is a bit more complicated than that. As an optimization > feature, if a directory and all its contents are unchanged since the > previous backup, that directory in the latest backup becomes a hard > link to the corresponding directory in the previous backup. This is > one reason Time Machine can only use HFS volumes for Time Machine. > Example: > ; ls -1id */mach/System > [...] > 14828147 2010-05-19-062015/mach/System/ > 14828147 2010-05-20-083504/mach/System/ > 15557200 2010-05-21-184651/mach/System/ > 15557200 2010-05-22-075716/mach/System/ > 15808642 2010-05-22-131850/mach/System/ > 15808642 2010-05-22-144139/mach/System/ > 15808642 2010-05-22-154126/mach/System/ > 15808642 2010-05-22-164134/mach/System/ > [...] Interesting. So it can't be implemented above just any POSIX filesystem (where hardlinks are only guaranteed to work for files but not for directories). Stefan