Re: Max. Groesse eines slice

From: Oliver Fromme <olli(at)secnetix.de>
Date: Wed, 20 Nov 2002 13:53:00 +0100 (CET)

Bernd Walter <ticso(at)cicely8.cicely.de> wrote:
> Das Limit der Dateigröße liegt in etwa bei 8T, wenn man 1k/8k Fragmente
> und Blöcke verwended - das ist allerdings lange nicht mehr default,
> sodas die aktuelle Grenze wesentlich höher liegt.

Oops, da hast Du recht.
Die Defaults wurden offenbar vor ca. 15 Monaten geändert.

$ dumpfs /store | grep "^[bf]size"
bsize 16384 shift 14 mask 0xffffc000
fsize 2048 shift 11 mask 0xfffff800
$ cd /store/tmp
$ truncate -s $(dc -e"2 44^1-p") foo
$ ls -l foo
-rw------- 1 olli wheel 17592186044415 Nov 20 13:46 foo
$ truncate -s $(dc -e"2 44^p") foo
truncate: foo: File too large

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 20 Nov 2002 - 13:54:21 CET

search this site