From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 06:21:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFBB416A408 for ; Thu, 26 Apr 2007 06:21:06 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id 42D3B13C4B9 for ; Thu, 26 Apr 2007 06:21:05 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.1/8.14.1) with ESMTP id l3Q6Kn5C073106; Thu, 26 Apr 2007 07:20:50 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=permerror; spf=permerror X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk l3Q6Kn5C073106 Message-ID: <463044C1.6080107@infracaninophile.co.uk> Date: Thu, 26 Apr 2007 07:20:49 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: "GARRISON, TRAVIS J." References: <06D1B6D4926222458F803D0D3EDCCB7E01D0A4AC@EXM1.otc.edu> In-Reply-To: <06D1B6D4926222458F803D0D3EDCCB7E01D0A4AC@EXM1.otc.edu> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 26 Apr 2007 07:21:01 +0100 (BST) X-Virus-Scanned: ClamAV 0.90.2/3162/Wed Apr 25 19:43:55 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, DK_POLICY_SIGNSOME,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Single Instance Service 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: Thu, 26 Apr 2007 06:21:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 GARRISON, TRAVIS J. wrote: >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> I am looking for software that will run on FreeBSD that is similar to >> Microsoft Single Instance Service. >> >> The Single Instance Storage Filter is a file system filter that > manages >> the duplicate copies of files on hard-disk volumes. This filter copies > one >> instance of the duplicate file into a central folder, and the > duplicates >> are replaced with a link to the central copy to improve disk usage. > > [GARRISON, TRAVIS J.] > > Is this something that is not possible under FreeBSD? Sure it is. You will need to write a small shell script to scan your disk volume and calculate the checksum of each file. When ever it finds a duplicated checksum, then it copies the file into the central store and replaces the on-disk copies with symbolic links. That's fairly trivial to write. However, I have to wonder if this is at all worthwhile. Quite apart from arguments along the lines of 'disk is cheap' and that the effort required to do this is out of all proportion to the amount of such duplicated files on the vast majority of systems, you're also putting all your eggs in one basket. All it takes is one idiot and you'll be recovering the one copy of your valuable document from backup. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGMETB8Mjk52CukIwRCOqcAKCPJabakUoQas4kIGylpFST66H06wCdF8kL C8cMYpuXMu8QdnTIB9IPXls= =Le/5 -----END PGP SIGNATURE-----