CurrantPi icon indicating copy to clipboard operation
CurrantPi copied to clipboard

Include attached drives?

Open Esteidinger opened this issue 8 years ago • 3 comments

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.

Esteidinger avatar Dec 22 '16 20:12 Esteidinger

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 .

ColinWaddell avatar Dec 22 '16 20:12 ColinWaddell

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.

image image

Matriks404 avatar Aug 16 '23 17:08 Matriks404

Update: After adding /dev/sda1 to the /etc/fstab, it correctly shows up on the list:

image

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.

Matriks404 avatar Aug 17 '23 13:08 Matriks404