lkml.org 
[lkml]   [2014]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectsystemctl equivalent of /sys/block/sda/device/state
From
Hi folks,

Not sure if this is right place to ask this doubt.

I am trying to port my old script to centos7, in which earlier device
state was set using
echo "offline" > /sys/block/sda/device/state.

I am looking for systemctl equivalent for it. Can anyone please help?

Thank you.

-Chaitanya


\
 
 \ /
  Last update: 2014-11-24 02:01    [W:0.039 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site