explorer/disks: Fix on NetBSD and support Linux w/o lsblk
I reworked the disks explorer to
- work on NetBSD where sysctl is at
/sbin/sysctlbut when you connect by
ssh host /bin/shthe
PATHdoes not contain sbin directories.
- Added code to make it work on Linux installations without
It is unclear to me in the type which devices should be returned and which not. By the exclusion list in the Linux section CD-ROMs, floppies and RAM disks should be filtered, but what about loopback, nbd, MMC boot "partitions" (possibly more)?
I'm also not sure if the patterns for the BSDs aren't too restrictive.