CurrantPi
CurrantPi copied to clipboard
Include attached drives?
This is really great! Thanks for sharing.
Would it be possible to add attached drives to the monitor? I use my Pi like a NAS/FTP with an attached USB HDD. It would be great to know the state of those drives as well.
Hey. If the drives appear when you run the mount command from the command line, then they'll appear in CurrantPi. One of the drives in the screenshots is an external USB.
Any trouble just let me know.
On 22 Dec 2016 8:05 p.m., "Esteidinger" [email protected] wrote:
This is really great! Thanks for sharing.
Would it be possible to add attached drives to the monitor? I use my Pi like a NAS/FTP with an attached USB HDD. It would be great to know the state of those drives as well.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ColinWaddell/CurrantPi/issues/42, or mute the thread https://github.com/notifications/unsubscribe-auth/ABw0BYDhgojATRWS6A2se8d2aT778fM5ks5rKtgCgaJpZM4LUVL0 .
Somehow this doesn't show up the /media/<username>/<drive name>/ file system for me even though the command used for getting file systems in the script (from content/storage/StorageData.php) - df -H -x tmpfs -x devtmpfs shows it without any issues.
Update: After adding /dev/sda1 to the /etc/fstab, it correctly shows up on the list:
So this seems to only be a problem with auto-mounted devices in /media/<username>. Maybe they are only visible to single user? I don't know how Linux handles that stuff.