Tiny 'tunefs' bug

Sergey Kandaurov pluknet at gmail.com
Fri Feb 10 10:54:13 UTC 2012


2012/2/10  <rank1seeker at gmail.com>:
> 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)

It seems like this was changed with svn rev 207421 in 9.x.

-- 
wbr,
pluknet


More information about the freebsd-hackers mailing list