Skip to contentSkip to conversation

SI units

DISCUSSION Helmut Hullen 2 participants 5 messages Nov 18, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hallo, linux-btrfs,

when I invoke

btrfs filesystem show

then it shows the size of my Terabyte disks in TiByte but tells "TB". It's a difference of about 10% - either there should be a switch like in "df" (option -H or --si), or "TB" should be changed to "TiB" (the same with GiB, MiB etc.)

Viele Gruesse!
Helmut

#1 lore raw
Quoted 8 lines · Helmut Hullen

when I invoke

btrfs filesystem show

then it shows the size of my Terabyte disks in TiByte but tells "TB". It's a difference of about 10% - either there should be a switch like in "df" (option -H or --si), or "TB" should be changed to "TiB" (the same with GiB, MiB etc.)

I posted patches[1] to do just that, a few weeks ago.

Hugo.

[1] http://www.mail-archive.com/[email protected]/msg06517.html

Signature · 3 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
     --- "I am the author. You are the audience. I outrank you!" ---     
#2 lore raw

Hallo, Hugo,

Du meintest am 18.11.10:

Quoted 10 lines
Quoted 8 lines

when I invoke

btrfs filesystem show

then it shows the size of my Terabyte disks in TiByte but tells "TB". It's a difference of about 10% - either there should be a switch like in "df" (option -H or --si), or "TB" should be changed to "TiB" (the same with GiB, MiB etc.)

I posted patches[1] to do just that, a few weeks ago.

I've just compiled btrfs from git (20101117) - at least this patch isn't included.

git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git

as recommended in

https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories

Do I use an antique version?

Viele Gruesse!
Helmut

#3 lore raw
Quoted 16 lines · Helmut Hullen

Du meintest am 18.11.10:

Quoted 10 lines
Quoted 8 lines

when I invoke

btrfs filesystem show

then it shows the size of my Terabyte disks in TiByte but tells "TB". It's a difference of about 10% - either there should be a switch like in "df" (option -H or --si), or "TB" should be changed to "TiB" (the same with GiB, MiB etc.)

I posted patches[1] to do just that, a few weeks ago.

I've just compiled btrfs from git (20101117) - at least this patch isn't included.

Quoted 7 lines

git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git

as recommended in

https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories

Do I use an antique version?

No, that's the latest version, as far as I know. The patches
haven't been picked up and integrated by Chris yet. (In fact, I should probably send them again).

In the meantime, I'm afraid you'll have to apply the patches
manually.

Hugo.

Signature · 3 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- Questions are a burden, and answers a prison for oneself. ---    
#4 lore raw

Hallo, Hugo,

Du meintest am 18.11.10:

Quoted 1 line
Quoted 1 line
Quoted 1 line

I posted patches[1] to do just that, a few weeks ago.

[...]

Quoted 5 lines
Quoted 1 line

Do I use an antique version?

No, that's the latest version, as far as I know. The patches
haven't been picked up and integrated by Chris yet. (In fact, I should probably send them again).

Ok - then all is right on my machine ...

Quoted 2 lines

In the meantime, I'm afraid you'll have to apply the patches
manually.

I'll wait some days (or weeks) and hope for integration. That's fast enough ...

Viele Gruesse!
Helmut