Filesystem oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
- Subject: Filesystem oddity
- From: Dan Track <dan.track@xxxxxxxxx>
- Date: Wed, 18 Jan 2006 11:13:08 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=sz2S1QvwUjywmFQBXZBDiy0V7dIbmLrjnDM+QIUsAhVWixZ3CwOUFvCiEKnBb47dZ+G0vJAeaXBWo318Rfcx9t/YKzpuyWTvJJjZ5l5YFGw1Bcdlkgw9FRMqGFoi4QEnr/sBcgk+x/90NUUzkIzra8n/mPHXsfxwqzjaSB0bXF0=
- Reply-to: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Hi
I just came across this odd thing.
Basically my problem was to find all empty directories on the /tmp filesystem. Initially I thought that all empty directories would be 8.0K when running "du -hs". With this impression I ran my script. The results I got were inconsistent with my theory. It found many directories with one file in them and these directories were also
8.0K in size.
I'd liek to ask how this is possible, is this something to do with blocks on the filesystem. And how does the command: find /tmp -type d -empty, what parameter does it use to find an empty directory?
Thanks in advance
Dan
[Index of Archives]
[Current Fedora Users]
[Fedora Desktop]
[Fedora SELinux]
[Yosemite News]
[Yosemite Photos]
[KDE Users]
[Fedora Tools]
[Fedora Docs]