On 10/27/23 20:05, ToddAndMargo via users wrote:
On 10/27/23 19:48, Samuel Sieb wrote:
On 10/27/23 19:39, ToddAndMargo via users wrote:
On 10/27/23 19:36, Samuel Sieb wrote:
You haven't said why needing root is a problem.
Run as a user:
$ nvme smart-log /dev/nvme0n1
/dev/nvme0n1: Permission denied
Yes, we know that it doesn't work as a user, but you didn't say why
you didn't want to need root to read it.
As a pop up when I log into Xfce. Just
show the errors
Okay I have to manually fire it up, but this is
what I have:
<NVMe.Start.Status.sh>
#! /bin/bash
Drive="/dev/nvme0n1"
echo "$Drive S.M.A.R.T. Status"
echo ""
beesu -c "nvme smart-log $Drive"
echo ""
# read -n 1 -s -p "Press any key to continue..."
/home/linuxutil/Pause.pl
echo ""
</NVMe.Start.Status.sh>
And I launch it with:
$ xterm -fn 8x16 -fg black -bg white -bdc -cc
"33:48,37:48,45-47:48,38:48" -title "NVMe SMART Ststus" -geometry
70x32+340+200 -e /home/linuxutil/NVMe.Smart.Status.sh
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue