Question (on Slack7) keywords: inodes kppp cdaudio

Christos Ricudis ricudis at paiko.gr
Tue Mar 28 21:37:15 EEST 2000


Hello Linux-greek-users!

  On 28 Mar 00, Linux-greek-users wrote to All with subject "Question (on
Slack7) keywords: inodes kppp cdaudio":

 L> 1) Πώς μπορώ να μάθω με πόσα bytes/inode είναι φορμαρισμένα τα
 L> ext2 partitions ??? 

Tune2fs

(you can tune a filesystem but you can't tuna fish). STR. 

 L> Παρατηρησα πως μερικοί φάκελοι πιάνουν 4096 bytes,
 L> άλλοι 1024, άλλοι 2048 και άλλοι 3072, ενώ στο RedHat π.χ. πιάνανε 1024
 L> όλοι (αλλά, φυσικά, δεν είναι "εκεί" το θέμα, αλλά στο ότι κατά την
 L> εγκατάσταση του Slack, του είπα να είναι όλα τα Partitions
 L> φορμαρισμένα με 1024 bytes/inode ...  l-)

Epeidh den nomizw na exeis katalabei ti einai ena directory, ti antiproswpeyei
to mege8os toy, ti antiproswpeyei to bytes/inode ratio (den kserw an exeis
aporia kai gia to ti einai byte h inode) : 

Ena directory einai (opws (8a eprepe na einai) sxedon kai ka8e allo pragma sto
unix) ena arxeio. Malista, o tropos poy ylopoioytan kapote oi opendir(),
readdir() ktl ktl htan akribws aytos: Ekanes open() to directory kai diabazes
apo mesa dirent structures. (Ystera hr8an kati malliades rebizionistes apo to
berkeley kai allaksane ta fwta sto filesystem, alla ayto einai allh istoria). 

To mege8os enos directory einai, aplws, to mege8os enos directory. Kai den exei
kammia apolytws sxesh me to bytes/inode ratio. Aplws sto prohgoumeno systhma
sou den etyxe na exeis arketa arxeia mesa se ena directory wste na to
megalwseis panw apo 1k. 

Twra. To bytes/inode ratio dhlwnei *aplws* kai *mono* posa inodes 8a
dhmiourghsei to mke2fs sto filesystem (den koitakses ta archives :PPP, exw
ksanagrapsei ektenes article gi'ayto). PROSOXH - DEN EINAI ALLOCATION SIZE h
fragment. To gegonos oti ekfrazetai se bytes/inode se kanei na nomizeis oti to
minimum allocation size enos arxeiou einai osa bytes dhlwseis sto ratio, alla
den einai etsi. To noumero aplws einai ena ESTIMATE toy mesou filesize poy 8a
apo8hkeytei sto filesystem, etsi wste na dhmiourghsei men arketa inodes wste na
ftasoyn gia ola ta arxeia, na afhsei de xwro sto disko kai gia arxeia ektos apo
inodes :>. 

Poso einai twra to meso mege8os arxeiou? Poly kalh erwthsh, kai h apanthsh
eksartatai apo th xrhsh toy filesystem. Ena news spool p.x. apoteleitai kyriws
apo polla mikra arxeia, ara xreiazetai mikrotero bytes/inode ratio. Ena
filesystem poy apo8hkeyei kymatomorfes apo seismografous ths reftek (tyxaio
paradeigma, kammia apolytws sxesh me pragmatika peristatika - ma pistepste me!)
8a exei mesa mono merikes ekatontades arxeia ALLA merikwn ekatontadwn MB to ena
- ara de xreiazetai na exei mikro bytes/inode ratio, kai glytwnoyme perissotero
xwro megalwnontas to. 

Kapote eixa mazepsei ola ta filesizes toy systhmatos moy kai eixa treksei to
PSPP panw toys. Den kserw poy ebala to output, prepei na to eixa steilei sth
lista. Mia poy prosfata katafera na treksw to SPSS katw apo VMWare, 8a to
ksanakanw to peirama kai 8a sas enhmerwsw gia ta apotelesmata (oxi oti
noiazetai kaneis alla leme twra). 

--
Christos Ricudis

Boh8a ena an8rwpo kai 8a se 8ymh8ei.
Thn epomenh fora poy 8a xreiastei boh8eia.

--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list