The stat tag has no wiki summary.
1
vote
1answer
65 views
linux: question marks in file status; cannot stat file
Linux 2.6.18-164.11.1.el5.centos.plus
filesystem in question: reiserfs
Hi,
I'm having trouble deleting a file:
[root@flat: all_subjs_wcbf]# ls -lah
total 0
drwxrwxrwx 2 szhu cfn 88 Sep 1 2011 ./
...
1
vote
1answer
112 views
Dereference symbolic link in OS X?
In OS X, how can I dereference a symbolic link to a canonical file name? (i.e. one starting with /.)
That is, I'm after the equivalent of GNU readlink's -f option:
kapow:~$ greadlink -f ...
3
votes
1answer
817 views
Whats “Birth” field in stat command output
I'm using Fedora-16 with ext4.Suddenly with stat command I can see something called "Birth".
# stat history_file1.txt
File: `history_file1.txt'
Size: 8944 Blocks: 24 IO ...
1
vote
2answers
98 views
Directory in Linux(ext3) with only 2 files occupies 32000 blocks(16Mbytes)
IIRC my Operating Systems classes, the size of a directory in Linux is given by the number of files it contains([wikipedia link])1
So, why a directory with only 2 files occupies 32000 blocks?
# stat ...
0
votes
3answers
191 views
May the file size returned by stat be compromised?
I want to make sure that nobody changed a file. In order to accomplish that, I want not only to check MD5 sum of the file, but also check its size, since as far as I understand this additional simple ...