The original directory size and the copied directory size are different.

Solution Unverified - Updated -

Issue

  • The original directory size and the copied directory size are different.
# mkdir origdir
# touch origdir/file{1..10000}
# ls -ld origdir/
drwxr-xr-x 2 root root 249856 Jan  8 19:42 origdir/
# cp -R origdir/ copied
# ls -ld copied/
drwxr-xr-x 2 root root 323584 Jan  8 19:43 copied/

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Ext2/ Ext3/Ext4
  • dir_index feature

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In