[Patch]Patch for nfsroot and auto dhcp.

hugang (linuxbest@soul.com.cn)
Sat, 29 Sep 2001 09:04:07 +0800


This is a multi-part message in MIME format.

--Multipart_Sat__29_Sep_2001_09:04:07_+0800_08450bc8
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hello all

This patch is for 2.4.10 .

--Multipart_Sat__29_Sep_2001_09:04:07_+0800_08450bc8
Content-Type: application/octet-stream;
name="nfsroot.patch"
Content-Disposition: attachment;
filename="nfsroot.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtdXJOIGxpbnV4L2ZzL0NvbmZpZy5pbiBsaW51eC1rZXJuZWwvZnMvQ29uZmlnLmluCi0t
LSBsaW51eC9mcy9Db25maWcuaW4JVHVlIEp1bCAgMyAwNTowMzowNCAyMDAxCisrKyBsaW51eC1r
ZXJuZWwvZnMvQ29uZmlnLmluCUZyaSBTZXAgMjggMTE6MTE6NDAgMjAwMQpAQCAtODAsNyArODAs
OSBAQAogICAgZGVwX3RyaXN0YXRlICdDb2RhIGZpbGUgc3lzdGVtIHN1cHBvcnQgKGFkdmFuY2Vk
IG5ldHdvcmsgZnMpJyBDT05GSUdfQ09EQV9GUyAkQ09ORklHX0lORVQKICAgIGRlcF90cmlzdGF0
ZSAnTkZTIGZpbGUgc3lzdGVtIHN1cHBvcnQnIENPTkZJR19ORlNfRlMgJENPTkZJR19JTkVUCiAg
ICBkZXBfbWJvb2wgJyAgUHJvdmlkZSBORlN2MyBjbGllbnQgc3VwcG9ydCcgQ09ORklHX05GU19W
MyAkQ09ORklHX05GU19GUwotICAgZGVwX2Jvb2wgJyAgUm9vdCBmaWxlIHN5c3RlbSBvbiBORlMn
IENPTkZJR19ST09UX05GUyAkQ09ORklHX05GU19GUyAkQ09ORklHX0lQX1BOUAoraWYgWyAiJENP
TkZJR19JUF9QTlAiICE9ICJuIiBdOyB0aGVuCisgICBkZXBfYm9vbCAnICBSb290IGZpbGUgc3lz
dGVtIG9uIE5GUycgQ09ORklHX1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0aWMgdTggIHJvb3Rfc2VydmVyX3BhdGhbMjU2
XSA9IHsgMCAsIH07CisKIAogLyoKICAqCU5ldHdvcmsgZGV2aWNlcwpAQCAtMTIxMiw3ICsxMjE0
LDcgQEAKIAlyZXR1cm4gMDsKIH0KIAotbW9kdWxlX2luaXQoaXBfYXV0b19jb25maWcpOworLy9t
b2R1bGVfaW5pdChpcF9hdXRvX2NvbmZpZyk7CiAKIAogLyoKQEAgLTEzNDIsMyArMTM0NCwyMSBA
QAogCiBfX3NldHVwKCJpcD0iLCBpcF9hdXRvX2NvbmZpZ19zZXR1cCk7CiBfX3NldHVwKCJuZnNh
ZGRycz0iLCBuZnNhZGRyc19jb25maWdfc2V0dXApOworCisKK2ludCBpbml0X21vZHVsZSh2b2lk
KQoreworI2lmZGVmIE1PRFVMRQorCWljX2VuYWJsZSA9IDE7CisjZW5kaWYKKwlpcF9hdXRvX2Nv
bmZpZygpOworICAgICAgIC8vbmZzYWRkcnNfY29uZmlnX3NldHVwKCJpcD1kaGNwIik7CisJcm9v
dF9zZXJ2ZXJfc2V0KHJvb3Rfc2VydmVyX2FkZHIsIHJvb3Rfc2VydmVyX3BhdGgpOworCXJldHVy
biAwOworfQorCitpbnQgY2xlYW51cF9tb2R1bGUodm9pZCkKK3sKKwkgcHJvY19uZXRfcmVtb3Zl
KCJwbnAiKTsKKwkgcmV0dXJuIDA7Cit9Cg==

--Multipart_Sat__29_Sep_2001_09:04:07_+0800_08450bc8--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/