Skip to contentSkip to conversation

generic vs. host-only

DISCUSSION Harald Hoyer 1 participant 2 messages Mar 7, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Seewer Philippe proposed dracutmodules="hostonly" and to change "$mod/check".

all:
install everything and fail, if we can't

auto:
install everything we can and skip those we cannot

host-only:
install everything we can but only what is needed for the local host

Also for the host-only case, we shouldn't check for e.g. dm_mod in /proc/modules, because it can be compiled in. We could use blkid.

I know that dracut was started to eliminate the "host-only" strategy, but as it is a configurable option, we might include it nevertheless for the sake of boot speed and initrd size, if wanted by a poweruser, who knows what he does.

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · Harald Hoyer

Seewer Philippe proposed dracutmodules="hostonly" and to change "$mod/check".

all:
install everything and fail, if we can't

auto:
install everything we can and skip those we cannot

host-only:
install everything we can but only what is needed for the local host

Quoted 7 lines

Also for the host-only case, we shouldn't check for e.g. dm_mod in /proc/modules, because it can be compiled in. We could use blkid.

I know that dracut was started to eliminate the "host-only" strategy, but as it is a configurable option, we might include it nevertheless for the sake of boot speed and initrd size, if wanted by a poweruser, who knows what he does.

ok, implemented "hostonly" in the merge tree of git://git.surfsite.org/pub/git/dracut.git
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html