Results 1 to 2 of 2

Thread: hddtemp functionality

  1. #1
    Join Date
    Sep 2012
    Location
    Montreal Canada
    Posts
    55

    Default hddtemp functionality

    Should this site and the posting be considered the norm? hddtemp is not included in man7 Linux pages

    https://www.systutorials.com/docs/linux/man/8-hddtemp/

    Subject: Different implementations of hddtemp , which is the correct one




    2>&1 hddtemp with RedHat / Fedora does not need a drive. If no drive is specified It uses output of ls /dev/sd?

    2>1 hddtemp with SUSE / Tumbleweed requires a drive to be specified, One must specify /dev/sd{a,b,..etc}


    Fedora has hddtemp stored in /usr/bin #available to all

    Question is asked for Tumbleweed,. but it may apply to Leap as well
    Suse has hddtemp stored in /usr/sbin #reserved for root



    With Fedora I use hddtemp to tell me if the drive is sleeping. I can be a regular user

    With SUSE hddtemp is privileged. Only as root, I can determine if drive is sleeping,

    I would like to have a consistent definition of execution.


    The hddtemp -I does not specify if SUSE or Fedora's way is the correct one.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,846
    Blog Entries
    15

    Default Re: hddtemp functionality

    Hi
    By the looks Fedora uses pam (selinux?) configuration to allow the user to access, openSUSE uses the hddtemp service and query the relevant port as your user. Drives are configured via YaST /etc/sysconfig...

    Not sure how it (hddtemp) tells you if the drive is sleeping?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •