gspotx2f / luci-app-disks-info Goto Github PK
View Code? Open in Web Editor NEWInformation about connected disk devices (partitions, filesystems, SMART) for LuCI (OpenWrt webUI)
License: MIT License
Information about connected disk devices (partitions, filesystems, SMART) for LuCI (OpenWrt webUI)
License: MIT License
Hey - Is it possible to include nvme
drives as well?
ls /dev/nvme*
# /dev/nvme0 /dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p128 /dev/nvme0n1p2 /dev/nvme0n1p3
Not sure if it's related to luci-app-disks-info/root/usr/share/rpcd/acl.d/luci-app-disks-info.json or perhaps something specific to my setup?
PS - Great tools BTW - thank you for all your efforts.
Здравствуйте внесите исправление, заранее извиняюсь что не pull request(ом) нет возможности его сделать да и исправлял на живой машине.
Исправляет ошибку
Cannot read properties of null (reading 'table')
причина ошибки иногда элементы statObject.pages бывают null
--- /htdocs/luci-static/resources/view/disks-info.js Thu Jun 13 21:53:17 2024
+++ /htdocs/luci-static/resources/view/disks-info.js Thu Jun 13 21:54:38 2024
@@ -623,6 +623,7 @@
E('h3', {}, _('Device statistics') + ':')
);
for(let page of statObject.pages) {
+ if(!page) continue;
if(!Array.isArray(page.table) || page.table.length === 0) continue;
let pageTableTitle = E('h5', { 'style': 'width:100% !important; text-align:left !important' }, _(page.name));
let pageTable = E('table', { 'class': 'table' });
Hi, my x86 router is using mmc which can not be detected by disks-info, cloud you please support this kind of device.
Do you plan to add to upstream openwrt ?
Thanks for the works and the share...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.