Harald Hoyer [Fri, 22 Jun 2012 06:59:22 +0000 (08:59 +0200)]
dracut-functions.sh: cp with --reflink=auto and --sparse=auto
cp will use COW data copy most of the time. So, it's even better than
hardlink, because we don't have to care about hardlinks, when modifying
files in post.
Cong Wang [Thu, 21 Jun 2012 03:44:35 +0000 (11:44 +0800)]
network: support vlan tagged bonding
This patch adds support of vlan tagged bonding, for example,
bond0.2. In case of regression, I also tested bond0 and eth0.2,
all work fine.
Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Thomas Lange [Thu, 14 Jun 2012 15:42:34 +0000 (17:42 +0200)]
Debian multiarch support
Hi Jon,
here's the diff which works for me. The quotation marks around $@ do
not work for me. Instead of "$@" I must to use $_dir/$@ (or
"$_dir"/$@) but no quotation marks around $@. Could you please review
my patch.
Harald Hoyer [Tue, 29 May 2012 14:34:58 +0000 (16:34 +0200)]
network/ifup.sh: do not default to dhcp, for interfaces without ip=...
Don't try to be smarter than the admin configuring the machine.
Does also conflict with other methods trying to setup the interfaces,
like cmsifup.sh from the cms module.
Cong Wang [Thu, 31 May 2012 14:07:38 +0000 (22:07 +0800)]
Handle multiple underlying devices of a bridge
A bridge device with only one underlying ethernet device is almost
useless, for sure we want to support a bridge with multiple
underlying devices.
This patch adds the support by extending <ethname> in the original
bridge= cmdline to a comma-separated list of ethernet interfaces.
Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Jesse Keating [Fri, 1 Jun 2012 01:41:25 +0000 (18:41 -0700)]
Don't set an already set attribute (#826357)
Depending on how the dasd_mod module was loaded, our device could have
already been marked as online or offline. We need to make the sysecho
sensitive to this and not fail if the attribute we're trying to set has
already been set.
Will Woods [Tue, 22 May 2012 22:31:07 +0000 (18:31 -0400)]
add anaconda-style option parsing to ip_to_var
Anaconda used arguments of the form:
ip=<ip> gateway=<gw> netmask=<nm>
for static IP configuration. So if we get a value for "ip" that's an IP
address, look for gateway= and netmask= and related args to fill in the
ip config vars.
Cong Wang [Tue, 29 May 2012 09:00:34 +0000 (17:00 +0800)]
Update the documentation of ifname= cmdline
The documentation about ifname= needs to update.
Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:35 +0000 (17:00 +0800)]
Remove rd.neednet cmdline
rd.neednet could be removed, as we can check /tmp/net.ifaces.
After this patch, kdump can bring up the NIC without
rd.neednet.
Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:33 +0000 (17:00 +0800)]
Do not use ifenslave
ifenslave is an old tool, and could be dropped,
we can use the /sys interface.
Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cong Wang [Tue, 29 May 2012 09:00:32 +0000 (17:00 +0800)]
Remove netroot check in cmdline parsing code
Relax the rules for kdump, we don't specify netroot in kdump.
Cc: Harald Hoyer <harald@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>