FAT kerdes

Stéber Krisztián Krisztian.Steber at t-systems.co.hu
Tue Mar 30 15:36:23 CEST 2004


Sziasztok! 

> Van egy kis gondom a FAT kezelessel. A parent directory ugye 
> egy sima bejegyzes, ami a parentre mutat. Ez nekem mindig jol 
> mukodik, kiveve a root-ban talalhato directoryk eseten, azok 
> parentje ugyanis nem a rootra mutat, hanem valami hulyesegre...

A root directorynak nincs szuloje, de van .. bejegyzese (hogy mindek, azt nem tudom), ami cimkent elvileg 0-t tartalmaz.
Lehet, hogy a letrehozo szoftver lazabban kezelte a dolgot, es hulyeseget rakott oda...
Detektalni kell valahogy, hogy o a root, es ki kell szurni a ..-ot.

Idezet egy FAT leirasbol:

"There are a couple of other special things you should know about the root directory. One is that it cannot be deleted; the reason for this I would think to be obvious. :^) Also, the root directory has no parent, since it is at the top of the tree structure. The root directory still contains a ".." entry, but instead of pointing to the cluster number of the parent directory like a regular directory's parent entry, it contains a null value (zero)."

Udv.,
  SK.



More information about the Elektro mailing list