Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 1 Jan 2002 22:35:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 1 Jan 2002 22:35:12 -0500 Received: from nycsmtp2fb.rdc-nyc.rr.com ([24.29.99.78]:20751 "EHLO si.rr.com") by vger.kernel.org with ESMTP id ; Tue, 1 Jan 2002 22:35:04 -0500 Date: Tue, 1 Jan 2002 22:23:17 -0500 (EST) From: Frank Davis X-X-Sender: To: cc: Subject: [PATCH] 2.5.2-pre6: MKDEV replacements fs dir Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-101348740-1009941797=:1251" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello all, I've attached the neccessary MKDEV replacements for the fs dir. Regards, Frank --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=nfsroot_mkdev Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=nfsroot_mkdev LS0tIGZzL25mcy9uZnNyb290LmMub2xkCUZyaSBKdWwgMjAgMDA6NDc6MTYg MjAwMQ0KKysrIGZzL25mcy9uZnNyb290LmMJVHVlIEphbiAgMSAyMjowODow NiAyMDAyDQpAQCAtMzM0LDcgKzMzNCw3IEBADQogICovDQogaW50IF9faW5p dCBuZnNfcm9vdF9zZXR1cChjaGFyICpsaW5lKQ0KIHsNCi0JUk9PVF9ERVYg PSBNS0RFVihVTk5BTUVEX01BSk9SLCAyNTUpOw0KKwlST09UX0RFViA9IG1r X2tkZXYoVU5OQU1FRF9NQUpPUiwgMjU1KTsNCiAJaWYgKGxpbmVbMF0gPT0g Jy8nIHx8IGxpbmVbMF0gPT0gJywnIHx8IChsaW5lWzBdID49ICcwJyAmJiBs aW5lWzBdIDw9ICc5JykpIHsNCiAJCXN0cm5jcHkobmZzX3Jvb3RfbmFtZSwg bGluZSwgc2l6ZW9mKG5mc19yb290X25hbWUpKTsNCiAJCW5mc19yb290X25h bWVbc2l6ZW9mKG5mc19yb290X25hbWUpLTFdID0gJ1wwJzsNCg== --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=inode_romfs Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=inode_romfs LS0tIGZzL3JvbWZzL2lub2RlLmMub2xkCVR1ZSBKYW4gIDEgMTg6MTY6NTAg MjAwMg0KKysrIGZzL3JvbWZzL2lub2RlLmMJVHVlIEphbiAgMSAyMjoxMDow OSAyMDAyDQpAQCAtNTE4LDcgKzUxOCw3IEBADQogCQlkZWZhdWx0Og0KIAkJ CS8qIGRlcGVuZGluZyBvbiBNQlogZm9yIHNvY2svZmlmb3MgKi8NCiAJCQlu ZXh0ZmggPSBudG9obChyaS5zcGVjKTsNCi0JCQluZXh0ZmggPSBrZGV2X3Rf dG9fbnIoTUtERVYobmV4dGZoPj4xNixuZXh0ZmgmMHhmZmZmKSk7DQorCQkJ bmV4dGZoID0ga2Rldl90X3RvX25yKG1rX2tkZXYobmV4dGZoPj4xNixuZXh0 ZmgmMHhmZmZmKSk7DQogCQkJaW5pdF9zcGVjaWFsX2lub2RlKGksIGlubywg bmV4dGZoKTsNCiAJfQ0KIH0NCg== --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=msdos_part Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=msdos_part LS0tIGZzL3BhcnRpdGlvbnMvbXNkb3MuYy5vbGQJU2F0IE5vdiAxMCAyMzoz NDowMSAyMDAxDQorKysgZnMvcGFydGl0aW9ucy9tc2Rvcy5jCVR1ZSBKYW4g IDEgMjI6MTE6MTggMjAwMg0KQEAgLTE2Niw3ICsxNjYsNyBAQA0KIAkJCWFk ZF9nZF9wYXJ0aXRpb24oaGQsICpjdXJyZW50X21pbm9yLCBuZXh0LCBzaXpl KTsNCiAjaWYgQ09ORklHX0JMS19ERVZfTUQNCiAJCQlpZiAoU1lTX0lORChw KSA9PSBMSU5VWF9SQUlEX1BBUlRJVElPTikgew0KLQkJCSAgICBtZF9hdXRv ZGV0ZWN0X2RldihNS0RFVihoZC0+bWFqb3IsKmN1cnJlbnRfbWlub3IpKTsN CisJCQkgICAgbWRfYXV0b2RldGVjdF9kZXYobWtfa2RldihoZC0+bWFqb3Is KmN1cnJlbnRfbWlub3IpKTsNCiAJCQl9DQogI2VuZGlmDQogDQpAQCAtNTgw LDcgKzU4MCw3IEBADQogCQkJCU5SX1NFQ1RTKHApKnNlY3Rvcl9zaXplKTsN CiAjaWYgQ09ORklHX0JMS19ERVZfTUQNCiAJCWlmIChTWVNfSU5EKHApID09 IExJTlVYX1JBSURfUEFSVElUSU9OKSB7DQotCQkJbWRfYXV0b2RldGVjdF9k ZXYoTUtERVYoaGQtPm1ham9yLG1pbm9yKSk7DQorCQkJbWRfYXV0b2RldGVj dF9kZXYobWtfa2RldihoZC0+bWFqb3IsbWlub3IpKTsNCiAJCX0NCiAjZW5k aWYNCiAJCWlmIChpc19leHRlbmRlZF9wYXJ0aXRpb24ocCkpIHsNCg== --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=util_devfs Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=util_devfs LS0tIGZzL2RldmZzL3V0aWwuYy5vbGQJVHVlIEphbiAgMSAxODoxNjozNyAy MDAyDQorKysgZnMvZGV2ZnMvdXRpbC5jCVR1ZSBKYW4gIDEgMjI6MTM6MTAg MjAwMg0KQEAgLTI2Nyw3ICsyNjcsNyBAQA0KIAlpZiAobWlub3IgPj0gMjU2 KSBjb250aW51ZTsNCiAJX19zZXRfYml0IChtaW5vciwgZW50cnktPmJpdHMp Ow0KIAl1cCAoc2VtYXBob3JlKTsNCi0JcmV0dXJuIE1LREVWIChlbnRyeS0+ bWFqb3IsIG1pbm9yKTsNCisJcmV0dXJuIG1rX2tkZXYgKGVudHJ5LT5tYWpv ciwgbWlub3IpOw0KICAgICB9DQogICAgIC8qICBOZWVkIHRvIGFsbG9jYXRl IGEgbmV3IG1ham9yICAqLw0KICAgICBpZiAoICggZW50cnkgPSBrbWFsbG9j IChzaXplb2YgKmVudHJ5LCBHRlBfS0VSTkVMKSApID09IE5VTEwgKQ0KQEAg LTI4OSw3ICsyODksNyBAQA0KICAgICBlbHNlIGxpc3QtPmxhc3QtPm5leHQg PSBlbnRyeTsNCiAgICAgbGlzdC0+bGFzdCA9IGVudHJ5Ow0KICAgICB1cCAo c2VtYXBob3JlKTsNCi0gICAgcmV0dXJuIE1LREVWIChlbnRyeS0+bWFqb3Is IDApOw0KKyAgICByZXR1cm4gbWtfa2RldiAoZW50cnktPm1ham9yLCAwKTsN CiB9ICAgLyogIEVuZCBGdW5jdGlvbiBkZXZmc19hbGxvY19kZXZudW0gICov DQogRVhQT1JUX1NZTUJPTChkZXZmc19hbGxvY19kZXZudW0pOw0KIA0K --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=base_devfs Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=base_devfs LS0tIGZzL2RldmZzL2Jhc2UuYy5vbGQJVHVlIEphbiAgMSAxODoxNjozNyAy MDAyDQorKysgZnMvZGV2ZnMvYmFzZS5jCVR1ZSBKYW4gIDEgMjI6MTI6NDIg MjAwMg0KQEAgLTg5NCw3ICs4OTQsNyBAQA0KICAgICB7DQogCWRldmZzX2Rl YWxsb2NfZGV2bnVtICggU19JU0NIUiAoZGUtPm1vZGUpID8gREVWRlNfU1BF Q0lBTF9DSFIgOg0KIAkJCSAgICAgICBERVZGU19TUEVDSUFMX0JMSywNCi0J CQkgICAgICAgTUtER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RlLT5tb2RlKSApDQogICAgIHsNCi0JaW5vZGUtPmlf cmRldiA9IE1LREVWIChkZS0+dS5mY2IudS5kZXZpY2UubWFqb3IsDQorCWlu b2RlLT5pX3JkZXYgPSBta19rZGV2IChkZS0+dS5mY2IudS5kZXZpY2UubWFq b3IsDQogCQkJICAgICAgIGRlLT51LmZjYi51LmRldmljZS5taW5vcik7DQog CWlmIChiZF9hY3F1aXJlIChpbm9kZSkgPT0gMCkNCiAJew0K --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=kml_reint_im Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=kml_reint_im LS0tIGZzL2ludGVybWV6em8va21sX3JlaW50LmMub2xkCUZyaSBOb3YgMjMg MDM6NDc6MzMgMjAwMQ0KKysrIGZzL2ludGVybWV6em8va21sX3JlaW50LmMJ VHVlIEphbiAgMSAyMjoxNjo0OCAyMDAyDQpAQCAtMjgxLDcgKzI4MSw3IEBA DQogICAgICAgICBvbGRfZnMgPSBnZXRfZnMoKTsNCiAgICAgICAgIHNldF9m cyAoZ2V0X2RzKCkpOw0KICAgICAgICAgZXJyb3IgPSBsZW50b19ta25vZCAo bWtub2QtPnBhdGgsIG1rbm9kLT5tb2RlLCANCi0gICAgICAgICAgICAgICAg TUtERVYobWtub2QtPm1ham9yLCBta25vZC0+bWlub3IpLCAmaW5mbyk7DQor ICAgICAgICAgICAgICAgIG1rX2tkZXYobWtub2QtPm1ham9yLCBta25vZC0+ bWlub3IpLCAmaW5mbyk7DQogICAgICAgICBzZXRfZnMgKG9sZF9mcyk7DQog ICAgICAgICBrbWxyZWludF9wb3N0X3NlY3VyZSAocmVjKTsNCiAgICAgICAg IEVYSVQ7DQo= --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=psdev_im Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=psdev_im LS0tIGZzL2ludGVybWV6em8vcHNkZXYuYy5vbGQJVHVlIEphbiAgMSAxODox NjozOSAyMDAyDQorKysgZnMvaW50ZXJtZXp6by9wc2Rldi5jCVR1ZSBKYW4g IDEgMjI6MTc6NTkgMjAwMg0KQEAgLTc4LDEyICs3OCwxMiBAQA0KIHsNCiAg ICAgICAgIGludCBtaW5vcjsNCiANCi0gICAgICAgIGlmICggTUFKT1IoZmls ZS0+Zl9kZW50cnktPmRfaW5vZGUtPmlfcmRldikgIT0gUFJFU1RPX1BTREVW X01BSk9SICkgew0KKyAgICAgICAgaWYgKCBtYWpvcihmaWxlLT5mX2RlbnRy eS0+ZF9pbm9kZS0+aV9yZGV2KSAhPSBQUkVTVE9fUFNERVZfTUFKT1IgKSB7 DQogICAgICAgICAgICAgICAgIEVYSVQ7DQogICAgICAgICAgICAgICAgIHJl dHVybiBOVUxMOw0KICAgICAgICAgfQ0KIA0KLSAgICAgICAgbWlub3IgPSBN SU5PUihmaWxlLT5mX2RlbnRyeS0+ZF9pbm9kZS0+aV9yZGV2KTsNCisgICAg ICAgIG1pbm9yID0gbWlub3IoZmlsZS0+Zl9kZW50cnktPmRfaW5vZGUtPmlf cmRldik7DQogICAgICAgICBpZiAoIG1pbm9yIDwgMCB8fCBtaW5vciA+PSBN QVhfUFJFU1RPREVWICkgew0KICAgICAgICAgICAgICAgICBFWElUOw0KICAg ICAgICAgICAgICAgICByZXR1cm4gTlVMTDsNCkBAIC0yOTAsNyArMjkwLDcg QEANCiAgICAgICAgICAgICAgICAgfQ0KIA0KICAgICAgICAgICAgICAgICBs ZW4gPSByZWFkbW91bnQuaW9fbGVuOw0KLSAgICAgICAgICAgICAgICBtaW5v ciA9IE1JTk9SKGRldik7DQorICAgICAgICAgICAgICAgIG1pbm9yID0gbWlu b3IoZGV2KTsNCiAgICAgICAgICAgICAgICAgUFJFU1RPX0FMTE9DKHRtcCwg Y2hhciAqLCBsZW4pOw0KICAgICAgICAgICAgICAgICBpZiAoIXRtcCkgew0K ICAgICAgICAgICAgICAgICAgICAgICAgIEVYSVQ7DQpAQCAtNjI3LDcgKzYy Nyw3IEBADQogICAgICAgICAgICAgICAgICAgICAgICAgRVhJVDsNCiAgICAg ICAgICAgICAgICAgICAgICAgICByZXR1cm4gZXJyb3I7DQogICAgICAgICAg ICAgICAgIH0NCi0gICAgICAgICAgICAgICAgbWlub3IgPSBNSU5PUihkZXYp Ow0KKyAgICAgICAgICAgICAgICBtaW5vciA9IG1pbm9yKGRldik7DQogICAg ICAgICAgICAgICAgIGlmIChjbWQgPT0gUFJFU1RPX1NFVE9QVCkNCiAgICAg ICAgICAgICAgICAgICAgICAgICBlcnJvciA9IGRvc2V0b3B0KG1pbm9yLCAm a29wdCk7DQogDQpAQCAtNzg4LDcgKzc4OCw3IEBADQogICAgICAgICAgICAg ICAgIH0NCiANCiAgICAgICAgICAgICAgICAgZXJyb3IgPSBsZW50b19ta25v ZChpbnB1dC5uYW1lLCBpbnB1dC5tb2RlLA0KLSAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIE1LREVWKGlucHV0Lm1ham9yLGlucHV0Lm1p bm9yKSwmaW5wdXQuaW5mbyk7DQorICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgbWtfa2RldihpbnB1dC5tYWpvcixpbnB1dC5taW5vciks JmlucHV0LmluZm8pOw0KICAgICAgICAgICAgICAgICBFWElUOw0KICAgICAg ICAgICAgICAgICByZXR1cm4gZXJyb3I7DQogICAgICAgICB9DQo= --8323328-101348740-1009941797=:1251 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=readinode_jffs2 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=readinode_jffs2 LS0tIGZzL2pmZnMyL3JlYWRpbm9kZS5jLm9sZAlTdW4gU2VwIDMwIDIwOjM5 OjU0IDIwMDENCisrKyBmcy9qZmZzMi9yZWFkaW5vZGUuYwlUdWUgSmFuICAx IDIyOjE1OjIwIDIwMDINCkBAIC00MzcsNyArNDM3LDcgQEANCiAJY2FzZSBT X0lGU09DSzoNCiAJY2FzZSBTX0lGSUZPOg0KIAkJaW5vZGUtPmlfb3AgPSAm amZmczJfZmlsZV9pbm9kZV9vcGVyYXRpb25zOw0KLQkJaW5pdF9zcGVjaWFs X2lub2RlKGlub2RlLCBpbm9kZS0+aV9tb2RlLCBrZGV2X3RfdG9fbnIoTUtE RVYocmRldj4+OCwgcmRldiYweGZmKSkpOw0KKwkJaW5pdF9zcGVjaWFsX2lu b2RlKGlub2RlLCBpbm9kZS0+aV9tb2RlLCBrZGV2X3RfdG9fbnIobWtfa2Rl dihyZGV2Pj44LCByZGV2JjB4ZmYpKSk7DQogCQlicmVhazsNCiANCiAJZGVm YXVsdDoNCg== --8323328-101348740-1009941797=:1251-- - 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/