Canop / dysk

A linux utility to get information on filesystems, like df but better
https://dystroy.org/dysk
MIT License
890 stars 25 forks source link

Installation on an OpenWRT router. #68

Open paolosezart opened 11 months ago

paolosezart commented 11 months ago

Is it possible to install dysk on a router with a MediaTek MT7620A processor? Cpuinfo data:


system type     : MediaTek MT7620A ver:2 eco:6
machine         : Zbtlink ZBT-WE826 (16M)
processor       : 0
cpu model       : MIPS 24KEc V5.0
BogoMIPS        : 385.02
wait instruction    : yes
microsecond timers  : yes
tlb_entries     : 32
extra interrupt vector  : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa         : mips1 mips2 mips32r1 mips32r2
ASEs implemented    : mips16 dsp
Options implemented : tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit perf
shadow register sets    : 1
kscratch registers  : 0
package         : 0
core            : 0
VCED exceptions     : not available
VCEI exceptions     : not available

Hwinfo parameters: hwinfo.txt

Canop commented 11 months ago

Compilation does work (I just tested using https://github.com/casonadams/cross-compiler-rs) but I have no way to check whether dysk really works on this platform.

paolosezart commented 11 months ago

Can you post the compiled file here? I'll check it and post it.

Canop commented 11 months ago

https://dystroy.org/dysk/download/openwrt/

paolosezart commented 11 months ago

05-10-2023

Canop commented 11 months ago

Cool. note: Use df -H instead of df -h to get ISO units.

As your terminal is lacking some chars, you should probably use dysk --ascii. Not ideal but prettier than that square.

paolosezart commented 11 months ago

The thing is that I have two drives mounted, one USB (64Gb) and the second MicroSD (8Gb): 05-10-2023_

Therefore, as I understand the mapping is wrong.

About "df -H" such argument is not supported: 05-10-2023__