<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1400765799263079238.post4409243993055778109..comments</id><updated>2011-06-21T01:43:06.448-04:00</updated><category term='linux'/><category term='globaljam'/><category term='Windows integration'/><category term='openweek'/><category term='QA'/><category term='photography'/><category term='books'/><category term='community'/><category term='developerweek'/><category term='logiciel libre'/><category term='monitoring'/><category term='canonical'/><category term='networking'/><category term='advocacy'/><category term='free software'/><category term='cisco'/><category term='social networking'/><category term='commands'/><category term='opensource'/><category term='ubuntu-qc'/><category term='planet-ubuntu'/><category term='launchpad'/><category term='ubuntu'/><category term='testing'/><category term='hardware'/><category term='motu'/><title type='text'>Comments on Matt's blog: Hacking on usb-modeswitch, part 1</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.cyphermox.net/feeds/4409243993055778109/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/4409243993055778109/comments/default'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2011/06/hacking-on-usb-modeswitch-part-1.html'/><author><name>cyphermox</name><uri>http://www.blogger.com/profile/10138570513134453565</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-gDEZH5Re6fs/TZO1GyFqSCI/AAAAAAAABOg/PUvniy4sNaw/s220/clean_face_192.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-7837915636904266519</id><published>2011-06-21T01:43:06.448-04:00</published><updated>2011-06-21T01:43:06.448-04:00</updated><title type='text'>Compressed tar is not a good format for an archive...</title><content type='html'>Compressed tar is not a good format for an archive that needs random access as there is no directory or index. To find a file, the whole archive needs to be scanned.&lt;br /&gt;&lt;br /&gt;Zip is a lot better n that regard; that is why it is used by things like Java and Open Document Format.&lt;br /&gt;&lt;br /&gt;This will allow the best of both worlds...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/4409243993055778109/comments/default/7837915636904266519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/4409243993055778109/comments/default/7837915636904266519'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2011/06/hacking-on-usb-modeswitch-part-1.html?showComment=1308634986448#c7837915636904266519' title=''/><author><name>Oh wat mooi</name><uri>http://www.blogger.com/profile/03727570712905579862</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2011/06/hacking-on-usb-modeswitch-part-1.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-4409243993055778109' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/4409243993055778109' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1345103118'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-3572058284910018124</id><published>2011-06-19T04:54:38.625-04:00</published><updated>2011-06-19T04:54:38.625-04:00</updated><title type='text'>(I&amp;#39;m the Debian maintainer for usb-modeswitch{...</title><content type='html'>(I&amp;#39;m the Debian maintainer for usb-modeswitch{,-data} ).&lt;br /&gt;&lt;br /&gt;Honestly, I don&amp;#39;t think the unpacking performance has any measurable impact: it happens _once_ per device, per switching. And it&amp;#39;s not an operation that blocks the boot, as the udev script forks (hence not blocking the boot process).&lt;br /&gt;&lt;br /&gt;As for the /var/cache idea, it could be done, but again I&amp;#39;m not sure that it would help, performance-wise: you still have to check for overrides in /etc/, purge the cache on databases upgrades, etc.&lt;br /&gt;&lt;br /&gt;But I agree the tcl-script C rewrite is a good thing as it will reduce the dependencies footprint of usb-modeswitch.&lt;br /&gt;&lt;br /&gt;Btw, feel free to contact me or upstream to discuss things further, I would be happy to avoid a diff between Debian and Ubuntu&amp;#39; usb-modeswitch&amp;#39;es.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/4409243993055778109/comments/default/3572058284910018124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/4409243993055778109/comments/default/3572058284910018124'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2011/06/hacking-on-usb-modeswitch-part-1.html?showComment=1308473678625#c3572058284910018124' title=''/><author><name>odyx</name><uri>https://launchpad.net/~odyx</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2011/06/hacking-on-usb-modeswitch-part-1.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-4409243993055778109' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/4409243993055778109' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1593302642'/></entry><entry><id>tag:blogger.com,1999:blog-1400765799263079238.post-723520880584159036</id><published>2011-06-18T19:56:56.227-04:00</published><updated>2011-06-18T19:56:56.227-04:00</updated><title type='text'>You should keep the tarball of the files, but use ...</title><content type='html'>You should keep the tarball of the files, but use a caching directory in /var/cache/ to hold the file you need. It can stay there for years if need be.&lt;br /&gt;&lt;br /&gt;That way the performance delay will only happen on the first boot.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/4409243993055778109/comments/default/723520880584159036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1400765799263079238/4409243993055778109/comments/default/723520880584159036'/><link rel='alternate' type='text/html' href='http://blog.cyphermox.net/2011/06/hacking-on-usb-modeswitch-part-1.html?showComment=1308441416227#c723520880584159036' title=''/><author><name>doctormo</name><uri>http://www.blogger.com/profile/06137895930737497418</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_gFR5rRnuzvA/ScMAFvYMK9I/AAAAAAAAADk/OLtPYAyC-uQ/S220/DSCN1888-sm.jpeg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.cyphermox.net/2011/06/hacking-on-usb-modeswitch-part-1.html' ref='tag:blogger.com,1999:blog-1400765799263079238.post-4409243993055778109' source='http://www.blogger.com/feeds/1400765799263079238/posts/default/4409243993055778109' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-551602008'/></entry></feed>
