- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why Directory size difference
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 03:17 AM
07-31-2002 03:17 AM
When you list the directories why there will be different size for each
example
[root@root /usr]# ls -ld man
drwxr-xr-x 14 root root 4096 Jul 25 04:02 man
[root@root /usr]# ls -ld sbin
drwxr-xr-x 2 root root 8192 Jul 25 07:31 sbin
regards
chakri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 03:29 AM
07-31-2002 03:29 AM
Re: Why Directory size difference
first field is permissions then links then owner then group the size in bytes then timestamp.
The size of man directory is different from that of sbin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 03:32 AM
07-31-2002 03:32 AM
Re: Why Directory size difference
If you do a "du -sk" on man and on sbin, you will see that sbin contains more blocks - it's bigger, that's all.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 03:42 AM
07-31-2002 03:42 AM
SolutionNow there is one 'feature' of a directory: it always grows but doesn't shrink. If you create a lot of files, then remove them, the directory will have a lot of empty slots but will not shrink in size. This is one of the reasons that a copied directory will have all it's files and subdirectories but the copied directory may be smaller than the original (empty slots are not copied).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 03:59 AM
07-31-2002 03:59 AM
Re: Why Directory size difference
the size what it shows is not the total disk size, it is different
regards
chakri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 08:02 PM
07-31-2002 08:02 PM
Re: Why Directory size difference
regards
chakri