Debian Bug report logs - #550010
hfsplus corrupts filesystems >2TB

version graph

Package: linux-image-2.6.26-1-amd64; Maintainer for linux-image-2.6.26-1-amd64 is (unknown);

Reported by: Marc Tamsky <[email protected]>

Date: Tue, 6 Oct 2009 23:36:02 UTC

Severity: critical

Found in version linux-2.6/2.6.26-13

Fixed in versions linux-2.6/2.6.31-1~experimental.2, linux-2.6/2.6.26-20

Done: dann frazier <[email protected]>

Bug is archived. No further changes may be made.

Full log


Message #32 received at [email protected] (full text, mbox, reply):

Received: (at 550010) by bugs.debian.org; 7 Oct 2009 20:32:23 +0000
From [email protected] Wed Oct 07 20:32:23 2009
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rietz.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 127; neutral, 46; spammy,
	1. spammytokens:0.936-+--limited hammytokens:0.000-+--H*c:protocol,
	0.000-+--H*c:micalg, 0.000-+--H*c:signed, 0.000-+--H*c:pgp-signature,
	0.000-+--H*c:pgp-sha1
X-Spam-Status: No, score=-8.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER,
	PGPSIGNATURE autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path: <[email protected]>
Received: from shadbolt.e.decadent.org.uk ([88.96.1.126])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <[email protected]>)
	id 1MvdBP-00038K-7X
	for [email protected]; Wed, 07 Oct 2009 20:32:23 +0000
Received: from deadeye.i.decadent.org.uk ([192.168.4.185] helo=localhost)
	by shadbolt.decadent.org.uk with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <[email protected]>)
	id 1MvdBM-00030E-8J; Wed, 07 Oct 2009 21:32:20 +0100
Received: from womble by localhost with local (Exim 4.69)
	(envelope-from <[email protected]>)
	id 1Mvct3-0007a0-K1; Wed, 07 Oct 2009 21:13:25 +0100
From: Ben Hutchings <[email protected]>
To: dann frazier <[email protected]>
Cc: [email protected]
In-Reply-To: <[email protected]>
References: <1254883038.4246.179.camel@localhost>
	 <[email protected]>
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-WIEBrZnQINIx4eA8fW9q"
Date: Wed, 07 Oct 2009 21:13:25 +0100
Message-Id: <1254946405.27245.3.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.0 
X-SA-Exim-Connect-IP: 192.168.4.185
X-SA-Exim-Mail-From: [email protected]
Subject: Re: Bug#550010: hfsplus corrupts filesystems >2TB
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000)
X-SA-Exim-Scanned: Yes (on shadbolt.decadent.org.uk)
[Message part 1 (text/plain, inline)]
On Wed, 2009-10-07 at 09:27 -0600, dann frazier wrote:
> On Wed, Oct 07, 2009 at 03:37:18AM +0100, Ben Hutchings wrote:
> > This is my suggested change, so far only compile-tested:
> > 
> > --- a/fs/hfsplus/wrapper.c
> > +++ b/fs/hfsplus/wrapper.c
> > @@ -99,6 +99,10 @@
> >  
> >  	if (hfsplus_get_last_session(sb, &part_start, &part_size))
> >  		return -EINVAL;
> > +	if (part_start + part_size >= 0x100000000) {
> > +		pr_err("hfs: volumes larger than 2TB are not supported yet\n");
> > +		return -EINVAL;
> > +	}
> 
> minor point, but maybe s/hfs/hfsplus/ ?
[...]

This is consistent with other log messages from hfsplus.  While I think
the prefix *should* be "hfsplus: ", it seemed to me that it would be
worse to be inconsistent.  Also, the original HFS is intrinsically
limited to 2TB so this message is true for both of them.

Ben.

-- 
Ben Hutchings
To err is human; to really foul things up requires a computer.
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 9 21:39:12 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.