[plug] Run command before mount
Dean Bergin
dean.bergin at gmail.com
Tue Aug 11 23:15:32 UTC 2015
Hello PLUG community.
I have a situation on a Debian 8.0 machine whereby I require a command
(specifically partprobe) to be run right before mount runs and reads
/etc/fstab.
In the following StackExchange article, one responder suggests putting the
commands and/or binaries inside of the initrd image itself (can anyone say,
possible dynamic library issue?) , but that seems a bit too extreme. The
same article also suggest using dmsetup, but I have not had to use dmsetup
in this particular configuration:
http://unix.stackexchange.com/questions/92275/have-to-run-partprobe-at-every-boot
Can anyone offer any advice as to the best way to go about such a task?
I have also noticed that Debian's init system has changed and running my
own scripts via the old system doesn't seem to apply any more.
Thanks in advance.
--Dean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20150811/b632e516/attachment.html>
More information about the plug
mailing list