Re: [PATCH] auto setup network without netroot

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


On Mon, 30 Jan 2012 at 06:43 GMT, Dave Young <dyoung@xxxxxxxxxx> wrote:
> Current dracut network only will be setup when netroot is used. But there are
> some cases we need network even without netroot. For example kdump will need
> copy vmcore to remote machine via scp or nfs mount. OTOH, if we use dracut as
> a recovery system the network is helpful even root is not a network device.
>
> This implementation is based on the manually bring up method. Here add a kernel
> cmdline argument rd.neednet. If rd.neednet is set dracut will bring up network
> with ifup $INTERFACE -m. If netroot is used we still keep original behavior.
>

I don't think we really need to introduce a new cmdline, I think we
can re-use ip= cmdline. Currently, if ip= is specified but netroot is
not, ip= will be ignored. We can change this, let dracut bring up
network as long as we have ip=, even we don't have netroot.

--
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


[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux