<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; linux</title> <atom:link href="https://bogdan.org.ua/tags/linux/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>Slow memory allocation due to Transparent Huge Pages (THP)</title><link>https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html</link> <comments>https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html#comments</comments> <pubDate>Mon, 06 Aug 2018 19:49:00 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[fragmentation]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[RAM]]></category> <category><![CDATA[THP]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=2535</guid> <description><![CDATA[Your software needs tons of RAM, and runs a bit too slow on your super-duper HPC cluster? Read this: Slow memory allocation due to Transparent Huge Pages (THP)]]></description> <content:encoded><![CDATA[<p>Your software needs tons of RAM, and runs a bit too slow on your super-duper HPC cluster? Read this: <a
href="http://itscalledbioinformatics.blogspot.com/2018/07/slow-memory-allocation-due-to.html">Slow memory allocation due to Transparent Huge Pages (THP)</a></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&amp;linkname=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2018%2F08%2F06%2Fslow-memory-allocation-due-to-transparent-huge-pages-thp.html&#038;title=Slow%20memory%20allocation%20due%20to%20Transparent%20Huge%20Pages%20%28THP%29" data-a2a-url="https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html" data-a2a-title="Slow memory allocation due to Transparent Huge Pages (THP)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2018/08/06/slow-memory-allocation-due-to-transparent-huge-pages-thp.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Hands-on examination of Linux disk caching effects</title><link>https://bogdan.org.ua/2013/07/08/hands-on-examination-of-linux-disk-caching-effects.html</link> <comments>https://bogdan.org.ua/2013/07/08/hands-on-examination-of-linux-disk-caching-effects.html#comments</comments> <pubDate>Mon, 08 Jul 2013 13:44:18 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[caching]]></category> <category><![CDATA[dirty_background_ratio]]></category> <category><![CDATA[dirty_ratio]]></category> <category><![CDATA[disk]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[meminfo]]></category> <category><![CDATA[pdflush]]></category> <category><![CDATA[vmstat]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1918</guid> <description><![CDATA[LinuxAteMyRAM (also as a PDF: Linux disk caching effects) To examine the behavior of your Linux box disk caching under specific loads, see Linux write cache mystery (PDF). To understand what is going on, see also The Linux Page Cache and pdflush (PDF) by the same author, Gregory Smith. Another useful resource is OpenSUSE&#8217;s Tuning [&#8230;]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.linuxatemyram.com/play.html">LinuxAteMyRAM</a> <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> (also as a PDF: <a
href="http://bogdan.org.ua/wp-content/uploads/2013/07/linux-disk-cache.pdf">Linux disk caching effects</a>)</p><p>To <em>examine</em> the behavior of your Linux box disk caching under specific loads, see <a
href="http://notemagnet.blogspot.de/2008/08/linux-write-cache-mystery.html">Linux write cache mystery</a> (<a
href="http://bogdan.org.ua/wp-content/uploads/2013/07/A-Linux-write-cache-mystery.pdf">PDF</a>).</p><p>To <em>understand</em> what is going on, see also <a
href="http://www.westnet.com/~gsmith/content/linux-pdflush.htm" class="broken_link" rel="nofollow">The Linux Page Cache and pdflush</a> (<a
href="http://bogdan.org.ua/wp-content/uploads/2013/07/The-Linux-Page-Cache-and-pdflush.pdf">PDF</a>) by the same author, Gregory Smith.</p><p>Another useful resource is OpenSUSE&#8217;s <a
href="http://doc.opensuse.org/documentation/html/openSUSE/opensuse-tuning/cha.tuning.memory.html">Tuning the Memory Management Subsystem</a>, which nicely explains some of the kernel cache/memory-related configuration options.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F07%2F08%2Fhands-on-examination-of-linux-disk-caching-effects.html&amp;linkname=Hands-on%20examination%20of%20Linux%20disk%20caching%20effects" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F07%2F08%2Fhands-on-examination-of-linux-disk-caching-effects.html&amp;linkname=Hands-on%20examination%20of%20Linux%20disk%20caching%20effects" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F07%2F08%2Fhands-on-examination-of-linux-disk-caching-effects.html&amp;linkname=Hands-on%20examination%20of%20Linux%20disk%20caching%20effects" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F07%2F08%2Fhands-on-examination-of-linux-disk-caching-effects.html&amp;linkname=Hands-on%20examination%20of%20Linux%20disk%20caching%20effects" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F07%2F08%2Fhands-on-examination-of-linux-disk-caching-effects.html&amp;linkname=Hands-on%20examination%20of%20Linux%20disk%20caching%20effects" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2013%2F07%2F08%2Fhands-on-examination-of-linux-disk-caching-effects.html&#038;title=Hands-on%20examination%20of%20Linux%20disk%20caching%20effects" data-a2a-url="https://bogdan.org.ua/2013/07/08/hands-on-examination-of-linux-disk-caching-effects.html" data-a2a-title="Hands-on examination of Linux disk caching effects"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2013/07/08/hands-on-examination-of-linux-disk-caching-effects.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to relay outgoing postfix emails via another mail server (e.g. your ISP)</title><link>https://bogdan.org.ua/2010/12/04/how-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html</link> <comments>https://bogdan.org.ua/2010/12/04/how-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html#comments</comments> <pubDate>Sat, 04 Dec 2010 18:01:37 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[postfix]]></category> <category><![CDATA[relay]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1218</guid> <description><![CDATA[Here&#8217;s a simple and clear guide for gmail, which also definitely works with other relay hosts. I&#8217;ve used it to configure my ISP&#8217;s mail relay (they block outgoing port 25) on a Debian Squeeze laptop.]]></description> <content:encoded><![CDATA[<p>Here&#8217;s a <a
href="http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/">simple and clear guide for gmail</a>, which also definitely works with other relay hosts. I&#8217;ve used it to configure my ISP&#8217;s mail relay (they block outgoing port 25) on a Debian Squeeze laptop.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F12%2F04%2Fhow-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html&amp;linkname=How%20to%20relay%20outgoing%20postfix%20emails%20via%20another%20mail%20server%20%28e.g.%20your%20ISP%29" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F12%2F04%2Fhow-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html&amp;linkname=How%20to%20relay%20outgoing%20postfix%20emails%20via%20another%20mail%20server%20%28e.g.%20your%20ISP%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F12%2F04%2Fhow-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html&amp;linkname=How%20to%20relay%20outgoing%20postfix%20emails%20via%20another%20mail%20server%20%28e.g.%20your%20ISP%29" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F12%2F04%2Fhow-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html&amp;linkname=How%20to%20relay%20outgoing%20postfix%20emails%20via%20another%20mail%20server%20%28e.g.%20your%20ISP%29" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F12%2F04%2Fhow-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html&amp;linkname=How%20to%20relay%20outgoing%20postfix%20emails%20via%20another%20mail%20server%20%28e.g.%20your%20ISP%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F12%2F04%2Fhow-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html&#038;title=How%20to%20relay%20outgoing%20postfix%20emails%20via%20another%20mail%20server%20%28e.g.%20your%20ISP%29" data-a2a-url="https://bogdan.org.ua/2010/12/04/how-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html" data-a2a-title="How to relay outgoing postfix emails via another mail server (e.g. your ISP)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/12/04/how-to-relay-outgoing-postfix-emails-via-another-mail-server-isp-gmail.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to replace newlines with commas, tabs etc (merge lines)</title><link>https://bogdan.org.ua/2010/11/16/how-to-replace-newlines-with-commas-tabs-etc-merge-lines.html</link> <comments>https://bogdan.org.ua/2010/11/16/how-to-replace-newlines-with-commas-tabs-etc-merge-lines.html#comments</comments> <pubDate>Tue, 16 Nov 2010 08:20:45 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Bioinformatics]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[awk]]></category> <category><![CDATA[grep]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[paste]]></category> <category><![CDATA[sed]]></category> <category><![CDATA[sort]]></category> <category><![CDATA[tr]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1208</guid> <description><![CDATA[Imagine you need to get a few lines from a group of files with missing identifier mappings. I have a bunch of files with content similar to this one: ENSRNOG00000018677 1368832_at 25233 ENSRNOG00000002079 1369102_at 25272 ENSRNOG00000043451 25353 ENSRNOG00000001527 1388013_at 25408 ENSRNOG00000007390 1389538_at 25493 In the example above I need &#8217;25353&#8242;, which does not have corresponding [&#8230;]]]></description> <content:encoded><![CDATA[<p>Imagine you need to get a few lines from a group of files with missing identifier mappings. I have a bunch of files with content similar to this one:</p><blockquote><p> ENSRNOG00000018677      1368832_at      25233<br
/> ENSRNOG00000002079      1369102_at      25272<br
/> ENSRNOG00000043451                            25353<br
/> ENSRNOG00000001527      1388013_at      25408<br
/> ENSRNOG00000007390      1389538_at      25493</p></blockquote><p>In the example above I need &#8217;25353&#8242;, which does not have corresponding affy_probeset_id in the 2nd column.</p><p>It is clear how to do that:</p><div
id="ig-sh-1" class="syntax_hilite"><div
class="code"><ol
class="code" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">sort -u *_affy_ensembl.txt | grep -v '_at' | awk '{print $2}'</div></li></ol></div></div><p>This outputs a column of required IDs (EntrezGene in this example):</p><blockquote><p> 116720<br
/> 679845<br
/> 309295<br
/> 364867<br
/> 298220<br
/> 298221<br
/> 25353</p></blockquote><p>However, I need these IDs as a comma-separated list, not as newline-separated list.</p><p>There are several ways to achieve the desired result (only the last pipe commands differ):</p><div
id="ig-sh-2" class="syntax_hilite"><div
class="code"><ol
class="code" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">sort -u *_affy_ensembl.txt | grep -v '_at' | awk '{print $2}' | gawk '$1=$1' ORS=', '</div></li></ol></div></div><div
id="ig-sh-3" class="syntax_hilite"><div
class="code"><ol
class="code" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">sort -u *_affy_ensembl.txt | grep -v '_at' | awk '{print $2}' | tr '\n' ','</div></li></ol></div></div><div
id="ig-sh-4" class="syntax_hilite"><div
class="code"><ol
class="code" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">sort -u *_affy_ensembl.txt | grep -v '_at' | awk '{print $2}' | sed ':a;N;$!ba;s/\n/, /g'</div></li></ol></div></div><div
id="ig-sh-5" class="syntax_hilite"><div
class="code"><ol
class="code" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">sort -u *_affy_ensembl.txt | grep -v '_at' | awk '{print $2}' | sed ':q;N;s/\n/, /g;t q'</div></li></ol></div></div><div
id="ig-sh-6" class="syntax_hilite"><div
class="code"><ol
class="code" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">sort -u *_affy_ensembl.txt | grep -v '_at' | awk '{print $2}' | paste -s -d &quot;,&quot;</div></li></ol></div></div><p>These solutions differ in efficiency and (slightly) in output. <strong>sed</strong> will read all the input into its buffer to replace newlines with other separators, so it might not be best for large files. <strong>tr</strong> might be the most efficient, but I haven&#8217;t tested that. <strong>paste</strong> will re-use delimiters, so you cannot really get comma-space &#8220;, &#8221; separation with it.</p><p>Sources: <a
href="http://www.linuxquestions.org/questions/programming-9/sed-how-do-you-replace-end-of-line-with-a-space-637013/" class="broken_link" rel="nofollow">linuxquestions 1 (explains used sed commands)</a>, <a
href="http://www.linuxquestions.org/questions/programming-9/merge-lines-in-a-file-using-sed-191121/" class="broken_link" rel="nofollow">linuxquestions 2</a>, <a
href="http://www.cyberciti.biz/faq/linux-unix-sed-replace-newline/">nixcraft</a>.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F16%2Fhow-to-replace-newlines-with-commas-tabs-etc-merge-lines.html&amp;linkname=How%20to%20replace%20newlines%20with%20commas%2C%20tabs%20etc%20%28merge%20lines%29" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F16%2Fhow-to-replace-newlines-with-commas-tabs-etc-merge-lines.html&amp;linkname=How%20to%20replace%20newlines%20with%20commas%2C%20tabs%20etc%20%28merge%20lines%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F16%2Fhow-to-replace-newlines-with-commas-tabs-etc-merge-lines.html&amp;linkname=How%20to%20replace%20newlines%20with%20commas%2C%20tabs%20etc%20%28merge%20lines%29" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F16%2Fhow-to-replace-newlines-with-commas-tabs-etc-merge-lines.html&amp;linkname=How%20to%20replace%20newlines%20with%20commas%2C%20tabs%20etc%20%28merge%20lines%29" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F16%2Fhow-to-replace-newlines-with-commas-tabs-etc-merge-lines.html&amp;linkname=How%20to%20replace%20newlines%20with%20commas%2C%20tabs%20etc%20%28merge%20lines%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F16%2Fhow-to-replace-newlines-with-commas-tabs-etc-merge-lines.html&#038;title=How%20to%20replace%20newlines%20with%20commas%2C%20tabs%20etc%20%28merge%20lines%29" data-a2a-url="https://bogdan.org.ua/2010/11/16/how-to-replace-newlines-with-commas-tabs-etc-merge-lines.html" data-a2a-title="How to replace newlines with commas, tabs etc (merge lines)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/11/16/how-to-replace-newlines-with-commas-tabs-etc-merge-lines.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to record Skype calls on Linux: use free Skype Call Recorder</title><link>https://bogdan.org.ua/2010/11/11/how-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html</link> <comments>https://bogdan.org.ua/2010/11/11/how-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html#comments</comments> <pubDate>Thu, 11 Nov 2010 13:06:53 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[skype]]></category> <category><![CDATA[skype call recorder]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1205</guid> <description><![CDATA[Just came across Skype Call Recorder &#8211; an awesome in its functionality+simplicity tool to record skype calls. Highly recommended! It worked immediately for me, and default settings are good enough not to bother tweaking. Well, I know that because I did tweak a few to get more nerdiness, but normal people don&#8217;t need that. SCR [&#8230;]]]></description> <content:encoded><![CDATA[<p>Just came across <a
href="http://atdot.ch/scr/">Skype Call Recorder</a> &#8211; an awesome in its functionality+simplicity tool to record skype calls. Highly recommended!</p><p>It worked immediately for me, and default settings are good enough not to bother tweaking. Well, I know that because I did tweak a few to get more nerdiness, but normal people don&#8217;t need that.</p><p><a
href="http://atdot.ch/scr/download/">SCR download page</a> has packages for Ubuntu, Debian/i386, Xandros, RPM-based distributions, Gentoo &#8211; and as its free, you can of course just use the <del
datetime="2010-11-11T12:48:13+00:00">f</del>source<del
datetime="2010-11-11T12:48:13+00:00">, Luke</del>!</p><p>At the time of writing, a package for Debian/amd64 was not available, but it is really easy to build one.<br
/> Here&#8217;s mine: <a
href="http://bogdan.org.ua/wp-content/uploads/2010/11/skype-call-recorder-debian_0.8_amd64.deb">skype-call-recorder-debian_0.8_amd64.deb</a></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F11%2Fhow-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html&amp;linkname=How%20to%20record%20Skype%20calls%20on%20Linux%3A%20use%20free%20Skype%20Call%20Recorder" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F11%2Fhow-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html&amp;linkname=How%20to%20record%20Skype%20calls%20on%20Linux%3A%20use%20free%20Skype%20Call%20Recorder" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F11%2Fhow-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html&amp;linkname=How%20to%20record%20Skype%20calls%20on%20Linux%3A%20use%20free%20Skype%20Call%20Recorder" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F11%2Fhow-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html&amp;linkname=How%20to%20record%20Skype%20calls%20on%20Linux%3A%20use%20free%20Skype%20Call%20Recorder" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F11%2Fhow-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html&amp;linkname=How%20to%20record%20Skype%20calls%20on%20Linux%3A%20use%20free%20Skype%20Call%20Recorder" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F11%2F11%2Fhow-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html&#038;title=How%20to%20record%20Skype%20calls%20on%20Linux%3A%20use%20free%20Skype%20Call%20Recorder" data-a2a-url="https://bogdan.org.ua/2010/11/11/how-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html" data-a2a-title="How to record Skype calls on Linux: use free Skype Call Recorder"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/11/11/how-to-record-skype-calls-on-linux-use-free-skype-call-recorder.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Installing DeadBeef music player on Debian</title><link>https://bogdan.org.ua/2010/10/16/installing-deadbeef-music-player-on-debian.html</link> <comments>https://bogdan.org.ua/2010/10/16/installing-deadbeef-music-player-on-debian.html#comments</comments> <pubDate>Sat, 16 Oct 2010 12:59:55 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[deadbeef]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[music]]></category> <category><![CDATA[player]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1148</guid> <description><![CDATA[In my previous post on CUE sheet support in Linux music players I mentioned DeaDBeeF. Unfortunately, DeaDBeeF is not yet available as a Debian package. Fortunately, Alexey Smirnov (the author of DeaDBeeF) maintains a github repository deadbeef-debian which has simple instructions on installing DeaDBeeF in Debian (citing with minor edits): 1) download deadbeef from sourceforge [&#8230;]]]></description> <content:encoded><![CDATA[<p>In my previous post on <a
href="http://bogdan.org.ua/2010/04/30/the-list-of-linux-music-players-with-cue-sheet-support.html">CUE sheet support in Linux music players</a> I mentioned <a
href="http://deadbeef.sourceforge.net/about.html">DeaDBeeF</a>. Unfortunately, DeaDBeeF is not yet available as a Debian package.</p><p>Fortunately, <a
href="http://github.com/asv">Alexey Smirnov</a> (the author of DeaDBeeF) maintains a github repository <a
href="http://github.com/asv/deadbeef-debian">deadbeef-debian</a> which has simple instructions on installing DeaDBeeF in Debian (citing with minor edits):<span
id="more-1148"></span></p><blockquote><p> 1) <a
href="http://deadbeef.sourceforge.net/download.html">download deadbeef</a> from sourceforge (<a
href="http://sourceforge.net/projects/deadbeef/files/deadbeef-0.4.2.tar.bz2/download">0.4.2</a> as of the moment of writing)<br
/> 2) tar xvf deadbeef-X.Y.Z.tar.bz2<br
/> 3) $ cd deadbeef-X.Y.Z/<br
/> 4) $ git clone git://github.com/asv/deadbeef-debian.git debian<br
/> 5) $ dpkg-buildpackage -rfakeroot -us -uc -i -I&#8221;.git&#8221;<br
/> 6) (install any dependencies reported by <strong>dpkg-checkbuilddeps</strong>, wait for the build to finish)<br
/> 7) $ sudo dpkg -i ../deadbeef_X.Y.Z-R_yourarch.deb<br
/> 8) Enjoy DeaDBeeF!</p></blockquote><p><strong>Hint</strong>: dpkg-buildpackage accepts -j<strong>NumJobs</strong> option for multi-core/multi-CPU systems.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F16%2Finstalling-deadbeef-music-player-on-debian.html&amp;linkname=Installing%20DeadBeef%20music%20player%20on%20Debian" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F16%2Finstalling-deadbeef-music-player-on-debian.html&amp;linkname=Installing%20DeadBeef%20music%20player%20on%20Debian" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F16%2Finstalling-deadbeef-music-player-on-debian.html&amp;linkname=Installing%20DeadBeef%20music%20player%20on%20Debian" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F16%2Finstalling-deadbeef-music-player-on-debian.html&amp;linkname=Installing%20DeadBeef%20music%20player%20on%20Debian" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F16%2Finstalling-deadbeef-music-player-on-debian.html&amp;linkname=Installing%20DeadBeef%20music%20player%20on%20Debian" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F16%2Finstalling-deadbeef-music-player-on-debian.html&#038;title=Installing%20DeadBeef%20music%20player%20on%20Debian" data-a2a-url="https://bogdan.org.ua/2010/10/16/installing-deadbeef-music-player-on-debian.html" data-a2a-title="Installing DeadBeef music player on Debian"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/10/16/installing-deadbeef-music-player-on-debian.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Linux server remote backup options</title><link>https://bogdan.org.ua/2010/10/03/linux-server-remote-backup-options.html</link> <comments>https://bogdan.org.ua/2010/10/03/linux-server-remote-backup-options.html#comments</comments> <pubDate>Sun, 03 Oct 2010 19:40:37 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[dirvish]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[remote]]></category> <category><![CDATA[server]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1111</guid> <description><![CDATA[Recently I finally managed to configure remote (aka off-site) backup for my Debian server. As always, I started with a comparison of existing solutions. Debian has a number of packages enabling remote (over the network) backup: backupPC, backupninja, backup-manager, dirvish, duplicity, luckybackup, rdiff-backup, and some others. In my setup I wanted backups to be initiated [&#8230;]]]></description> <content:encoded><![CDATA[<p>Recently I finally managed to configure remote (aka <em>off-site</em>) backup for my Debian server. As always, I started with a comparison of existing solutions.</p><p>Debian has a number of packages enabling remote (over the network) backup: <a
href="http://packages.debian.org/en/lenny/backuppc">backupPC</a>, <a
href="http://packages.debian.org/en/lenny/backupninja">backupninja</a>, <a
href="http://packages.debian.org/en/lenny/backup-manager">backup-manager</a>, <a
href="http://packages.debian.org/en/squeeze/dirvish">dirvish</a>, <a
href="http://packages.debian.org/en/lenny/duplicity">duplicity</a>, <a
href="http://packages.debian.org/en/squeeze/luckybackup">luckybackup</a>, <a
href="http://packages.debian.org/lenny/rdiff-backup">rdiff-backup</a>, and some others.</p><p><span
id="more-1111"></span>In my setup I wanted backups to be initiated by the external backup server (as opposed to <em>internal</em>, production server initiated backup). Also, I was going to backup linux server to another linux box. Thus, it would be preferable to have support for rsync on both boxes and hardlinks on the backup box. I needed backup to be run regularly, I didn&#8217;t need any kind of GUI, and I would prefer to keep a bunch of older backups around (in case the most recent backup is of a compromised system, for example). Also, having an incremental backup of SQL databases was yet another requirement.</p><p>A few tools more or less matched my requirements: backupPC, duplicity, rdiff-backup, and dirvish.</p><p><a
href="http://backuppc.sourceforge.net/">backupPC</a>, judging from its description and a few tutorial articles, is a cool piece of software. I think I might use it next time. But this time I really had no need for over-SMB backups (intended for Windows boxes), and no need for a nice administrative web-interface to backupPC. If not these extra features (which I don&#8217;t currently need) I&#8217;d go for backupPC. Here&#8217;s a <a
href="https://help.ubuntu.com/community/BackupPC">guide for Ubuntu</a>.</p><p><a
href="http://duplicity.nongnu.org/">Duplicity</a> claims to still be in beta, thus I haven&#8217;t given it a try. <a
href="http://www.nongnu.org/rdiff-backup/">rdiff-backup</a> seemed a bit too simple (and with no ready templates to get working regular backups faster), so I skipped that one as well.</p><p><a
href="http://www.dirvish.org/">Dirvish</a> really caught my attention, partially thanks to a good and relatively <em>short</em> <a
href="http://dtcsupport.gplhost.com/PmWiki/Backup-With-Dirvish-And-Automysqlbackup" class="broken_link" rel="nofollow">quick-start tutorial</a>. That tutorial also mentions <a
href="http://packages.debian.org/en/squeeze/automysqlbackup">automysqlbackup</a> &#8211; a nice, almost no-configuration tool to take regular dumps of MySQL databases. In combination, these two now regularly backup up my whole server to another linux box.</p><p>I would definitely recommend using dirvish+automysqlbackup for remote/off-site backup needs. However, other solutions might be as good or better for your use case.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F03%2Flinux-server-remote-backup-options.html&amp;linkname=Linux%20server%20remote%20backup%20options" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F03%2Flinux-server-remote-backup-options.html&amp;linkname=Linux%20server%20remote%20backup%20options" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F03%2Flinux-server-remote-backup-options.html&amp;linkname=Linux%20server%20remote%20backup%20options" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F03%2Flinux-server-remote-backup-options.html&amp;linkname=Linux%20server%20remote%20backup%20options" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F03%2Flinux-server-remote-backup-options.html&amp;linkname=Linux%20server%20remote%20backup%20options" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F10%2F03%2Flinux-server-remote-backup-options.html&#038;title=Linux%20server%20remote%20backup%20options" data-a2a-url="https://bogdan.org.ua/2010/10/03/linux-server-remote-backup-options.html" data-a2a-title="Linux server remote backup options"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/10/03/linux-server-remote-backup-options.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Linux: how to label swap partition w/o losing swap UUID</title><link>https://bogdan.org.ua/2010/07/16/linux-how-to-label-swap-partition-without-losing-swap-uuid.html</link> <comments>https://bogdan.org.ua/2010/07/16/linux-how-to-label-swap-partition-without-losing-swap-uuid.html#comments</comments> <pubDate>Fri, 16 Jul 2010 12:41:13 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[swap]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1082</guid> <description><![CDATA[In short: sudo mkswap -L new_swap_label -U old_swap_UUID /dev/sd_swap_device. If you don&#8217;t care about the UUID: just sudo mkswap -L new_swap_label /dev/sd_swap_device. Step-by-step: Identify current swap UUID: grep swap /etc/fstab ; you should see a line starting with UUID=b4e6e&#8230; &#8211; note that UUID; let us assume our UUID is b4e6e5d8-8854-4a3e-8edb-f423ded31e2a Identify swap partition device. If [&#8230;]]]></description> <content:encoded><![CDATA[<p>In short: <strong>sudo mkswap -L new_swap_label -U old_swap_UUID /dev/sd_swap_device</strong>.<br
/> If you don&#8217;t care about the UUID: just <strong>sudo mkswap -L new_swap_label /dev/sd_swap_device</strong>.</p><p>Step-by-step:<br
/> <span
id="more-1082"></span></p><ol><li>Identify current swap UUID: <strong>grep swap /etc/fstab</strong> ; you should see a line starting with <strong>UUID=</strong>b4e6e&#8230; &#8211; note that UUID; let us assume our UUID is <em>b4e6e5d8-8854-4a3e-8edb-f423ded31e2a</em></li><li>Identify swap partition device. If you are using Debian or Ubuntu, device might have been shown to you when running command #1 as a comment of the form<br
/><blockquote># /dev/sdX4       none            swap    sw              0       0</p></blockquote><p> Just to be sure, run <strong>cat /proc/swaps</strong> (or <strong>sudo swapon -s</strong>), to be shown something like this:</p><p><code>Filename                                Type            Size    Used    Priority<br
/> /dev/sdX4                               partition       2104504 0       -1<br
/> </code><br
/> You can also use partition managers to identify swap device, e.g. <strong>sudo fdisk -l</strong>. Let us assume our partition device is <em>sdX4</em>.</li><li>If that swap partition is in use, you need to disable it first: <strong>sudo swapoff /dev/sdX4</strong></li><li>Now that you have both the UUID and the device, run<br
/> <strong>sudo mkswap -L new_swap_label -U b4e6e5d8-8854-4a3e-8edb-f423ded31e2a /dev/sdX4</strong><br
/> Do not forget replacing sample values above (label, UUID and device) with your actual values.</li><li>Enable swap: <strong>sudo swapon /dev/sdX4</strong></li></ol><p>Now, if you wish so, you may proceed to edit /etc/fstab and replace UUID=&#8230;. with LABEL=your_new_swap_label, leaving all other spaces and values in that line untouched.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F07%2F16%2Flinux-how-to-label-swap-partition-without-losing-swap-uuid.html&amp;linkname=Linux%3A%20how%20to%20label%20swap%20partition%20w%2Fo%20losing%20swap%20UUID" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F07%2F16%2Flinux-how-to-label-swap-partition-without-losing-swap-uuid.html&amp;linkname=Linux%3A%20how%20to%20label%20swap%20partition%20w%2Fo%20losing%20swap%20UUID" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F07%2F16%2Flinux-how-to-label-swap-partition-without-losing-swap-uuid.html&amp;linkname=Linux%3A%20how%20to%20label%20swap%20partition%20w%2Fo%20losing%20swap%20UUID" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F07%2F16%2Flinux-how-to-label-swap-partition-without-losing-swap-uuid.html&amp;linkname=Linux%3A%20how%20to%20label%20swap%20partition%20w%2Fo%20losing%20swap%20UUID" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F07%2F16%2Flinux-how-to-label-swap-partition-without-losing-swap-uuid.html&amp;linkname=Linux%3A%20how%20to%20label%20swap%20partition%20w%2Fo%20losing%20swap%20UUID" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F07%2F16%2Flinux-how-to-label-swap-partition-without-losing-swap-uuid.html&#038;title=Linux%3A%20how%20to%20label%20swap%20partition%20w%2Fo%20losing%20swap%20UUID" data-a2a-url="https://bogdan.org.ua/2010/07/16/linux-how-to-label-swap-partition-without-losing-swap-uuid.html" data-a2a-title="Linux: how to label swap partition w/o losing swap UUID"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/07/16/linux-how-to-label-swap-partition-without-losing-swap-uuid.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The list of Linux music players with CUE sheet support</title><link>https://bogdan.org.ua/2010/04/30/the-list-of-linux-music-players-with-cue-sheet-support.html</link> <comments>https://bogdan.org.ua/2010/04/30/the-list-of-linux-music-players-with-cue-sheet-support.html#comments</comments> <pubDate>Fri, 30 Apr 2010 18:45:02 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[CUE]]></category> <category><![CDATA[FLAC]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[music]]></category> <category><![CDATA[player]]></category> <category><![CDATA[sheet]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1033</guid> <description><![CDATA[Last updated: 2011-12-13 Clementine music player DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems with X11 (though now it also runs in plain console without X, in FreeBSD, and in OpenSolaris) with CUE sheets support AudioPlayer51 is a free, open-source, cross-platform audio player written to handle FLAC files and CUE sheets (exclusively). [&#8230;]]]></description> <content:encoded><![CDATA[<p><ins
datetime="2011-12-13T13:18:00+00:00">Last updated: 2011-12-13</ins></p><ul><li><a
href="http://www.clementine-player.org/">Clementine</a> music player</li><li><a
href="http://deadbeef.sourceforge.net/">DeaDBeeF</a> (as in 0xDEADBEEF) is an audio player for GNU/Linux systems with X11 (though now it also runs in plain console without X, in FreeBSD, and in OpenSolaris) with CUE sheets support</li><li><a
href="http://audioplayer51.org/features.php" class="broken_link" rel="nofollow">AudioPlayer51</a> is a free, open-source, cross-platform audio player written to handle FLAC files and CUE sheets (exclusively). If you don&#8217;t use FLAC files and CUE sheets, you won&#8217;t find AudioPlayer51 very useful.</li><li><a
href="http://amarok.kde.org/">Amarok</a>: only for WAV+CUE, doesn&#8217;t currently support FLAC+CUE; <a
href="http://amarok.kde.org/blog/archives/1172-Something-for-Amarok-2.3.1+.html" class="broken_link" rel="nofollow">version 2.3.1 is promised to fully support CUE sheets</a></li><li><a
href="http://audacious-media-player.org/">Audacious</a> (through the .cue plugin)</li><li><a
href="http://qmmp.ylsoftware.com/">QMMP</a> (haven&#8217;t tested this one)</li><li>XMMS through <a
href="http://brianvictor.tripod.com/mp3cue.htm">mp3cue</a> (also untested)</li><li><a
href="http://www.foobnix.com/welcome?lang=en" class="broken_link" rel="nofollow">foobnix</a> (untested, suggested in <a
href="http://bogdan.org.ua/2010/10/16/installing-deadbeef-music-player-on-debian.html#comment-130026">this comment</a>)</li><li><a
href="http://cueplay.sf.net/">cueplay</a></li></ul><p>Some extra links:</p><ul><li><a
href="http://aidanjm.wordpress.com/2007/02/15/split-lossless-audio-ape-flac-wv-wav-by-cue-file/">split lossless multiple-track files by CUE sheets</a></li><li><a
href="http://mp3splt.sourceforge.net/mp3splt_page/home.php">mp3split</a></li></ul><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F04%2F30%2Fthe-list-of-linux-music-players-with-cue-sheet-support.html&amp;linkname=The%20list%20of%20Linux%20music%20players%20with%20CUE%20sheet%20support" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F04%2F30%2Fthe-list-of-linux-music-players-with-cue-sheet-support.html&amp;linkname=The%20list%20of%20Linux%20music%20players%20with%20CUE%20sheet%20support" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F04%2F30%2Fthe-list-of-linux-music-players-with-cue-sheet-support.html&amp;linkname=The%20list%20of%20Linux%20music%20players%20with%20CUE%20sheet%20support" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F04%2F30%2Fthe-list-of-linux-music-players-with-cue-sheet-support.html&amp;linkname=The%20list%20of%20Linux%20music%20players%20with%20CUE%20sheet%20support" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F04%2F30%2Fthe-list-of-linux-music-players-with-cue-sheet-support.html&amp;linkname=The%20list%20of%20Linux%20music%20players%20with%20CUE%20sheet%20support" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F04%2F30%2Fthe-list-of-linux-music-players-with-cue-sheet-support.html&#038;title=The%20list%20of%20Linux%20music%20players%20with%20CUE%20sheet%20support" data-a2a-url="https://bogdan.org.ua/2010/04/30/the-list-of-linux-music-players-with-cue-sheet-support.html" data-a2a-title="The list of Linux music players with CUE sheet support"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/04/30/the-list-of-linux-music-players-with-cue-sheet-support.html/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>screen mastery with only 3 keyboard shortcuts</title><link>https://bogdan.org.ua/2010/03/01/screen-mastery-with-only-3-keyboard-shortcuts.html</link> <comments>https://bogdan.org.ua/2010/03/01/screen-mastery-with-only-3-keyboard-shortcuts.html#comments</comments> <pubDate>Mon, 01 Mar 2010 17:11:57 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[screen]]></category> <category><![CDATA[screenie]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1003</guid> <description><![CDATA[screen is a must-use for anyone familiar with SSH sessions; it saves your time by keeping your console apps running even after (an unexpected) disconnect from the remote session. The easiest way to start with screen is screenie &#8211; an interface to screen. To use it, you only need to memorize a single keyboard shortcut: [&#8230;]]]></description> <content:encoded><![CDATA[<p><strong>screen</strong> is a must-use for anyone familiar with SSH sessions; it saves your time by keeping your console apps running even after (an unexpected) disconnect from the remote session.</p><p>The easiest way to start with screen is <strong>screenie</strong> &#8211; an interface to screen. To use it, you only need to memorize a single keyboard shortcut: <strong>C-a d</strong> (<strong>Ctrl+a, d</strong>). This shortcut detaches (hides) your current screen session, allowing to resume later &#8211; either with the help of <strong>screenie</strong>, or by issuing <strong>screen -r</strong> command.</p><p>After a while, with increased screen (and screenie) usage, you will find it inconvenient detaching every time you need a new screen session. Here comes the second keyboard shortcut: <strong>C-a c</strong> (<strong>Ctrl+a, c</strong>), which creates a new window within a current screen session, and switches to it.</p><p>Finally, you will find it tiresome detaching to then re-attach to a different screen. <strong>C-a &#8220;</strong> (<strong>Ctrl+a, Shift+&#8217;</strong>) will display a list of screen windows for you to select and switch to.</p><p><strong>Screenie</strong>, an excellent beginner&#8217;s interface to screen, is no longer needed after you memorize these 3 keyboard shortcuts.</p><p>Many will say that <em>this is a bare minimum</em>, and also <em>there is much more to screen than what you present here</em>, and that will be true. However, these 3 shortcuts are sufficient for simple but convenient everyday screen sessions management.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&amp;linkname=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fscreen-mastery-with-only-3-keyboard-shortcuts.html&#038;title=screen%20mastery%20with%20only%203%20keyboard%20shortcuts" data-a2a-url="https://bogdan.org.ua/2010/03/01/screen-mastery-with-only-3-keyboard-shortcuts.html" data-a2a-title="screen mastery with only 3 keyboard shortcuts"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/03/01/screen-mastery-with-only-3-keyboard-shortcuts.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>ntfstruncate binary for Debian (resetting NTFS bad clusters counter)</title><link>https://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html</link> <comments>https://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html#comments</comments> <pubDate>Mon, 01 Mar 2010 16:55:56 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[bad clusters]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[linux-ntfs]]></category> <category><![CDATA[NTFS]]></category> <category><![CDATA[ntfsprogs]]></category> <category><![CDATA[ntfstruncate]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[pending sectors]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1000</guid> <description><![CDATA[There is an excellent step-by-step instruction on resetting the bad clusters counter of an NTFS partition with linux-ntfs tools. I&#8217;ve checked &#8211; it works as expected: Back up important data from partition just in case Find out size of &#8216;$Bad&#8217; attribute in $Badclus using ntfsinfo -i 8 partition (partition is for example /dev/sda1). It will [&#8230;]]]></description> <content:encoded><![CDATA[<p>There is an <a
href="http://www.linux-ntfs.org/doku.php?id=ntfsclone#reseting_the_bad_sectors_list_after_cloning" class="broken_link" rel="nofollow">excellent step-by-step instruction</a> on resetting the bad clusters counter of an NTFS partition with linux-ntfs tools. I&#8217;ve checked &#8211; it works as expected:</p><blockquote><ol><li>Back up important data from partition just in case</li><li>Find out size of &#8216;$Bad&#8217; attribute in $Badclus using <strong>ntfsinfo -i 8 <em>partition</em></strong> (<em>partition</em> is for example /dev/sda1). It will be the â€œAllocated sizeâ€ value in the â€œDumping attribute $DATA (0<code>x</code>80)â€ (there will be two 0<code>x</code>80 attributes. Only one has an â€œAllocated sizeâ€ line). Let us write down (remember) this size as <em>ntfs_size</em>.</li><li>Use <strong>ntfstruncate <em>partition</em> 8 0<code>x</code>80 &#8216;$Bad&#8217; 0</strong> to set $Bad&#8217;s attribute length to zero.</li><li>Use <strong>ntfstruncate <em>partition</em> 8 0<code>x</code>80 &#8216;$Bad&#8217; <em>ntfs_size</em></strong> to set $Bad&#8217;s attribute length back to proper value <em>ntfs_size</em> which was recorded in step 2.</li><li>Boot into Windows and run <strong>chkdsk -f <em>diskname</em></strong>. It will find errors and should fix them.</li></ol></blockquote><p>However, Debian&#8217;s <strong>ntfsprogs</strong> package does not have the <strong>ntfstruncate</strong> binary.</p><p>Here&#8217;s how you can easily build one yourself (you may need a few extra packages with build tools for that):<br
/> <span
id="more-1000"></span></p><ol><li><strong>apt-get source ntfsprogs</strong></li><li><strong>cd linux-ntfs-2.0.0</strong></li><li><strong>./configure &#038;&#038; make extra</strong></li><li><strong>cd ntfsprogs &#038;&#038; ./ntfstruncate</strong></li></ol><p>You can also install ntfstruncate system-wide, but I have no idea if that will interfere with the already-installed ntfsprogs package, so I just used this binary directly from linux-ntfs-2.0.0/ntfsprogs.</p><p>Bad clusters happen not only when cloning an NTFS partition between 2 physical hard disk drives. Once, after a brief blackout (with a turned on PC, and not on a UPS), the SMART status of my new HDD started showing 1 &#8216;Pending sector&#8217;. Correspondingly, all the SMART tests (performed with a <strong>smartctl</strong> utility) reported read errors. To help my HDD examine and fix the problem itself, I performed a write operation to that single unreadable sector, which restored it (and reset the &#8216;Pending sector&#8217; counter back to zero). It was possible, because not the physical sector itself, but the hidden CRC field had errors after power failure; modern hard drives can detect and fix this kind of errors upon write operations (read operations only mark the sector as &#8216;pending&#8217;, because data read is not consistent with the stored CRC).</p><p>However, NTFS partition still had 4096 bytes in &#8216;bad clusters&#8217;. A little research revealed the presence of internal NTFS bad clusters counter, which can be reset following the procedures above.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&amp;linkname=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F03%2F01%2Fntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html&#038;title=ntfstruncate%20binary%20for%20Debian%20%28resetting%20NTFS%20bad%20clusters%20counter%29" data-a2a-url="https://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html" data-a2a-title="ntfstruncate binary for Debian (resetting NTFS bad clusters counter)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/03/01/ntfstruncate-binary-for-debian-resetting-ntfs-bad-clusters-counter.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Chandler 1.0.3 package for Debian testing amd64</title><link>https://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html</link> <comments>https://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html#comments</comments> <pubDate>Mon, 25 Jan 2010 08:52:26 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[amd64]]></category> <category><![CDATA[Chandler]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[package]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=976</guid> <description><![CDATA[Recently, I have come across the Chandler project. Chandler is a sophisticated organizer, including tasks, calendar, appointments, invitations, and many more. The project does provide a 64-bit package for Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, but it has a dependency on python-zope-interface &#8211; which in Debian testing is a virtual package, currently provided by python-zope.interface. That single [&#8230;]]]></description> <content:encoded><![CDATA[<p><a
href="http://chandlerproject.org/"><img
src="http://bogdan.org.ua/wp-content/uploads/2010/01/chandler-project-logo.png" alt="" title="chandler-project-logo" width="192" height="39" class="alignleft size-full wp-image-979" /></a>Recently, I have come across the <a
href="http://chandlerproject.org/">Chandler project</a>. Chandler is a sophisticated organizer, including tasks, calendar, appointments, invitations, and many more.</p><p>The project does provide a <a
href="http://downloads.osafoundation.org/chandler/releases/1.0.3/#enduserlinux" class="broken_link" rel="nofollow">64-bit package</a> for Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, but it has a dependency on python-zope-interface &#8211; which in Debian testing is a virtual package, currently provided by python-zope.interface. That single dependency made my aptitude complain all the time, so I edited the .deb-file, renaming depends/python-zope-interface to depends/python-zope.interface (following <a
href="http://thedarkmaster.wordpress.com/2008/05/24/how-to-create-manipulate-a-deb-file-of-a-compiled-application/">nice and simple instructions</a>). After that &#8211; no more aptitude complaints, and Chandler works fine.</p><p>Download the <a
href="http://bogdan.org.ua/wp-content/uploads/2010/01/chandler-1.0.3-amd64-Debian-testing.deb">modified Chandler 1.0.3 Debian testing amd64 package</a> (md5: 239071715977bea2eb75f3bb54491a02).</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&amp;linkname=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2010%2F01%2F25%2Fchandler-1-0-3-package-for-debian-testing-amd64.html&#038;title=Chandler%201.0.3%20package%20for%20Debian%20testing%20amd64" data-a2a-url="https://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html" data-a2a-title="Chandler 1.0.3 package for Debian testing amd64"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2010/01/25/chandler-1-0-3-package-for-debian-testing-amd64.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>R under Debian testing/i386: permanently set pdfviewer option</title><link>https://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html</link> <comments>https://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html#comments</comments> <pubDate>Wed, 21 Oct 2009 14:06:37 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[pdfviewer]]></category> <category><![CDATA[R]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=909</guid> <description><![CDATA[If you get this message when opening vignettes: Error in openPDF(vif) : getOption(&#8216;pdfviewer&#8217;) is &#8221;; please use &#8216;options(pdfviewer=&#8230;)&#8217; and you are tired of running this command every time: > options(pdfviewer=&#8221;okular&#8221;) then you should check if your system-wide Renviron file has proper PDF viewer set: grep -i pdf /etc/R/Renviron R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-&#8217;/usr/bin/pdflatex&#8217;}} R_RD4PDF=${R_RD4PDF-&#8217;times,hyper&#8217;} ## Default PDF viewer R_PDFVIEWER=${R_PDFVIEWER-&#8221;} [&#8230;]]]></description> <content:encoded><![CDATA[<p>If you get this message when opening vignettes:</p><blockquote><p>Error in openPDF(vif) :<br
/> getOption(&#8216;pdfviewer&#8217;) is &#8221;; please use &#8216;options(pdfviewer=&#8230;)&#8217;</p></blockquote><p>and you are tired of running this command every time:</p><blockquote><p>> options(pdfviewer=&#8221;okular&#8221;)</p></blockquote><p>then you should check if your system-wide <strong>Renviron</strong> file has proper PDF viewer set:<br
/> <span
id="more-909"></span><br
/> <strong>grep -i pdf /etc/R/Renviron</strong></p><blockquote><p>R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-&#8217;/usr/bin/pdflatex&#8217;}}<br
/> R_RD4PDF=${R_RD4PDF-&#8217;times,hyper&#8217;}<br
/> ## Default PDF viewer<br
/> R_PDFVIEWER=${R_PDFVIEWER-&#8221;}</p></blockquote><p>It wasn&#8217;t in my case.</p><p>To set one, either edit the system-wide Renviron (e.g. by editing the <strong>R_PDFVIEWER=${R_PDFVIEWER-&#8221;}</strong> line to look like <strong>R_PDFVIEWER=${R_PDFVIEWER-&#8217;/usr/bin/xdg-open&#8217;}</strong> &#8211; this will use MIME types to open your preferred PDF viewer), or one of the per-user/per-directory Renviron files to fix this minor annoyance (format is the same, e.g. R_PDFVIEWER=okular ).</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&amp;linkname=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F21%2Fr-under-debian-testingi386-permanently-set-pdfviewer-option.html&#038;title=R%20under%20Debian%20testing%2Fi386%3A%20permanently%20set%20pdfviewer%20option" data-a2a-url="https://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html" data-a2a-title="R under Debian testing/i386: permanently set pdfviewer option"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/10/21/r-under-debian-testingi386-permanently-set-pdfviewer-option.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Convenient design and debugging of regular expressions under Linux</title><link>https://bogdan.org.ua/2009/10/10/convenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html</link> <comments>https://bogdan.org.ua/2009/10/10/convenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html#comments</comments> <pubDate>Sat, 10 Oct 2009 15:51:18 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[debugging]]></category> <category><![CDATA[kodos]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[RE]]></category> <category><![CDATA[redet]]></category> <category><![CDATA[regexp]]></category> <category><![CDATA[regular expression]]></category> <category><![CDATA[txt2regexp]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=890</guid> <description><![CDATA[Regular expressions (regexps) are powerful indeed. But debugging non-trivial regexps is a burden even if you understand how regexps work, and remember most (if not all) regexp syntax. Miscellaneous tools exist to ease this task. This post was inspired by redet&#8217;s comparison of regexp helper tools &#8211; it could be sufficient to read only that, [&#8230;]]]></description> <content:encoded><![CDATA[<p><a
href="http://bogdan.org.ua/wp-content/uploads/2009/10/redet-supported-languages.png"><img
src="http://bogdan.org.ua/wp-content/uploads/2009/10/redet-supported-languages-199x171.png" alt="redet-supported languages" title="redet-supported languages" width="199" height="171" class="alignleft size-thumbnail wp-image-896" /></a>Regular expressions (regexps) are powerful indeed. But debugging non-trivial regexps is a burden even if you understand how regexps work, and remember most (if not all) regexp syntax.</p><p>Miscellaneous tools exist to ease this task. This post was inspired by <a
href="http://billposer.org/Software/redet.html#comparison">redet&#8217;s comparison of regexp helper tools</a> &#8211; it could be sufficient to read only that, if you&#8217;re going to try the mentioned tools yourself. Otherwise, read on.<br
/> <span
id="more-890"></span><br
/> <a
href="http://kodos.sourceforge.net/">Kodos</a> is an easy-to-use (but powerful enough) Python tool to verify regular expressions against sample user-provided strings. Available for both Linux and Windows. Generates ready-to-use Python regexp code.</p><p><a
href="http://billposer.org/Software/redet.html">redet</a> <a
href="http://billposer.org/Software/redet.html#comparison">assumes some knowledge</a> of REs. Unlike all the other helper tools, it has the widest code generation coverage &#8211; just go to &#8220;Tools->Save command information&#8221; to generate code (Python, Perl, C, grep &#8211; just to name a few of the <strong>57 (!)</strong> languages/tools/editors supported). At the same time, redet does not depend on specific versions of all supported RE engines &#8211; instead, redet automatically tests for features in available versions.</p><p><a
href="http://laurent.riesterer.free.fr/regexp/">visual-regexp</a> is similar to kodos in features.</p><p><a
href="http://txt2regex.sourceforge.net/">txt2regex</a> is a regex wizard written in bash, capable of generating code for <strong>24</strong> languages/editors/programs (by default, these are enabled: perl, php, postgres, python, sed and vim). It is really simple and convenient, though some understanding of &#8220;groups&#8221; and &#8220;character ranges&#8221; is highly recommended.</p><p><a
href="http://websvn.kde.org/trunk/playground/utils/kregexpeditor/" class="broken_link" rel="nofollow">KRegExpEditor</a> was a part of kde3-utils, and seems to be missing from current KDE 4.3. It is similar to kodos and visual-regexp in its philosophy and features.</p><p>I would recommend using one of kodos/visual-regexp/kregexpeditor to quickly test or design your regular expression, then use redet to generate appropriate source code. As an alternative (and when working in a console), just use txt2regexp to generate the code you need.</p><p>Tools I haven&#8217;t tried include <a
href="http://www.weitz.de/regex-coach/">regex coach</a> and <a
href="http://freshmeat.net/projects/regexpviewer/">regexpviewer</a>.</p><p>Please also see this extensive <a
href="http://billposer.org/Linguistics/Computation/Resources.html#patterns">list of regular expression and pattern-matching related</a> software.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&amp;linkname=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F10%2F10%2Fconvenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html&#038;title=Convenient%20design%20and%20debugging%20of%20regular%20expressions%20under%20Linux" data-a2a-url="https://bogdan.org.ua/2009/10/10/convenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html" data-a2a-title="Convenient design and debugging of regular expressions under Linux"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/10/10/convenient-design-and-debugging-of-regular-expressions-under-linux-tools-comparison.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>IOMMU: This costs you 64 MB of RAM</title><link>https://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html</link> <comments>https://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html#comments</comments> <pubDate>Wed, 30 Sep 2009 12:36:34 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[AGP]]></category> <category><![CDATA[AMD]]></category> <category><![CDATA[amd64]]></category> <category><![CDATA[GART]]></category> <category><![CDATA[IOMMU]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[RAM]]></category> <category><![CDATA[x86_64]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=853</guid> <description><![CDATA[If you have happened to observe similar messages in your dmesg: [ 0.004000] Checking aperture&#8230; [ 0.004000] No AGP bridge found [ 0.004000] Node 0: aperture @ 20000000 size 32 MB [ 0.004000] Aperture pointing to e820 RAM. Ignoring. [ 0.004000] Your BIOS doesn&#8217;t leave a aperture memory hole [ 0.004000] Please enable the IOMMU [&#8230;]]]></description> <content:encoded><![CDATA[<p>If you have happened to observe similar messages in your dmesg:</p><p><img
src="http://bogdan.org.ua/wp-content/uploads/2009/09/aperture.png" alt="aperture" title="aperture" width="540" height="184" class="aligncenter size-full wp-image-862" /></p><blockquote><p>[    0.004000] Checking aperture&#8230;<br
/> [    0.004000] No AGP bridge found<br
/> [    0.004000] Node 0: aperture @ 20000000 size 32 MB<br
/> [    0.004000] Aperture pointing to e820 RAM. Ignoring.<br
/> [    0.004000] Your BIOS doesn&#8217;t leave a aperture memory hole<br
/> [    0.004000] Please enable the IOMMU option in the BIOS setup<br
/> [    0.004000] <strong>This costs you 64 MB of RAM</strong><br
/> [    0.004000] Mapping aperture over 65536 KB of RAM @ 20000000</p></blockquote><p>and you are using AMD-based system w/o AGP video, then my advice is: <strong>just leave that as is, do not bother &#8220;improving&#8221;</strong>! Any tinkering with kernel boot options won&#8217;t do you any good, as the kernel has already done the best it could.</p><p>Just a note: all those messages at the top of the post should only happen if you have 4 or more GiBs of RAM. If you have less than that, and do have those messages â€“ my experience might be inappropriate for your case.</p><p>Another note: my BIOS does not have any IOMMU settings (or â€œMemory hole remappingâ€ settings), so I didnâ€™t try that. You should check if your BIOS has IOMMU-related options first, just as kernel message suggests.</p><p>Read on for details.<br
/> <span
id="more-853"></span><br
/> My system&#8217;s kernel at the moment of writing is 2.6.30-1-amd64 (Debian testing), running on MSI&#8217;s 790GX-G65 with integrated Radeon HD 3300 video, with 4 GiB DDR3 RAM and a quad-core Phenom II CPU.</p><p>Following are the options you <strong>shouldn&#8217;t try</strong> on a similar system:</p><ul><li>passing <strong>iommu=noagp</strong> kernel boot option. If you run <strong>dmesg|grep -i agp</strong>, most likely you will see something in the lines of<br
/><blockquote><p>$ dmesg|grep -i agp<br
/> [    0.004000] No AGP bridge found<br
/> [    0.392098] PCI-DMA: Disabling AGP.<br
/> [    0.392142] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture<br
/> [    0.774847] Linux agpgart interface v0.103</p></blockquote><p>which tells you that your kernel has automatically discovered the absence of AGP bridge, disabled it and is using 64MB of AGP aperture for IOMMU. On my system, adding that boot option had no effect.</li><li>passing <strong>iommu=off</strong> kernel boot option. When I did this, there were loads of &#8220;nommu overflow&#8221; errors during boot, so I didn&#8217;t wait until GDM start and rebooted immediately. Clearly, tons of &#8220;overflow&#8221; errors won&#8217;t do any better than a harmless &#8220;This costs you 64 MB of RAM&#8221;. Also, systems with over 3 GiB RAM do need IOMMU.</li><li>passing <strong>iommu=noaperture</strong> kernel boot option. On my system, this option has taken 1 more MiB from my available RAM (as reported by <strong>free -m</strong> or <strong>htop</strong>), and also enabled software double-buffering IOMMU method (in <strong>dmesg</strong>, a string similar to <strong>SW TIOLB</strong>). Performance-wise this is worse than AMD&#8217;s GART-based IOMMU, and you loose 1 more MiB of RAM ;), so don&#8217;t do this.</li><li>passing <strong>iommu=noagp,noaperture</strong> for me had the same effect as passing <strong>iommu=noaperture</strong> alone, for the reason from point #1 of this list.</li><li>I haven&#8217;t tried any of the <strong>memaper=[1|2|3|...]</strong> options, as I had no problems with the default 64 MiB.</li><li>passing <strong>mem=4G</strong> may remove that message (I do not recollect if it did for me), but will eat a good deal more of your available RAM (might be because devices are now mapped within those 4G, and not above). So don&#8217;t do this.</li></ul><p>I&#8217;m not aware of any other solutions to the missing 64 MiB RAM message. There were notices of using <strong>pci=nommconf</strong> boot option, but that is too much for such a simple message &#8211; unless you have problems booting.</p><p>Below I&#8217;m pasting IOMMU-relevant part of the <strong>linux-source-2.6.30/Documentation/x86/x86_64/boot-options.txt</strong> file, which I believe is the source of ultimate knowledge <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> You should read that file whenever you feel like tinkering with boot options of your AMD64 machine.</p><p>I ***highlighted*** some fragments, to support the points from the list above.</p><pre>IOMMU (input/output memory management unit)
 Currently four x86-64 PCI-DMA mapping implementations exist:
   1. <arch/x86_64/kernel/pci-nommu.c>: use ***no hardware/software IOMMU at all***
      (e.g. ***because you have < 3 GB memory***).
      Kernel boot message: "PCI-DMA: Disabling IOMMU"
   2. <arch/x86_64/kernel/pci-gart.c>: ***AMD GART based hardware IOMMU***.
      Kernel boot message: "PCI-DMA: using GART IOMMU"
   3. <arch/x86_64/kernel/pci-swiotlb.c> : Software IOMMU implementation. Used
      e.g. ***if there is no hardware IOMMU*** in the system and it is need because
      you have ***>3GB memory*** or told the kernel to us it (iommu=soft))
      Kernel boot message: "PCI-DMA: Using software bounce buffering
      for IO (SWIOTLB)"
   4. <arch/x86_64/pci-calgary.c> : IBM Calgary hardware IOMMU. Used in IBM
      ***pSeries and xSeries servers***. This hardware IOMMU supports DMA address
      mapping with memory protection, etc.
      Kernel boot message: "PCI-DMA: Using Calgary IOMMU"
 iommu=[<size>][,noagp][,off][,force][,noforce][,leak[=<nr_of_leak_pages>]
	[,memaper[=<order>]][,merge][,forcesac][,fullflush][,nomerge]
	[,noaperture][,calgary]
  General iommu options:
    off                Don't initialize and use any kind of IOMMU.
    noforce            Don't force hardware IOMMU usage when it is not needed.
                       (default).
    force              Force the use of the hardware IOMMU even when it is
                       not actually needed (e.g. because < 3 GB memory).
    soft               Use software bounce buffering (SWIOTLB) (default for
                       Intel machines). This can be used to prevent the usage
                       of an available hardware IOMMU.
  iommu options only relevant to the AMD GART hardware IOMMU:
    <size>             Set the size of the remapping area in bytes.
    allowed            Overwrite iommu off workarounds for specific chipsets.
    fullflush          Flush IOMMU on each allocation (default).
    nofullflush        Don't use IOMMU fullflush.
    leak               Turn on simple iommu leak tracing (only when
                       CONFIG_IOMMU_LEAK is on). Default number of leak pages
                       is 20.
    memaper[=<order>]  Allocate an own aperture over RAM with size 32MB<<order.
                       (default: order=1, i.e. 64MB)
    merge              Do scatter-gather (SG) merging. Implies "force"
                       (experimental).
    nomerge            Don't do scatter-gather (SG) merging.
    noaperture         Ask the IOMMU not to touch the aperture for AGP.
    forcesac           Force single-address cycle (SAC) mode for masks <40bits
                       (experimental).
    noagp              Don't initialize the AGP driver and use full aperture.
    allowdac           Allow double-address cycle (DAC) mode, i.e. DMA >4GB.
                       DAC is used with 32-bit PCI to push a 64-bit address in
                       two cycles. When off all DMA over >4GB is forced through
                       an IOMMU or software bounce buffering.
    nodac              Forbid DAC mode, i.e. DMA >4GB.
    panic              Always panic when IOMMU overflows.
    calgary            Use the Calgary IOMMU if it is available
  iommu options only relevant to the software bounce buffering (SWIOTLB) IOMMU
  implementation:
    swiotlb=<pages>[,force]
    <pages>            Prereserve that many 128K pages for the software IO
                       bounce buffering.
    force              Force all IO through the software TLB.
  Settings for the IBM Calgary hardware IOMMU currently found in IBM
  pSeries and xSeries machines:
    calgary=[64k,128k,256k,512k,1M,2M,4M,8M]
    calgary=[translate_empty_slots]
    calgary=[disable=<PCI bus number>]
    panic              Always panic when IOMMU overflows
    64k,...,8M - Set the size of each PCI slot's translation table
    when using the Calgary IOMMU. This is the size of the translation
    table itself in main memory. The smallest table, 64k, covers an IO
    space of 32MB; the largest, 8MB table, can cover an IO space of
    4GB. Normally the kernel will make the right choice by itself.
    translate_empty_slots - Enable translation even on slots that have
    no devices attached to them, in case a device will be hotplugged
    in the future.
    disable=<PCI bus number> - Disable translation on a given PHB. For
    example, the built-in graphics adapter resides on the first bridge
    (PCI bus number 0); if translation (isolation) is enabled on this
    bridge, X servers that access the hardware directly from user
    space might stop working. Use this option if you have devices that
    are accessed from userspace directly on some PCI host bridge.</pre><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&amp;linkname=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F09%2F30%2Fiommu-this-costs-you-64-mb-of-ram.html&#038;title=IOMMU%3A%20This%20costs%20you%2064%20MB%20of%20RAM" data-a2a-url="https://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html" data-a2a-title="IOMMU: This costs you 64 MB of RAM"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/09/30/iommu-this-costs-you-64-mb-of-ram.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Best method to recursively chmod/process files or directories</title><link>https://bogdan.org.ua/2009/06/08/best-method-to-recursively-chmodprocess-files-or-directories.html</link> <comments>https://bogdan.org.ua/2009/06/08/best-method-to-recursively-chmodprocess-files-or-directories.html#comments</comments> <pubDate>Mon, 08 Jun 2009 14:33:51 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[chmod]]></category> <category><![CDATA[find]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[recursive]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=746</guid> <description><![CDATA[Found here. Recursively set directories only to drwx-rx-rx (755): find . -type d -exec chmod 755 {} \; Recursively set files only to rwx-r-r (644): find . -type f -exec chmod 644 {} \; Recursively remove carriage returns (^M) from the end of all *.php files: find . -type f -name &#8220;*.php&#8221; -exec /home/user/dos2unix.sh {} [&#8230;]]]></description> <content:encoded><![CDATA[<p>Found <a
href="http://movabletripe.com/archive/recursively-chmod-directories-only/#comment-50718">here</a>.</p><p>Recursively set directories only to drwx-rx-rx (755):</p><blockquote><p>find . -type d -exec chmod 755 {} \;</p></blockquote><p>Recursively set files only to rwx-r-r (644):</p><blockquote><p>find . -type f -exec chmod 644 {} \;</p></blockquote><p>Recursively remove carriage returns (^M) from the end of all *.php files:</p><blockquote><p>find . -type f -name &#8220;*.php&#8221; -exec /home/user/<a
href="http://bogdan.org.ua/2009/03/30/linux-how-to-remove-trailing-control-m-carriage-return.html">dos2unix.sh</a> {} \;</p></blockquote><p>In all these cases, <strong>{}</strong> is replaced with the filename/directory <strong>find</strong> has found matching your parameters; <strong>\;</strong> at the end just stops <strong>exec</strong> processing.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F08%2Fbest-method-to-recursively-chmodprocess-files-or-directories.html&amp;linkname=Best%20method%20to%20recursively%20chmod%2Fprocess%20files%20or%20directories" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F08%2Fbest-method-to-recursively-chmodprocess-files-or-directories.html&amp;linkname=Best%20method%20to%20recursively%20chmod%2Fprocess%20files%20or%20directories" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F08%2Fbest-method-to-recursively-chmodprocess-files-or-directories.html&amp;linkname=Best%20method%20to%20recursively%20chmod%2Fprocess%20files%20or%20directories" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F08%2Fbest-method-to-recursively-chmodprocess-files-or-directories.html&amp;linkname=Best%20method%20to%20recursively%20chmod%2Fprocess%20files%20or%20directories" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F08%2Fbest-method-to-recursively-chmodprocess-files-or-directories.html&amp;linkname=Best%20method%20to%20recursively%20chmod%2Fprocess%20files%20or%20directories" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F06%2F08%2Fbest-method-to-recursively-chmodprocess-files-or-directories.html&#038;title=Best%20method%20to%20recursively%20chmod%2Fprocess%20files%20or%20directories" data-a2a-url="https://bogdan.org.ua/2009/06/08/best-method-to-recursively-chmodprocess-files-or-directories.html" data-a2a-title="Best method to recursively chmod/process files or directories"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/06/08/best-method-to-recursively-chmodprocess-files-or-directories.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Using FTP usernames with @-symbol in midnight commander</title><link>https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html</link> <comments>https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html#comments</comments> <pubDate>Thu, 07 May 2009 12:44:07 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[ftp]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[mc]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=691</guid> <description><![CDATA[MC is a console file manager. It supports FTP connections, and in my experience is faster in FTP than both Krusader and Gnome Commander. However, the default FTP connection format string [username[:password]@]hostname has a drawback of not allowing the use of usernames with &#8216;@&#8217;-symbol in them &#8211; which is very common for virtual hostings. One [&#8230;]]]></description> <content:encoded><![CDATA[<p><abbr
title="midnight commander">MC</abbr> is a console file manager. It supports FTP connections, and in my experience is faster in FTP than both Krusader and Gnome Commander.</p><p>However, the default FTP connection format string [username[:password]@]hostname has a drawback of not allowing the use of usernames with &#8216;@&#8217;-symbol in them &#8211; which is very common for virtual hostings.</p><p>One of the solutions is (done in your home directory):</p><ol><li>if there is no <strong>.netrc</strong> file in your home directory &#8212; <strong>touch  .netrc &#038;&#038; chmod 600  .netrc</strong></li><li><strong>mcedit  .netrc</strong> (or use vi, nano, or any other editor you prefer)</li><li>add the following line to the file (replace all-caps words with your actual credentials): <strong>machine HOSTNAME login USER@HOSTNAME password PASSWORD</strong></li></ol><p>Now, start MC, choose FTP connect, and enter only the hostname. You will be automatically logged in to the remote FTP.<br
/> This will also work for console ftp clients like lftp.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&#038;title=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" data-a2a-url="https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html" data-a2a-title="Using FTP usernames with @-symbol in midnight commander"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Linux console/CLI/ncurses samba shared folders browsing</title><link>https://bogdan.org.ua/2009/04/16/linux-console-cli-ncurses-samba-shared-folder-browser-browsing.html</link> <comments>https://bogdan.org.ua/2009/04/16/linux-console-cli-ncurses-samba-shared-folder-browser-browsing.html#comments</comments> <pubDate>Thu, 16 Apr 2009 12:22:37 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[cifs]]></category> <category><![CDATA[CLI]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[folder]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[samba]]></category> <category><![CDATA[shared]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=665</guid> <description><![CDATA[Connecting remotely via ssh to my Debian box at work, I needed to mount a CIFS (samba) share, but didn&#8217;t remember server name (or IP) and share name. At least two convenient utilities are available in Debian Lenny for non-X Samba browsing. smbtree (part of smbclient package) will list all visible workgroups, their servers, and [&#8230;]]]></description> <content:encoded><![CDATA[<p>Connecting remotely via ssh to my Debian box at work, I needed to mount a CIFS (samba) share, but didn&#8217;t remember server name (or IP) and share name.</p><p>At least two convenient utilities are available in Debian Lenny for non-X Samba browsing.</p><p><strong>smbtree</strong> (part of <strong>smbclient</strong> package) will list all visible workgroups, their servers, and share names of those servers &#8211; including &#8220;hidden&#8221; shares like C$, IPC$, ADMIN$, print$. Very handy and greppable!</p><p><strong>samba-commander</strong> (<strong>smbc</strong> package) is a ncurses samba browser with &#8220;find file&#8221; functionality.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F04%2F16%2Flinux-console-cli-ncurses-samba-shared-folder-browser-browsing.html&amp;linkname=Linux%20console%2FCLI%2Fncurses%20samba%20shared%20folders%20browsing" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F04%2F16%2Flinux-console-cli-ncurses-samba-shared-folder-browser-browsing.html&amp;linkname=Linux%20console%2FCLI%2Fncurses%20samba%20shared%20folders%20browsing" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F04%2F16%2Flinux-console-cli-ncurses-samba-shared-folder-browser-browsing.html&amp;linkname=Linux%20console%2FCLI%2Fncurses%20samba%20shared%20folders%20browsing" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F04%2F16%2Flinux-console-cli-ncurses-samba-shared-folder-browser-browsing.html&amp;linkname=Linux%20console%2FCLI%2Fncurses%20samba%20shared%20folders%20browsing" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F04%2F16%2Flinux-console-cli-ncurses-samba-shared-folder-browser-browsing.html&amp;linkname=Linux%20console%2FCLI%2Fncurses%20samba%20shared%20folders%20browsing" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F04%2F16%2Flinux-console-cli-ncurses-samba-shared-folder-browser-browsing.html&#038;title=Linux%20console%2FCLI%2Fncurses%20samba%20shared%20folders%20browsing" data-a2a-url="https://bogdan.org.ua/2009/04/16/linux-console-cli-ncurses-samba-shared-folder-browser-browsing.html" data-a2a-title="Linux console/CLI/ncurses samba shared folders browsing"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/04/16/linux-console-cli-ncurses-samba-shared-folder-browser-browsing.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux: how to remove trailing ^M (carriage return)</title><link>https://bogdan.org.ua/2009/03/30/linux-how-to-remove-trailing-control-m-carriage-return.html</link> <comments>https://bogdan.org.ua/2009/03/30/linux-how-to-remove-trailing-control-m-carriage-return.html#comments</comments> <pubDate>Mon, 30 Mar 2009 09:43:11 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[carriage return]]></category> <category><![CDATA[files]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[multiple]]></category> <category><![CDATA[remove]]></category> <category><![CDATA[trailing space]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=640</guid> <description><![CDATA[Imagine you have some styles.css transferred from Win machine to Linux via FTP in binary mode instead of ASCII mode; then cat styles.css &#124; tr -d &#34;\r&#34; > styles-nocarriage.css will create styles-nocarriage.css with ^M&#8217;s removed. Alternative syntax: tr -d &#34;\r&#34; < styles.css > styles-nocarriage.css Most editors have global replace features which allow to get rid [&#8230;]]]></description> <content:encoded><![CDATA[<p>Imagine you have some <strong>styles.css</strong> transferred from Win machine to Linux via FTP in binary mode instead of ASCII mode; then</p><blockquote><p>cat styles.css | tr -d &quot;\r&quot; > styles-nocarriage.css</p></blockquote><p>will create<strong> styles-nocarriage.css</strong> with ^M&#8217;s removed.</p><p>Alternative syntax:</p><blockquote><p>tr -d &quot;\r&quot; < styles.css > styles-nocarriage.css</p></blockquote><p>Most editors have global replace features which allow to get rid of control characters using regular expressions (exact instructions are editor-specific).</p><p>For <strong>multiple files</strong>, try this:</p><blockquote><p> for f<br
/> do<br
/> mv $f ${f}~ &amp;&amp; tr -d &quot;\r&quot; <${f}~ >$f<br
/> rm ${f}~<br
/> done</p></blockquote><p>Save this shell script as a file (e.g. <strong>dos2unix.sh</strong>), then do <strong>./dos2unix.sh</strong> <em><filename(s)></em>. This script accepts wildcards (e.g. <strong>./dos2unix.sh *.php</strong>), so be careful!</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F03%2F30%2Flinux-how-to-remove-trailing-control-m-carriage-return.html&amp;linkname=Linux%3A%20how%20to%20remove%20trailing%20%5EM%20%28carriage%20return%29" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F03%2F30%2Flinux-how-to-remove-trailing-control-m-carriage-return.html&amp;linkname=Linux%3A%20how%20to%20remove%20trailing%20%5EM%20%28carriage%20return%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F03%2F30%2Flinux-how-to-remove-trailing-control-m-carriage-return.html&amp;linkname=Linux%3A%20how%20to%20remove%20trailing%20%5EM%20%28carriage%20return%29" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F03%2F30%2Flinux-how-to-remove-trailing-control-m-carriage-return.html&amp;linkname=Linux%3A%20how%20to%20remove%20trailing%20%5EM%20%28carriage%20return%29" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F03%2F30%2Flinux-how-to-remove-trailing-control-m-carriage-return.html&amp;linkname=Linux%3A%20how%20to%20remove%20trailing%20%5EM%20%28carriage%20return%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F03%2F30%2Flinux-how-to-remove-trailing-control-m-carriage-return.html&#038;title=Linux%3A%20how%20to%20remove%20trailing%20%5EM%20%28carriage%20return%29" data-a2a-url="https://bogdan.org.ua/2009/03/30/linux-how-to-remove-trailing-control-m-carriage-return.html" data-a2a-title="Linux: how to remove trailing ^M (carriage return)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/03/30/linux-how-to-remove-trailing-control-m-carriage-return.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Installing new Debian systems with debootstrap</title><link>https://bogdan.org.ua/2009/02/26/installing-new-debian-systems-with-debootstrap.html</link> <comments>https://bogdan.org.ua/2009/02/26/installing-new-debian-systems-with-debootstrap.html#comments</comments> <pubDate>Thu, 26 Feb 2009 20:39:02 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[debootstrap]]></category> <category><![CDATA[linux]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=617</guid> <description><![CDATA[(&#8230;) it is a very useful tool for performing installations if you&#8217;ve got something like a LiveCD which supports your hardware. (&#8230;) Installing new Debian systems with debootstrap, and also as a debootstrap PDF (with comments).]]></description> <content:encoded><![CDATA[<blockquote><p>(&#8230;)<br
/> it is a very useful tool for performing installations if you&#8217;ve got something like a LiveCD which supports your hardware.<br
/> (&#8230;)</p></blockquote><p><a
href="http://www.debian-administration.org/articles/426"> Installing new Debian systems with debootstrap</a>, and also as a <a
href="http://bogdan.org.ua/wp-content/uploads/2009/02/debootstrap.pdf">debootstrap PDF</a> (with comments).</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F02%2F26%2Finstalling-new-debian-systems-with-debootstrap.html&amp;linkname=Installing%20new%20Debian%20systems%20with%20debootstrap" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F02%2F26%2Finstalling-new-debian-systems-with-debootstrap.html&amp;linkname=Installing%20new%20Debian%20systems%20with%20debootstrap" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F02%2F26%2Finstalling-new-debian-systems-with-debootstrap.html&amp;linkname=Installing%20new%20Debian%20systems%20with%20debootstrap" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F02%2F26%2Finstalling-new-debian-systems-with-debootstrap.html&amp;linkname=Installing%20new%20Debian%20systems%20with%20debootstrap" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F02%2F26%2Finstalling-new-debian-systems-with-debootstrap.html&amp;linkname=Installing%20new%20Debian%20systems%20with%20debootstrap" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F02%2F26%2Finstalling-new-debian-systems-with-debootstrap.html&#038;title=Installing%20new%20Debian%20systems%20with%20debootstrap" data-a2a-url="https://bogdan.org.ua/2009/02/26/installing-new-debian-systems-with-debootstrap.html" data-a2a-title="Installing new Debian systems with debootstrap"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/02/26/installing-new-debian-systems-with-debootstrap.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>