Re: nvme as user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux