Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2017 20:56:41 +0000
From:      "kczekirda (Kamil Czekirda)" <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] D10603: distinguish NFS versus TFTP boot by rootpath
Message-ID:  <differential-rev-PHID-DREV-5a5x55vwicfzvwqkoa5d-req@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

--b1_b6d3edf314a4b1b38271e36bb1a2c5d7
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: base64

a2N6ZWtpcmRhIGNyZWF0ZWQgdGhpcyByZXZpc2lvbi4KClJFVklTSU9OIFNVTU1BUlkKICBEb24n
dCB1c2UgREhDUCAxNTAgb3B0aW9uIHRvIGRlY2lkZSB3aGljaCBwcm90b2NvbCB1c2UgdG8gbmV0
Ym9vdC4gV2hlbiByb290LXBhdGggaW5jbHVkZXMgaXAgYWRkcmVzcyAtIGdvIHRocnUgTkZTLCBp
ZiBpcCBhZGRyZXNzIG5vdCBleGlzdHMgaW4gcm9vdC1wYXRoIC0gZ28gdGhydSBURlRQIGZyb20g
c2VydmVyIHdoaWNoIGlwIGFkZHJlc3MgaXMgaW4gbmV4dC1zZXJ2ZXIuIAogIEJ1dCB0aGVyZSBp
cyBvbmUgbGltaXRhdGlvbiAtIG9ubHkgb25lIHRmdHAgc2VydmVyIGluIG5ldHdvcmsgdG8gcHJv
dmlkZSBsb2FkZXIgYW5kIGV2ZXJ5dGhpbmcgZWxzZS4gCiAgRG9lcyBlbnlib2R5IHVzZSBtb3Jl
IHRoYW4gb25seSBvbmU/CiAgCiAgU3BvbnNvcmVkIGJ5OiBPa3Rhd2F2ZQogIFJlbG5vdGU6IFll
cwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QxMDYwMwoK
QUZGRUNURUQgRklMRVMKICAvdXNyL3NyYy9saWIvbGlic3RhbmQvYm9vdHAuYwogIC91c3Ivc3Jj
L2xpYi9saWJzdGFuZC9ib290cC5oCiAgL3Vzci9zcmMvbGliL2xpYnN0YW5kL2dsb2JhbHMuYwog
IC91c3Ivc3JjL2xpYi9saWJzdGFuZC9uZXQuaAogIC91c3Ivc3JjL3N5cy9ib290L2NvbW1vbi9k
ZXZfbmV0LmMKICAvdXNyL3NyYy9zeXMvYm9vdC9pMzg2L2xpYmkzODYvcHhlLmMKCkVNQUlMIFBS
RUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2Vt
YWlscHJlZmVyZW5jZXMvCgpUbzoga2N6ZWtpcmRhLCBvc2hvZ2JvLCB0c29vbWUsIGJhcHQsIHNi
cnVubywgZnJlZWJzZC1uZXQtbGlzdCwgI25ldHdvcmsK

--b1_b6d3edf314a4b1b38271e36bb1a2c5d7
Content-Type: text/x-patch; charset=utf-8; name="D10603.28038.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D10603.28038.patch"

ZGlmZiAtLWdpdCBhLy91c3Ivc3JjL3N5cy9ib290L2NvbW1vbi9kZXZfbmV0LmMgYi8vdXNyL3Ny
Yy9zeXMvYm9vdC9jb21tb24vZGV2X25ldC5jCi0tLSBhLy91c3Ivc3JjL3N5cy9ib290L2NvbW1v
bi9kZXZfbmV0LmMKKysrIGIvL3Vzci9zcmMvc3lzL2Jvb3QvY29tbW9uL2Rldl9uZXQuYwpAQCAt
MzEyLDggKzMxMiwxMSBAQAogCQlyZXR1cm4gKEVJTyk7CiAJfQogZXhpdDoKLQlpZiAoKHJvb3Rh
ZGRyID0gbmV0X3BhcnNlX3Jvb3RwYXRoKCkpICE9IElOQUREUl9OT05FKQorCW5ldHByb3RvID0g
TkVUX1RGVFA7CisJaWYgKChyb290YWRkciA9IG5ldF9wYXJzZV9yb290cGF0aCgpKSAhPSBJTkFE
RFJfTk9ORSkgeworCQluZXRwcm90byA9IE5FVF9ORlM7CiAJCXJvb3RpcC5zX2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0aFswXSkKKwkJCWlmICghcm9vdHBhdGhbMF0pCiAJCQkJc3RyY3B5KHJvb3Rw
YXRoLCBQWEVORlNST09UUEFUSCk7CiAKIAkJCWZvciAoaSA9IDA7IHJvb3RwYXRoW2ldICE9ICdc
MCcgJiYgaSA8IEZOQU1FX1NJWkU7IGkrKykKIAkJCQlpZiAocm9vdHBhdGhbaV0gPT0gJzonKQog
CQkJCQlicmVhazsKIAkJCWlmIChpICYmIGkgIT0gRk5BTUVfU0laRSAmJiByb290cGF0aFtpXSA9
PSAnOicpIHsKIAkJCQlyb290cGF0aFtpKytdID0gJ1wwJzsKLQkJCQlpZiAoaW5ldF9hZGRyKCZy
b290cGF0aFswXSkgIT0gSU5BRERSX05PTkUpCisJCQkJaWYgKGluZXRfYWRkcigmcm9vdHBhdGhb
MF0pICE9IElOQUREUl9OT05FKSB7CisJCQkJCW5ldHByb3RvID0gTkVUX05GUzsKIAkJCQkJcm9v
dGlwLnNfYWRkciA9IGluZXRfYWRkcigmcm9vdHBhdGhbMF0pOworCQkJCX0KIAkJCQliY29weSgm
cm9vdHBhdGhbaV0sICZ0ZW1wWzBdLCBzdHJsZW4oJnJvb3RwYXRoW2ldKSArIDEpOwogCQkJCWJj
b3B5KCZ0ZW1wWzBdLCAmcm9vdHBhdGhbMF0sIHN0cmxlbigmcm9vdHBhdGhbaV0pICsgMSk7CiAJ
CQl9Cgo=


--b1_b6d3edf314a4b1b38271e36bb1a2c5d7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?differential-rev-PHID-DREV-5a5x55vwicfzvwqkoa5d-req>