Re: /proc/sys/vm/(max|min)-readahead effect????
Roy Sigurd Karlsbakk (roy@karlsbakk.net)
Thu, 6 Dec 2001 12:45:23 +0100 (CET)
> > mkfs /dev/hdb1
> > dd if=/dev/zero of=some-file bs=x count=x
> >
> > What can fragment this file????
> say you wanna write a 500MB file
> on a disk with plenty of space.
>
> but when you create the file it happens to
> create it in a place that only a 50MB file can
> fit because there is another file on the disk in that
> position. after 50MB is created then you have to put the rest file
> elsewhere thus you now have a fragmented file.
er...
take a look above
mkfs /dev/hdb1
(mount /dev/hdb1 /some/dir)
dd if=/dev/zero of=/some/dir/file ...
--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA
Computers are like air conditioners.
They stop working when you open Windows.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/