Re: [PATCH 06/10] Install /bin/mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/27/2013 04:44 PM, Hannes Reinecke wrote:
> systemd relies on /bin/mount to be present, so install it.
> 
> Signed-off-by: Hannes Reinecke <hare@xxxxxxx>
> ---
>  modules.d/99fs-lib/module-setup.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/module-setup.sh
> index 7979bab..b24207d 100755
> --- a/modules.d/99fs-lib/module-setup.sh
> +++ b/modules.d/99fs-lib/module-setup.sh
> @@ -85,4 +85,5 @@ install() {
>      fi
>  
>      inst_multiple -o $_helpers fsck
> +    inst /usr/bin/mount /bin/mount
>  }
> 
After much debate and soul-searching it was found that

a) /bin/mount is _REQUIRED_ to be present
b) dracut will only copy /usr/bin/mount

So if /bin is _not_ a symlink to /usr/bin, but the individual
programs are, /bin/mount doesn't find it's way into the initrd.
Nor do several other programs.

How to approach this fundamentally?
I would prefer to have 'inst' checking for symlinks, and copy them
over if required.
Adding them manually seems ineffectual to me.
But I'll do whatever is desired here ...

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@xxxxxxx			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux