All of lore.kernel.org
 help / color / mirror / Atom feed
* systemctl equivalent of /sys/block/sda/device/state
@ 2014-11-24  0:15 Chaitanya Gotkhindikar
  0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Gotkhindikar @ 2014-11-24  0:15 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* systemctl equivalent of /sys/block/sda/device/state
@ 2014-11-24  0:13 Chaitanya Gotkhindikar
  0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Gotkhindikar @ 2014-11-24  0:13 UTC (permalink / raw)
  To: kernelnewbies

Hi folks,

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-24  0:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-24  0:15 systemctl equivalent of /sys/block/sda/device/state Chaitanya Gotkhindikar
  -- strict thread matches above, loose matches on Subject: below --
2014-11-24  0:13 Chaitanya Gotkhindikar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.