[plug] Run command before mount
Andrew Cooks
acooks at gmail.com
Wed Aug 12 01:29:13 UTC 2015
Hi Dean
Is changing the LVM/partitioning scheme an option, or are you ready to
embrace systemd?
a.
On Wed, Aug 12, 2015 at 7:15 AM, Dean Bergin <dean.bergin at gmail.com> wrote:
> 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
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.org.au
> PLUG Membership: http://www.plug.org.au/membership
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20150812/5b26c828/attachment.html>
More information about the plug
mailing list