Tiny 'tunefs' bug

rank1seeker at gmail.com rank1seeker at gmail.com
Fri Feb 10 09:01:48 UTC 2012


Seems like there is a little bug in 'tunefs' binary.
When I strip '/dev/' to have a shorter CMD, it reports an error, even it does finish it's task.

# tunefs -j enable ufsid/4edc992e27d147ce
tunefs: Can't stat ufsid/4edc992e27d147ce: No such file or directory
Using inode 13 in cg 0 for 8388608 byte journal
tunefs: soft updates journaling set

# tunefs -p ufsid/4edc992e27d147ce
tunefs: Can't stat ufsid/4edc992e27d147ce: No such file or directory
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: soft update journaling: (-j)                       enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)


Domagoj Smolčić


More information about the freebsd-hackers mailing list