[EMAIL PROTECTED] wrote:
> The output of the stat(1) command (with "%t" format sequence) should be
> the hex value of the filesystem; instead, it prints an asterisk (for
> any/all filesystems).
>
> # uname -a
> Linux mybox 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686
> i686 i386 GNU/Linux
> # stat -f --format="%T" /
> ext2/ext3
> # stat -f --format="%t" /
> *

What does stat --version report?
I'll bet you're using an older version.
The latest is from coreutils-6.9, e.g.,

    ftp://ftp.gnu.org/gnu/coreutils/coreutils-6.9.tar.gz

The latest works fine for me:

  $ /usr/bin/stat -f --format="%t" /
  ef53
  $ /usr/bin/stat -f --format="%T" /
  ext2/ext3

"stat" is a built-in function for some shells.
I suppose that *might* be the problem, but I doubt it.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to