Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is yet another problem that has been bugging me for quite some time.What I intend to do is to find out if at all there is any way by which we can find out the metadata information in the unix filesystem ?
I am trying to simplify the problem. In unix fileystsem say I have an ordinary file called file1 .Now I can always view the contents of this file by doing a cat , head , view etc but all that mean that I can view the contents of the file. What if I really want to find out the metadata information pertaining to this file ? Noteworthy to mention , here I am really not trying to find out the inode number of the file , since that can be easily done by
ls - i -l.I am trying to find the loction where if I look I can get the approximate size that is utilised to store the metadata information for this file ?
It will be so nice if anyone can throw light in this matter.
How shall I use this command ...is it like this stat <filename> ? I had tried out with every other option that you have suggested like stat , attr , etc but none of them seem to work in my machine.
Plaese tell me how shall I use the command to know the metadata information for a particular file.
Originally posted by Prasun1
Meanwhile it will be great if you can tell me as to how shall I find out the space
allocated for the metadata information of a file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.