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/sysctl
but when you connect byssh host /bin/sh
thePATH
does not contain sbin directories. - Added code to make it work on Linux installations without
lsblk
Another remark:
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.