Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2012 13:27:52 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        rank1seeker@gmail.com
Cc:        hackers@freebsd.org
Subject:   Re: Tiny 'tunefs' bug
Message-ID:  <CAE-mSOLtXF2D75H0SyqO8PTuMDz3k=6DatHvderU_z23nCBpSA@mail.gmail.com>
In-Reply-To: <20120210.090141.590.3@DOMY-PC>
References:  <20120210.090141.590.3@DOMY-PC>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOLtXF2D75H0SyqO8PTuMDz3k=6DatHvderU_z23nCBpSA>