Re: Maximale Dateigröße

From: Oliver Fromme <olli(at)dorifer.heim3.tu-clausthal.de>
Date: Wed, 29 Mar 2000 16:31:29 +0200 (CEST)

In list.de-bsd-questions Jens Calisti <Jens.Calisti(at)eiskonzept.com> wrote:
> kann mir jemand sagen wie groß eine Datei unter FreeBSD 3.4 maximal sein
> darf ?

olli(at)dorifer:~> touch foobar
olli(at)dorifer:~> truncate `echo 2 \^ 43 - 1 | bc` foobar
olli(at)dorifer:~> ls -l foobar
-rw------- 1 olli olli 8796093022207 Jan 13 02:20 foobar
olli(at)dorifer:~> truncate `echo 2 \^ 43 | bc` foobar
truncate: File too large

Das sind 8 Tbyte. Natürlich ist es ein "sparse file". Das
Maximum für ein UFS/FFS-Filesystem dagegen ist bei FreeBSD
nur 1 Tbyte (oder war es zumindest noch vor kurzem).

Gruß
   Olli

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli(at)dorifer.heim3.tu-clausthal.de)
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 29 Mar 2000 - 16:31:48 CEST

search this site