Bug sto ext2fs ?
Antonios A. Kavarnos
akav at hpc.ntua.gr
Thu Mar 4 11:28:06 EET 1999
On Thu, Mar 04, 1999 at 04:03:54AM +0200, I.Ioannou wrote:
> Signomi pou ksanastelnw to sigkekrimeno minima, kai signomi gia to
> proigoumeno pou htane mpaxalo : otan o mailer sou apofasizei na sou
> kanei kolpa :-(
> ---------------------
>
> As poume oti kanw :
>
> dd if=/dev/zero of=john.txt seek=1000k count=2 bs=1024
>
> Mou fiaxnei se xrono recore ena arxeio konta 1Gb, alla to df deixnei oti
> to megethos tou diskou den exei meiothei (pera po oti alla problhmata
> exei ena tetoio arxeio). Kapou exoun mpertheftei ta inodes tou, kai
> exei xasei ton logariasmo.
>
> Einai bug sto driver tou ext2fs , einai bug tou dd ?
> Kai an einai bug tou ext2fs driver, pou to kanw report ?
It's not a bug, it's a feature!
Ta unix file systems yposthrizoyn sparse files.
Me liga logia ayto shmainei oti an dhmioyrghseis ena arxeio,
kaneis seek sto 1000000000 kai graceis ena byte, to arxeio
ua exei bebaia megeuos 1000000001 bytes, ta prvta 1000000000 bytes
ua einai 0, alla ua pianei mono ena block sto disko.
Ayto to ekmetalleyontai baseis dedomenvn, hashing bibliouhkes klp.klp.
Ta kala archiving programmata (px. gnu tar) me tin katallhlh parametro (-S)
katalabainoyn ta sparse files, kai den ftiaxnoyn terastia archives.
(kala, osoi jerete, to gnu tar einai apotyxhmeno paradeigma)
Bye,
Antonis
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Antonios Kavarnos (Antonios.Kavarnos at hpc.ntua.gr)
National Technical University of Athens
...born to live
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list