Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - find size of a drive or directory: (4 Items)
   
find size of a drive or directory  
hi all, i am using the QNX 4 and i want to find out the size of a directory like you could in windows just by right 
clocking it and seeing the properties. but there is no such way in qnx. i also want to see the amount of used and free 
disk space in a drive.
can you please help with that. the size shown in the details for all directories is 4096 which is incorrect. the OS has 
Photon file manager.

one more thing what file system does qnx use ntfs,fat32 or something else.
Re: find size of a drive or directory  
Dear John,

As far as I know the Photon File Manager doesn't show both directory and 
disk sizes, but you can just use df and du utilities for your needs.

-- 
Respectfully,
Oleg

> hi all, i am using the QNX 4 and i want to find out the size of a
> directory like you could in windows just by right clocking it and
> seeing the properties. but there is no such way in qnx. i also want to
> see the amount of used and free disk space in a drive. can you please
> help with that. the size shown in the details for all directories is
> 4096 which is incorrect. the OS has Photon file manager.
> 
> one more thing what file system does qnx use ntfs,fat32 or something
> else.
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post77569
Re: find size of a drive or directory  
can u please tell me what df and du utillities are and how i can use them
Re: find size of a drive or directory  
Dear John,

Read more about the df and the du utilities from the QNX 4.25 Utilities 
Reference:

http://www.qnx.com/developers/docs/qnx_4.25_docs/qnx4/utils/d/df.html
http://www.qnx.com/developers/docs/qnx_4.25_docs/qnx4/utils/d/du.html

You can launch them from the command line, for example.

-- 
Respectfully,
Oleg

> can u please tell me what df and du utillities are and how i can use
> them
> 
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post80547