public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Wakko Warner <wakko@animx.eu.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.0-test9 + LFS
Date: Fri, 27 Oct 2000 11:14:18 +0300	[thread overview]
Message-ID: <20001027111418.J3588@mea-ext.zmailer.org> (raw)
In-Reply-To: <20001026215606.A19958@animx.eu.org>
In-Reply-To: <20001026215606.A19958@animx.eu.org>; from wakko@animx.eu.org on Thu, Oct 26, 2000 at 09:56:06PM -0400

On Thu, Oct 26, 2000 at 09:56:06PM -0400, Wakko Warner wrote:
> I attempted to create a 4gb sparce file with dd.  It failed.
> I created one that was 2.1gb in size which worked.  Then I appeneded more
> junk to the end of the file making it over 2.2gb.
> 
> doing an ls -l shows:
> ls: x: Value too large for defined data type
> 
> NOTE: this worked in 2.4.0-test6 and I believe it stopped working around
> test8, but I'm not sure.  May have been around test7.

	Your userspace tools are not using LFS compliant
	open(O_LARGEFILE), and stat64()  methods.

	EXT2 got corrected to do LFS limited open() handling
	at correct limit (2G-1) at around that time.

	There still lurks some mis-compliance issues at
	read() and write() which are still allowed to
	go over 2G-1 marker without the fd having
	O_LARGEFILE flag.

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-10-27  8:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-27  1:56 2.4.0-test9 + LFS Wakko Warner
2000-10-27  3:15 ` kernel
2000-10-27 10:48   ` Wakko Warner
2000-10-27 14:42     ` kernel
2000-10-27 16:19       ` Wakko Warner
2000-10-27 16:15         ` David Weinehall
2000-10-27 16:24           ` kernel
2000-10-27  8:14 ` Matti Aarnio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-10-27 15:05 Petr Vandrovec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001027111418.J3588@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wakko@animx.eu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox