Re: Tiny 'tunefs' bug
2012/2/10 <rank1seeker@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) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0disabled
> tunefs: NFSv4 ACLs: (-N) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 disabled
> tunefs: MAC multilabel: (-l) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 disabled
> tunefs: soft updates: (-n) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 enabled
> tunefs: soft update journaling: (-j) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 enabled
> tunefs: gjournal: (-J) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 disabled
> tunefs: trim: (-t) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 disabled
> tunefs: maximum blocks per file in a cylinder group: (-e) =A02048
> tunefs: average file size: (-f) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A016384
> tunefs: average number of files in a directory: (-s) =A0 =A0 =A0 64
> tunefs: minimum percentage of free space: (-m) =A0 =A0 =A0 =A0 =A0 =A0 8%
> tunefs: optimization preference: (-o) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0time
> tunefs: volume label: (-L)
It seems like this was changed with svn rev 207421 in 9.x.
--=20
wbr,
pluknet
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)