{"id":99396,"date":"2021-03-09T22:22:41","date_gmt":"2021-03-09T20:22:41","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/adaptacziya-debian-dlya-ispolzovaniya-realizaczii-coreutils-na-yazyke-rust"},"modified":"2021-03-09T22:22:41","modified_gmt":"2021-03-09T20:22:41","slug":"adaptacziya-debian-dlya-ispolzovaniya-realizaczii-coreutils-na-yazyke-rust","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/adaptacziya-debian-dlya-ispolzovaniya-realizaczii-coreutils-na-yazyke-rust","title":{"rendered":"Adaptace Debi\u00e1nu pro pou\u017eit\u00ed implementace coreutils v jazyce Rust","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Sylvestre Ledru, zn\u00e1m\u00fd svou prac\u00ed na sestavov\u00e1n\u00ed Debian GNU\/Linux s pou\u017eit\u00edm kompil\u00e1toru Clang, ozn\u00e1mil \u00fasp\u011b\u0161n\u00e9 proveden\u00ed experimentu se zapojen\u00edm alternativn\u00edho souboru utilit coreutils, p\u0159epsan\u00e9ho v jazyce Rust. Slo\u017een\u00ed coreutils zahrnuje takov\u00e9 utility jako sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln a ls. Pro prvn\u00ed f\u00e1zi integrace v Debianu alternativy coreutils v jazyce Rust byly stanoveny n\u00e1sleduj\u00edc\u00ed c\u00edle:  <\/p>\n<ul>\n<li class=\"l\"> Vytvo\u0159en\u00ed bal\u00ed\u010dku s alternativn\u00ed variantou coreutils v jazyce Rust pro Debian a Ubuntu.\n<li class=\"l\"> St\u00e1hnout Debian s pracovn\u00edm prost\u0159ed\u00edm GNOME, pou\u017e\u00edvaj\u00edc\u00ed rust-coreutils.\n<li class=\"l\"> Instalace 1000 nejpopul\u00e1rn\u011bj\u0161\u00edch bal\u00ed\u010dk\u016f z repozit\u00e1\u0159e.\n<li class=\"l\"> Sestaven\u00ed z p\u016fvodn\u00edch text\u016f Firefox, LLVM\/Clang a j\u00e1dra Linux v prost\u0159ed\u00ed s rust-coreutils.  <\/ul>\n<p>Po vytvo\u0159en\u00ed v\u00edce ne\u017e 100 patch\u016f pro Rust\/coreutils se poda\u0159ilo \u00fasp\u011b\u0161n\u011b realizovat v\u0161echny zam\u00fd\u0161len\u00e9 c\u00edle. V r\u00e1mci pokra\u010duj\u00edc\u00ed pr\u00e1ce je zmi\u0148ov\u00e1na realizace chyb\u011bj\u00edc\u00edch utilit a voleb, zlep\u0161en\u00ed kvality a jednotnosti k\u00f3du, rozvoj testovac\u00ed sady, odstran\u011bn\u00ed chyb, kter\u00e9 vznikaly p\u0159i spu\u0161t\u011bn\u00ed testovac\u00ed sady od GNU Coreutils (dosud \u00fasp\u011b\u0161n\u011b prob\u011bhlo 141 test\u016f z 613).    <\/p>\n<p>P\u0159i vytv\u00e1\u0159en\u00ed bal\u00ed\u010dku rust-coreutils bylo rozhodnuto nenahrazovat bal\u00ed\u010dek coreutils, ale zajistit mo\u017enost jejich paraleln\u00edho fungov\u00e1n\u00ed. Varianty utilit v jazyce Rust jsou instalov\u00e1ny v \/usr\/lib\/cargo\/bin\/ a aktivov\u00e1ny p\u0159id\u00e1n\u00edm tohoto adres\u00e1\u0159e do prom\u011bnn\u00e9 prost\u0159ed\u00ed PATH. Vytv\u00e1\u0159en\u00ed bal\u00ed\u010dku rust-coreutils zt\u011b\u017eovala pot\u0159eba nahr\u00e1t do repozit\u00e1\u0159e v\u0161echny z\u00e1vislosti pro sestaven\u00ed, v\u010detn\u011b Rustu a r\u016fzn\u00fdch drobn\u00fdch crate-bal\u00ed\u010dk\u016f.    <\/p>\n<p>P\u0159i vytv\u00e1\u0159en\u00ed bootovateln\u00e9ho obrazu nevznikly \u017e\u00e1dn\u00e9 zvl\u00e1\u0161tn\u00ed probl\u00e9my, ale adaptace bal\u00ed\u010dk\u016f pro prost\u0159ed\u00ed s rust-coreutils si vy\u017e\u00e1dala zna\u010dn\u00e9 \u00fasil\u00ed, proto\u017ee mnoho post-install skript\u016f vol\u00e1 utility z bal\u00ed\u010dku coreutils. Nejv\u00edce probl\u00e9m\u016f bylo zp\u016fsobeno absenc\u00ed pot\u0159ebn\u00fdch mo\u017enost\u00ed, jako nap\u0159\u00edklad v utilit\u011b \u201ecp\u201c chyb\u011bly volby \u201e--archive\u201c a \u201e--no-dereference\u201c, v \u201eln\u201c nebyla podpora pro volbu \u201e--relative\u201c, u mktemp \u201e-t\u201c, u sync \u201e-fs\u201c, a u install \u201e--owner\u201c a \u201e--group\u201c. Dal\u0161\u00ed probl\u00e9my vznikly z rozd\u00edl\u016f v chov\u00e1n\u00ed, nap\u0159\u00edklad utilita install nepodporovala ur\u010den\u00ed \/dev\/null jako vstupn\u00edho souboru, v mkdir byla m\u00edsto \u201e--parent\u201c p\u0159\u00edtomna volba \u201e--parents\u201c a podobn\u011b.    <\/p>\n<p>P\u0159i testov\u00e1n\u00ed sestaven\u00ed velk\u00fdch k\u00f3dov\u00fdch z\u00e1klad\u016f nevznikly \u017e\u00e1dn\u00e9 v\u011bt\u0161\u00ed probl\u00e9my. P\u0159i sestavov\u00e1n\u00ed Firefoxu a LLVM\/Clang se pou\u017e\u00edvaj\u00ed python skripty a cmake, tak\u017ee v\u00fdm\u011bna coreutils na n\u011b nem\u011bla vliv. Sestaven\u00ed j\u00e1dra Linuxu prob\u011bhlo relativn\u011b hladce, objevily se pouze dva probl\u00e9my: v\u00fdstup chyby p\u0159i pou\u017eit\u00ed chown se symbolick\u00fdm odkazem a absence volby \u201e-n\u201c v utilit\u011b ln.<br \/>\n<br \/>Zdroj: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=54728\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u0438\u043b\u044c\u0432\u0435\u0441\u0442\u0440 \u041b\u0435\u0434\u0440\u044e (Sylvestre Ledru), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u043f\u043e \u0441\u0431\u043e\u0440\u043a\u0435 Debian GNU\/Linux \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 Clang, \u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043f\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0443\u0442\u0438\u043b\u0438\u0442 coreutils, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust. \u0412 \u0441\u043e\u0441\u0442\u0430\u0432 coreutils \u0432\u0445\u043e\u0434\u044f\u0442 \u0442\u0430\u043a\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b, \u043a\u0430\u043a sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln \u0438 ls. \u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u044d\u0442\u0430\u043f\u0430 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-99396","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u0438\u043b\u044c\u0432\u0435\u0441\u0442\u0440 \u041b\u0435\u0434\u0440\u044e (Sylvestre Ledru), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u043f\u043e \u0441\u0431\u043e\u0440\u043a\u0435 Debian GNU\/Linux \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 Clang, \u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043f\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0443\u0442\u0438\u043b\u0438\u0442.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/adaptacziya-debian-dlya-ispolzovaniya-realizaczii-coreutils-na-yazyke-rust\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f Debian \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 coreutils \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u0438\u043b\u044c\u0432\u0435\u0441\u0442\u0440 \u041b\u0435\u0434\u0440\u044e (Sylvestre Ledru), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u043f\u043e \u0441\u0431\u043e\u0440\u043a\u0435 Debian GNU\/Linux \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 Clang, \u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043f\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0443\u0442\u0438\u043b\u0438\u0442.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/adaptacziya-debian-dlya-ispolzovaniya-realizaczii-coreutils-na-yazyke-rust\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-03-09T20:22:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-03-09T20:22:41+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Adaptace Debian pro pou\u017eit\u00ed implementace coreutils v jazyce Rust | ProHoster","description":"Sylvestre Ledru, zn\u00e1m\u00fd svou prac\u00ed na sestavov\u00e1n\u00ed Debian GNU\/Linux s pou\u017eit\u00edm kompil\u00e1toru Clang, ozn\u00e1mil \u00fasp\u011b\u0161n\u00e9 proveden\u00ed experimentu o pou\u017eit\u00ed alternativn\u00edho souboru utilit.","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/adaptacziya-debian-dlya-ispolzovaniya-realizaczii-coreutils-na-yazyke-rust","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f Debian \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 coreutils \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust | ProHoster","og:description":"\u0421\u0438\u043b\u044c\u0432\u0435\u0441\u0442\u0440 \u041b\u0435\u0434\u0440\u044e (Sylvestre Ledru), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u043f\u043e \u0441\u0431\u043e\u0440\u043a\u0435 Debian GNU\/Linux \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 Clang, \u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043f\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0443\u0442\u0438\u043b\u0438\u0442.","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/adaptacziya-debian-dlya-ispolzovaniya-realizaczii-coreutils-na-yazyke-rust","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2021-03-09T20:22:41+00:00","article:modified_time":"2021-03-09T20:22:41+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"99396","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-09 20:30:02","updated":"2022-09-30 04:09:57","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/99396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=99396"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/99396\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=99396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=99396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=99396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}