{"id":280012,"date":"2021-01-11T21:38:36","date_gmt":"2021-01-11T13:38:36","guid":{"rendered":"http:\/\/4563.org\/?p=280012"},"modified":"2021-01-11T21:38:36","modified_gmt":"2021-01-11T13:38:36","slug":"linux-%e7%b3%bb%e7%bb%9f%e5%a6%82%e4%bd%95%e8%8e%b7%e5%8f%96-%e5%83%8f-windows-%e7%b3%bb%e7%bb%9f%e4%b8%8b%e6%89%80%e8%b0%93%e7%9a%84%e6%9c%ba%e5%99%a8%e7%a0%81%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=280012","title":{"rendered":"Linux \u7cfb\u7edf\u5982\u4f55\u83b7\u53d6 \u50cf Windows \u7cfb\u7edf\u4e0b\u6240\u8c13\u7684\u673a\u5668\u7801\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Linux \u7cfb\u7edf\u5982\u4f55\u83b7\u53d6 \u50cf Windows \u7cfb\u7edf\u4e0b\u6240\u8c13\u7684\u673a\u5668\u7801\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AmrtaShiva <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5982\u9898 \u77e5\u9053\u4e2a dmidecode |grep -i uuid \u7136\u800c\u8fd9\u6ca1\u6cd5\u5199\u5230\u4ee3\u7801\u91cc\u9762&#8230;.\u800c\u4e14\u8fd8\u9700\u8981 root \u6743\u9650&#8230;.<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4938440\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             (\u73b0\u5728\u6d41\u884c\u8bfb mac \u5730\u5740\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938441\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : AmrtaShiva <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @codehz &#8230;.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938442\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zlowly <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bfb\u53d6 \/sys\/class\/dmi\/id\/product_uuid\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u7528\u4e3b\u677f\u5e8f\u5217\u53f7 \/sys\/class\/dmi\/id\/board_serial\uff0c\u4e0d\u8fc7\u90fd\u662f\u9700\u8981 root \u6743\u9650\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938443\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3 Windows \u4e0b\u662f\u5982\u4f55\u5b9e\u73b0\u7684\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938444\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : AmrtaShiva <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zlowly \u5c31\u662f\u4e0d\u60f3\u7528 root \u6743\u9650\u8bfb\u53d6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938445\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : AmrtaShiva <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ysc3839 \u563f\u563f \u7f51\u4e0a\u4e00\u6293\u4e00\u5927\u628a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938446\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : omph <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \/etc\/machine-id<br \/>\u9700\u8981 systemd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938447\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zlowly <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u611f\u89c9\u4e0d\u5927\u53ef\u884c\uff0cls -al \/sys\/class\/dmi\/id\/\u53ef\u4ee5\u770b\u5230 product_uuid\uff0cboard_serial\uff0cproduct_serial,chassis_serial \u8fd9\u51e0\u4e2a\u662f\u7279\u610f\u8bbe\u7f6e\u6210\u53ea\u6709 root \u53ef\u8bfb\u7684\uff0c\u5e94\u8be5\u662f Linux \u7684\u5b89\u5168\u7279\u6027\u3002<br \/>\u8981\u7ed5\u8fc7\u5b83\u9664\u975e\u8c61 lshal \u90a3\u79cd\u65b9\u5f0f\uff0c\u53e6\u5916\u5b89\u88c5\u4ee5 root \u6743\u9650\u8dd1\u7684 hald \u670d\u52a1\u6765\u6536\u96c6\u7cfb\u7edf\u4fe1\u606f\uff0c\u8fd9\u6837\u624d\u80fd\u7528\u666e\u901a\u7528\u6237\u8bfb\u53d6\u8fd9\u4e9b\u6536\u96c6\u540e\u7684\u4fe1\u606f\u3002<br \/>\u7528 \/etc\/machine-id \u7684\u8bdd\uff0c\u6709\u4e2a\u95ee\u9898\u5c31\u662f\u8fd9\u4e2a\u53ea\u662f\u5728\u7cfb\u7edf\u5b89\u88c5\u540e\u4e00\u6b21\u6027\u751f\u6210\u7684\uff0c\u5bf9\u4e8e\u8c61\u5728\u4e91\u5e73\u53f0\u57fa\u4e8e\u6a21\u677f\u514b\u9686\u7684\u7cfb\u7edf\u5f88\u53ef\u80fd\u4f1a\u672a\u505a\u5904\u7406\u51fa\u73b0\u91cd\u590d\uff0c\u8fd8\u771f\u4e0d\u5982 MAC \u6bd4\u8f83\u597d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938448\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @AmrtaShiva \u968f\u624b\u641c\u5230\u4e86\u4e00\u7bc7\u6587\u7ae0 https:\/\/blog.csdn.net\/qq_29542611\/article\/details\/88321102<br \/>\u6309\u7167\u8fd9\u91cc\u9762\u7684\u65b9\u6cd5\uff1a<br \/>1. \u731c\u6d4b\u5bf9\u5e94\u7684\u662f \/sys\/class\/dmi\/id\/product_uuid<br \/>2. \u5e2e\u4f60\u627e\u5230\u4e86\u8fd9\u4e2a property \u7684 description:<br \/>The ProcessorId property contains processor-specific information that describes the processor&#8217;s features. For x86 class CPUs, the field&#8217;s format depends on the processor&#8217;s support of the CPUID instruction. If the instruction is supported, the ProcessorId property contains two DWORD-formatted values. The first (offsets 08h-0Bh) is the EAX value returned by a CPUID instruction with input EAX set to 1. The second (offsets 0Ch-0Fh) is the EDX value returned by that instruction. Only the first two bytes of the ProcessorID property are significant (all others are set to 0) and contain (in WORD-format) the contents of the DX register at CPU reset.<br \/>3. \u731c\u6d4b\u5bf9\u5e94\u7684\u662f \/sys\/class\/dmi\/id\/board_serial<br \/>4. https:\/\/unix.stackexchange.com\/questions\/121757\/harddisk-serial-number-from-terminal https:\/\/unix.stackexchange.com\/questions\/364456\/getting-hard-disk-drive-serial-number-at-the-terminal-not-the-wwn \u53c2\u8003\u5bf9\u5e94\u5de5\u5177\u7684\u6e90\u4ee3\u7801<br \/>5. \u53c2\u8003 iproute2 \u7684\u6e90\u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4938449\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : AmrtaShiva <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ysc3839 \u597d\u7684 \u8c22\u8c22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u7cfb\u7edf\u5982\u4f55\u83b7\u53d6 \u50cf Wi&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/280012"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=280012"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/280012\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=280012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=280012"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=280012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}