Re: [RFC PATCH] Move actually mounting the root filesystem into its own series of hooks.

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

 



On Tue, 2009-02-24 at 09:10 +0100, Seewer Philippe wrote:
> Hi Victor
> 
> [snip]
> > Interesting -- I have been working on implementing code to detect and
> > configure network interfaces according to the netboot.txt kernel
> > document. The code I have written so far is browseable at
> > http://git.fnordovax.org/dracut/log/?h=network-configurability
> > (and it even works some of the time), and I would appreciate input from
> > someone who actually uses that functionality on a daily basis.
> Looks good. I'm actually considering replacing our own initrd with this 
> one when we upgrade our netboots to 2.6.29.

awesome!

> Though I see a small problem: Ever thought about what happens if there 
> are multiple interfaces on different networks? Only one is valid to 
> mount the root-fs... Currently I've solved that by upping each interface 
> and then ping-testing the nfs-server... Any better ideas?

My current plan was to try and mount the NFS share forever, and maybe
panic and die if a timeout option was passed as a kernel parameter.

Yes, I have thought about it, and have come to the conclusion that it is
one of those problems that someone who actually uses it is better
equipped to solve.  Writing the code to bring interfaces up and mount
filesystems is generic, writing code to see if servers are responding
depends on the environment -- the best way for me to handle it is to
make it dead simple for site admins to handle it.

> Thanks,
> Philippe
-- 
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019

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