學術及資源的交流園地 ^_^

fdupes

 

 

fdupes [ options ] DIRECTORY

# found by comparing file sizes and MD5

-r --recurse

-d --delete
               prompt user for files to preserve, deleting all others

-q --quiet           

hide progress indicator

-N --noprompt (fdupes-1.51 才有此功能)
               when used together with --delete, preserve the first file in each set of duplicates and  delete
               the others without prompting the user

inode

mktemp: failed to create directory via template `/tmp/tmp.XXXXXXXXXX': No space left on device

Free blocks:              776341
Free inodes:              10

在 ext3 及 ext4 上是不能在建立好的 fs 上再增加 inode 的數量的 !!

df -i

mkfs.ext4
-i bytes-per-inode     # bytes/inode ratio
-I inode-size             # size of each inode  in  bytes, 太大會影響 performance. (作用: store extended attributes)

mkfs.ext4 的 default 數值
mke2fs.conf

extended attributes

 

使用

/dev/sda2  /media/mount_point  ext4  auto,users,user_xattr  0  0

 

 

inetd

RSS feed