FAT32: Attributes of the Root Directory
Posted: Mon Jan 25, 2016 10:11 pm
Hi,
I'm working with FAT32, and I can see that it's simple to get attributes for most files; Just load the file's parent directory, and look at the corresponding directory entry.
Is there a way to get attributes, such as creation time, modified time, etc for the root directory? As it does not have a parent directory, I'm not sure how to get these details beyond what is in the BPB, which doesn't have time stamps.
I've had a look through Microsoft's FAT32 File System Specification, but can't find anything there.
Could I safely assume that any time stamps could be zero? Is there any way of determining the size of the root directory, other than following the cluster-chain, and counting the clusters?
Thanks
I'm working with FAT32, and I can see that it's simple to get attributes for most files; Just load the file's parent directory, and look at the corresponding directory entry.
Is there a way to get attributes, such as creation time, modified time, etc for the root directory? As it does not have a parent directory, I'm not sure how to get these details beyond what is in the BPB, which doesn't have time stamps.
I've had a look through Microsoft's FAT32 File System Specification, but can't find anything there.
Could I safely assume that any time stamps could be zero? Is there any way of determining the size of the root directory, other than following the cluster-chain, and counting the clusters?
Thanks