diff for duplicates of <440C96B0.7040404@pobox.com> diff --git a/a/1.txt b/N1/1.txt index 370a033..55cfbe3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -55,7 +55,7 @@ Douglas Gilbert wrote: > - rbuf[4 + 3] = strlen(inq_83_str); > - memcpy(rbuf + 4 + 4, inq_83_str, strlen(inq_83_str)); > + if (buflen > (ATA_SERNO_LEN + num + 3)) { -> + /* piv=0, assoc=lu, code_set¬SII, designator=vendor */ +> + /* piv=0, assoc=lu, code_set=ACSII, designator=vendor */ > + rbuf[num + 0] = 2; > + rbuf[num + 3] = ATA_SERNO_LEN; > + num += 4; @@ -66,7 +66,7 @@ Douglas Gilbert wrote: > - > + if (buflen > (sat_model_serial_desc_len + num + 3)) { > + /* SAT defined lu model and serial numbers descriptor */ -> + /* piv=0, assoc=lu, code_set¬SII, designator=t10 vendor id */ +> + /* piv=0, assoc=lu, code_set=ACSII, designator=t10 vendor id */ > + rbuf[num + 0] = 2; > + rbuf[num + 1] = 1; > + rbuf[num + 3] = sat_model_serial_desc_len; @@ -91,16 +91,3 @@ At the very least, update the existing code to indicate assoc=port, and then append the other descriptor data you wish to add after that. Jeff - - - - -------------------------------------------------------- -This SF.Net email is sponsored by xPML, a groundbreaking scripting language -that extends applications into web and mobile media. Attend the live webcast -and join the prime developer group breaking into this new coding territory! -http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642 -_______________________________________________ -Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net -Linux-hotplug-devel@lists.sourceforge.net -https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel diff --git a/a/content_digest b/N1/content_digest index 4fdc65e..cb9f491 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,7 +10,7 @@ "ref\043BE6506.7090901@torque.net\0" "From\0Jeff Garzik <jgarzik@pobox.com>\0" "Subject\0Re: [PATCH] /dev/disk/by-id incomplete and unhelpful for SATA drives\0" - "Date\0Mon, 06 Mar 2006 20:08:16 +0000\0" + "Date\0Mon, 06 Mar 2006 15:08:16 -0500\0" "To\0dougg@torque.net\0" "Cc\0patman@aracnet.com" Chris Paulson-Ellis <chris@edesix.com> @@ -77,7 +77,7 @@ "> -\t\trbuf[4 + 3] = strlen(inq_83_str);\n" "> -\t\tmemcpy(rbuf + 4 + 4, inq_83_str, strlen(inq_83_str));\n" "> +\tif (buflen > (ATA_SERNO_LEN + num + 3)) {\n" - "> +\t\t/* piv=0, assoc=lu, code_set\302\254SII, designator=vendor */\n" + "> +\t\t/* piv=0, assoc=lu, code_set=ACSII, designator=vendor */\n" "> +\t\trbuf[num + 0] = 2;\t\n" "> +\t\trbuf[num + 3] = ATA_SERNO_LEN;\n" "> +\t\tnum += 4;\n" @@ -88,7 +88,7 @@ "> -\n" "> +\tif (buflen > (sat_model_serial_desc_len + num + 3)) {\n" "> +\t\t/* SAT defined lu model and serial numbers descriptor */\n" - "> +\t\t/* piv=0, assoc=lu, code_set\302\254SII, designator=t10 vendor id */\n" + "> +\t\t/* piv=0, assoc=lu, code_set=ACSII, designator=t10 vendor id */\n" "> +\t\trbuf[num + 0] = 2;\t\n" "> +\t\trbuf[num + 1] = 1;\t\n" "> +\t\trbuf[num + 3] = sat_model_serial_desc_len;\n" @@ -112,19 +112,6 @@ "At the very least, update the existing code to indicate assoc=port, and \n" "then append the other descriptor data you wish to add after that.\n" "\n" - "\tJeff\n" - "\n" - "\n" - "\n" - "\n" - "-------------------------------------------------------\n" - "This SF.Net email is sponsored by xPML, a groundbreaking scripting language\n" - "that extends applications into web and mobile media. Attend the live webcast\n" - "and join the prime developer group breaking into this new coding territory!\n" - "http://sel.as-us.falkag.net/sel?cmd=lnk&kid\0210944&bid$1720&dat\0221642\n" - "_______________________________________________\n" - "Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net\n" - "Linux-hotplug-devel@lists.sourceforge.net\n" - https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel + "\tJeff" -06c6cd0cda854765101efc741569707bb8029845847acdb322de84ae8c43bc58 +288e231b992b0461c5d4df70e23274bbfc2bd44b0e54219f6c4fed58f5a171c6
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.