<?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>mattgadient.com &#187; OS</title> <atom:link href="http://mattgadient.com/category/os/feed/" rel="self" type="application/rss+xml" /><link>http://mattgadient.com</link> <description>Informational blogging by Matthew Gadient.</description> <lastBuildDate>Tue, 22 May 2012 17:07:18 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>AMD Mobility Radeon 11.9 drivers for Win7 x64 on the Macbook Pro</title><link>http://mattgadient.com/2011/10/16/amd-mobility-radeon-11-9-drivers-for-win7-x64-on-the-macbook-pro/</link> <comments>http://mattgadient.com/2011/10/16/amd-mobility-radeon-11-9-drivers-for-win7-x64-on-the-macbook-pro/#comments</comments> <pubDate>Sun, 16 Oct 2011 09:06:14 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/?p=943</guid> <description><![CDATA[If you&#8217;re here, you&#8217;ve probably on a Macbook Pro, you&#8217;ve tried the AMD/ATI utility that&#8217;s supposed to auto-detect your GPU (which refused to work), and tried the standalone mobility installer (which only installed CCC but left your old drivers). In desperation, you might&#8217;ve tried the desktop utility which was just as unsuccessful. In any case, [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;re here, you&#8217;ve probably on a Macbook Pro, you&#8217;ve tried the AMD/ATI utility that&#8217;s supposed to auto-detect your GPU (which refused to work), and tried the standalone mobility installer (which only installed CCC but left your old drivers). In desperation, you might&#8217;ve tried the desktop utility which was just as unsuccessful.</p><p>In any case, there are 11.9 drivers that&#8217;ll work on the MBP (running Windows 7 64-bit), and they don&#8217;t require crazy hacks or anything. They&#8217;re just a pain to find. They&#8217;ll show up as the &#8220;<em>6600m and 6700m series</em>&#8221; once installed as you&#8217;ll see in the image below.</p><p><a
href="http://mattgadient.com/wp-content/uploads/2011/10/radeon-11-9-macbook-pro.png" rel="lightbox[943]"><img
class="alignnone size-full wp-image-944" title="radeon-11-9-macbook-pro" src="http://mattgadient.com/wp-content/uploads/2011/10/radeon-11-9-macbook-pro.png" alt="" width="389" height="425" /></a></p><p>&nbsp;</p><p>They&#8217;re on AMD&#8217;s site here:<br
/> <a
href="http://www2.ati.com/DRIVERS/mobile/11-9_mobility_vista_win7_64_dd_ccc_ocl.exe" target="_blank">http://www2.ati.com/DRIVERS/mobile/11-9_mobility_vista_win7_64_dd_ccc_ocl.exe</a></p><p>Yes, they look strikingly similar to the mobility drivers you probably already downloaded, but the filename is slightly different (note the &#8220;ocl&#8221; in the filename), as is the source location. They also appear to be 64-bit only (versus 32/64 in the easier-to-find-but-totally-worthless version).</p><p>It installs without much of a hitch (Microsoft Visual C library might not install due to being old, but that was it for me). It&#8217;s worth noting that I uninstalled the old drivers first through the AMD/ATI uninstaller. It may not be necessary, but if you run into headaches, it&#8217;s worth trying to uninstall the old stuff first.</p><p>Credit to <a
href="https://discussions.apple.com/message/16301351#16301351" target="_blank">twannguyen on the Apple disscusion boards</a> for this one.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2011/10/16/amd-mobility-radeon-11-9-drivers-for-win7-x64-on-the-macbook-pro/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Mac OS X slow for 10-15 minutes after boot &#8211; THE FIX</title><link>http://mattgadient.com/2011/02/18/mac-os-x-slow-for-10-15-minutes-after-boot-the-fix/</link> <comments>http://mattgadient.com/2011/02/18/mac-os-x-slow-for-10-15-minutes-after-boot-the-fix/#comments</comments> <pubDate>Fri, 18 Feb 2011 20:39:11 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/?p=838</guid> <description><![CDATA[Scroll down to the pictures if you want to get right to the fix. The Symptoms: The actual boot-up is pretty quick. As soon as you log in, it slows down to a crawl. The desktop takes forever to load after boot. Programs take forever to start immediately after boot. You may hear the hard [...]]]></description> <content:encoded><![CDATA[<p><em>Scroll down to the pictures if you want to get right to the fix.</em></p><p>The Symptoms:</p><ul><li>The actual boot-up is pretty quick. As soon as you log in, it slows down to a crawl.</li><li>The desktop takes forever to load after boot.</li><li>Programs take forever to start immediately after boot.</li><li>You may hear the hard drive ticking (thrashing) during this slow period.</li><li>It may appear as though the hard drive is swapping during this slow period. You might think the page file is swapping like crazy.</li><li>After 15-20 minutes, everything&#8217;s speedy again.</li></ul><p>Sound like the problem you&#8217;re having?</p><p>If the answer to that is &#8220;yes&#8221;, here&#8217;s the next question&#8230;. Are you running a Windows bootcamp partition? If the answer to that one&#8217;s &#8220;yes&#8221; too, you&#8217;ve just found the cause.</p><p>&#8212;</p><p>Actually, it&#8217;s not bootcamp&#8217;s fault. It&#8217;s Apple&#8217;s built-in Spotlight search (represented by the little magnifying glass in the top-right corner of your screen). Every time the computer restarts, it tries to rebuilt the entire search index on your Windows BOOTCAMP partition. This takes a really long time, and the rest of your computer slows down while this rebuild takes place.</p><p>So how to we fix it? We disable Spotlight&#8217;s indexing on the BOOTCAMP drive.</p><p>&#8212;</p><p>It&#8217;s a bit of a convoluted process, so I&#8217;ve tried to make this pretty simple. Here are the steps:</p><p>1) Boot into Windows (your bootcamp partition).</p><p>2) Run the &#8220;Command Prompt&#8221; program as an Administrator. Here&#8217;s a picture to help:</p><div
id="attachment_839" class="wp-caption alignnone" style="width: 647px"><a
href="http://mattgadient.com/wp-content/uploads/2011/02/metadata_never_index_1.png" rel="lightbox[838]"><img
class="size-full wp-image-839" title="metadata_never_index_1" src="http://mattgadient.com/wp-content/uploads/2011/02/metadata_never_index_1.png" alt="" width="637" height="410" /></a><p
class="wp-caption-text">(1) Click &quot;Start&quot;, (2) go to &quot;All Programs / Accessories&quot;, (3) RIGHT CLICK on the &quot;Command Prompt&quot; program, and (4) choose &quot;Run as administrator&quot;.</p></div><p>3) Now, we have to create an empty file called <strong><span
style="color: #000000;">.metadata_never_index</span></strong> on the C drive, to tell Spotlight <span
style="text-decoration: underline;">not</span> to index/search this Windows drive anymore. Here&#8217;s how we do it:</p><p>3a) Type <span
style="color: #ff0000;"><strong>cd \ </strong></span>and press enter.</p><p>3b) Type <span
style="color: #ff0000;"><strong>type NUL &gt; .metadata_never_index</strong></span> and press enter.</p><p>Picture below to help:</p><div
id="attachment_842" class="wp-caption alignnone" style="width: 687px"><a
href="http://mattgadient.com/wp-content/uploads/2011/02/metadata_never_index_3.png" rel="lightbox[838]"><img
class="size-full wp-image-842" title="metadata_never_index_3" src="http://mattgadient.com/wp-content/uploads/2011/02/metadata_never_index_3.png" alt="" width="677" height="342" /></a><p
class="wp-caption-text">The stuff you type is in red. I put little blue arrows to show where you need to leave a space (spacebar).</p></div><p>Make sure you use the proper <span
style="color: #ff0000;"><strong>\</strong></span> (backslash), the proper <strong><span
style="color: #ff0000;">&gt;</span></strong> (greater-than sign), and the proper <span
style="color: #ff0000;"><strong>_</strong></span> (underscore).</p><p>4) Without the fancy coloring, here&#8217;s what it&#8217;ll look like:</p><div
id="attachment_843" class="wp-caption alignnone" style="width: 687px"><a
href="http://mattgadient.com/wp-content/uploads/2011/02/metadata_never_index_2.png" rel="lightbox[838]"><img
class="size-full wp-image-843" title="metadata_never_index_2" src="http://mattgadient.com/wp-content/uploads/2011/02/metadata_never_index_2.png" alt="" width="677" height="342" /></a><p
class="wp-caption-text">This is what it looks like, without color.</p></div><p>5) DONE!</p><p>&#8212;-</p><p>Now you can close Command Prompt, and restart back into Mac OS X again. You should notice the delay is gone. The desktop will show up quickly, and your programs should be nice and speedy once again.</p><p>&#8212;-</p><p><span
style="color: #000080;"><strong><span
style="text-decoration: underline;">Note:</span></strong> While this speeds up your Mac again, note that when you try to search through Spotlight or Finder, it won&#8217;t search the BOOTCAMP partition anymore (it&#8217;ll only search the contents of your Mac drive). You can still read/access the Windows drive, but you can&#8217;t search it. This generally doesn&#8217;t matter for most people &#8211; usually the only time you want to search for a Windows file is when you&#8217;re booted into Windows already anyway (which you can still do), but keep it in mind.</span></p><p><span
style="color: #000080;"> </span>If you ever want to UNDO the change, all you have to do is delete the <strong>.metadata_never_index</strong> file. You could do it through the command prompt, or possibly through Windows Explorer (you may have to change the settings to un-hide everything for it to show up).</p><p>&#8212;-</p><p>Finally, for those who are wondering why it&#8217;s such a convoluted process to create the <strong>.metadata_never_index</strong> file, there are a few things at play. First, OS X won&#8217;t write to an NTFS partition, which all the latest editions of Windows tend to use. So you can&#8217;t create the file without booting into Windows. Second, Windows programs won&#8217;t let you create a file that starts with a period, which is why it&#8217;s being done through a command prompt. Windows also won&#8217;t let you put anything on the root drive unless you&#8217;re running as administrator.</p><p>There are other ways you could go about doing it, but this is the most concise way I could think of. Anything else involves either something like Macfuse/3G-NTFS (which most people don&#8217;t have), or by using notepad to create a file and renaming it (which you&#8217;d have to do through the Command Prompt anyway). You could replace &#8220;<em><strong>type NUL</strong></em>&#8221; with &#8220;<em><strong>echo.</strong></em>&#8221; if you wanted, but you&#8217;d end up with a 3-byte line break in the file, whereas this way you get a 0-byte file.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2011/02/18/mac-os-x-slow-for-10-15-minutes-after-boot-the-fix/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>How to fix Windows not installing to a GPT partition.</title><link>http://mattgadient.com/2010/08/12/how-to-fix-windows-not-installing-to-a-gpt-partition/</link> <comments>http://mattgadient.com/2010/08/12/how-to-fix-windows-not-installing-to-a-gpt-partition/#comments</comments> <pubDate>Thu, 12 Aug 2010 09:42:13 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/?p=790</guid> <description><![CDATA[If you have a hard drive from a Mac computer (or from a Hackintosh), toss it in a regular PC and decide to install Windows to the drive, you might get the following message: Windows cannot be installed to this disk. The selected disk is of the GPT partition style. The reason is because the [...]]]></description> <content:encoded><![CDATA[<p>If you have a hard drive from a Mac computer (or from a Hackintosh), toss it in a regular PC and decide to install Windows to the drive, you might get the following message:</p><blockquote><p>Windows cannot be installed to this disk. The selected disk is of the GPT partition style.</p></blockquote><p>The reason is because the Mac OS uses the &#8220;GUID Partition Table&#8221; partition scheme, whereas Windows/DOS use what&#8217;s known as MBR (Master Boot Record). For whatever reason, the Windows installer is incapable of changing this (funny because I used to use Windows installation CD&#8217;s on drives I absolutely could not format with other operating systems and it always used to work).</p><p>In any case, you&#8217;ll need another program to repartion the drive first. I recommend <a
href="http://www.hirensbootcd.net/download.html">Hiren&#8217;s Boot CD</a> (once you go to that site, the link is way at the bottom just below the final ad). You can also use something like SeaTools if you&#8217;ve got a Seagate hard drive to wipe the thing clean (or another tool from another manufacturer).</p><p>The steps using Hiren&#8217;s Boot CD:</p><ul><li>Download the ISO on another computer and burn it the image to a CD or DVD.</li><li>DISCONNECT any other USB drives and other hard drives on the computer you&#8217;re installing to so that you don&#8217;t accidentally delete stuff on hard drives you don&#8217;t want deleted! You should only have the 1 hard drive installed!!!!!</li><li>Boot from the CD.</li><li>Choose &#8220;Dos programs&#8221;</li><li>Choose &#8220;Partition Tools&#8221;</li><li>Choose &#8220;GParted Partition Editor&#8221; (it&#8217;s GUI and easy to use &#8211; if your mouse isn&#8217;t detected for some reason you&#8217;ll have to go crazy with the tab button though)</li><li>Select the partitions on the hard drive. You might have 2 showing &#8211; a 200MB one (probably shows up as fat32) and the other large one that makes up most of the hard drive&#8217;s total size (probably shows up as hfs+).</li><li>&#8211;To do this, you click &#8220;Partition&#8221; &#8211; &#8220;Delete&#8221; &#8211; after you&#8217;ve done it you need to click the &#8220;Apply&#8221; button to apply the changes. Remember to do this for all the partitions on the hard drive to wipe it clean.</li><li>Now you should only have 1 item showing in the list &#8211; the unpartitioned drive. Click &#8220;Device&#8221; &#8211; &#8220;Create Partition Table&#8221;</li><li>&#8211;The default is named fat or fat32 or ms-dos or something. It&#8217;s fine. You may have to &#8220;Apply&#8221; afterwards.</li><li>Now create a new partition. Choose &#8220;Partition&#8221; &#8211; &#8220;New&#8221; and select &#8220;fat32&#8243; from the side. You COULD choose NTFS, but I prefer to choose FAT32 so that Windows has to delete it and make a new NTFS that&#8217;s guaranteed to work. &#8220;Apply&#8221; again if necessary.</li><li>Now eject the CD, put in your Windows CD, and hit the reset button on your computer.</li><li>When you get to the hard drive screen on the Windows installer, it&#8217;ll have an error message at the bottom (where the old GPT message was) about the drive needing to be formatted as NTFS. Select the &#8220;Delete&#8221; option. Then click next and it&#8217;ll automatically format the drive as NTFS and install.</li><li>Once Windows has finished installing, go ahead and reconnect any 2nd/3rd hard drives you had connected before.</li></ul><p>I&#8217;ll note that ALL the above steps are probably not necessary. However, I prefer to be thorough, and this is the way I&#8217;ve done it both times and it worked perfectly.</p><p>It&#8217;s odd that the Windows installer is smart enough to detect the GPT partition scheme but not smart enough to overwrite it with an MBR scheme. Fortunately, there are other partition managers capable of doing it, and many are included in the Hiren Boot CD. It&#8217;s inconvenient, but it works well.</p><p>This issue affects the Windows Vista installation disk. It may also affect Windows 7 install DVD and Windows XP installer CD.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/08/12/how-to-fix-windows-not-installing-to-a-gpt-partition/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Getting a smaller Windows 7 taskbar &#8211; the setting</title><link>http://mattgadient.com/2010/08/10/getting-a-smaller-windows-7-taskbar-the-setting/</link> <comments>http://mattgadient.com/2010/08/10/getting-a-smaller-windows-7-taskbar-the-setting/#comments</comments> <pubDate>Tue, 10 Aug 2010 13:04:24 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/?p=788</guid> <description><![CDATA[If you need more screen real-estate (particularly if using a Netbook), you might want to reduce the size of your taskbar in Windows 7. It&#8217;s pretty easy to do: right-click on an empty area of the task bar choose &#8220;Properties&#8221; select the &#8220;Use small icons&#8221; checkbox click &#8220;Apply&#8221; The task bar will shrink. Program icons [...]]]></description> <content:encoded><![CDATA[<p>If you need more screen real-estate (particularly if using a Netbook), you might want to reduce the size of your taskbar in Windows 7.</p><p>It&#8217;s pretty easy to do:</p><ol><li>right-click on an empty area of the task bar</li><li>choose &#8220;Properties&#8221;</li><li>select the &#8220;Use small icons&#8221; checkbox</li><li>click &#8220;Apply&#8221;</li></ol><p>The task bar will shrink. Program icons will change to the size of the icons in your notification area. Only the time will display in the far right (the date will disappear because there&#8217;s no room for it below the time anymore, although you can always mouse over the time to see the date).</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/08/10/getting-a-smaller-windows-7-taskbar-the-setting/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>compact.exe in a Netbook with a standard 5400RPM drive &#8211; the test</title><link>http://mattgadient.com/2010/08/10/compact-exe-in-a-netbook-with-a-standard-5400rpm-drive-the-test/</link> <comments>http://mattgadient.com/2010/08/10/compact-exe-in-a-netbook-with-a-standard-5400rpm-drive-the-test/#comments</comments> <pubDate>Tue, 10 Aug 2010 12:09:05 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/?p=786</guid> <description><![CDATA[If you&#8217;ve installed Windows 7 on a netbook, you may have followed the Gizmodo Netbook Guide to do so through a USB memory stick. In the guide, it&#8217;s mentioned that during the install, when it reboots (the first time), you can opt to boot the installer again and run compact.exe on the drive through the [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve installed Windows 7 on a netbook, you may have followed the <a
href="http://gizmodo.com/5257386/how-to-install-windows-7-on-almost-any-netbook">Gizmodo Netbook Guide</a> to do so through a USB memory stick.</p><p>In the guide, it&#8217;s mentioned that during the install, when it reboots (the first time), you can opt to boot the installer again and run compact.exe on the drive through the Repair/CommandPrompt section.</p><p>The idea behind it is that some Netbooks have small SSD&#8217;s, and it can save you some space. What about those with large slow standard notebook drives though? Is there any speed increase/advantage?</p><p>Here&#8217;s where I tried to find out.</p><p>&#8212;</p><p>The hypothesis is that reading from a notebook drive is generally slow. If you compress the data, there&#8217;s less to read on the drive which is good (it should speed things up). The trade-off is that the CPU has to decompress the files as they&#8217;re read into memory (which may slow things down).</p><p>So how does it work out? Like this:</p><div
id="attachment_787" class="wp-caption alignnone" style="width: 449px"><a
href="http://mattgadient.com/wp-content/uploads/2010/08/netbook-test-compact.exe-vs-non.png" rel="lightbox[786]"><img
class="size-full wp-image-787" title="Netbook compact.exe boot speed test" src="http://mattgadient.com/wp-content/uploads/2010/08/netbook-test-compact.exe-vs-non.png" alt="" width="439" height="312" /></a><p
class="wp-caption-text">Blue=standard Red=compact.exe</p></div><p>I apologize for the small text in the key (darn Google Docs&#8230;). The blue bars are the results for a default install. The red bars are the results when compact.exe was run on the drive during the install.</p><p>More specifically, the times (taken with a stopwatch from the moment I hit enter at the boot menu) were as follows:<span
id="more-786"></span></p><p><strong>Default Install:</strong><br
/> 51.2 seconds to Desktop (2nd reboot)<br
/> 51.7 seconds to startup chime (2nd reboot, estimated)</p><p><strong>compact.exe Install:</strong><br
/> 47.1 seconds to Desktop (2nd reboot)<br
/> 52.3 seconds to startup chime (3rd reboot)</p><p>You&#8217;ll notice something odd. In the default install, the startup chime came immediately after the desktop showed up. In the compact.exe install, the desktop showed up earlier, but the startup chime was delayed a few seconds. In fact, the chime came up around the same time as the default install.</p><p>One thing to note is that compact.exe fragments the files. The hard drive showed as 43% fragmented afterwards! Defragmenting the compacted hard drive may bring the boot times down even more!</p><p>&#8212;</p><h3><strong>Test Method:</strong></h3><p>This was done on an MSI L1300 Netbook. It looks to be exactly the same as the MSI Wind U130 (specs are the same, and MSI redirects you to the MSI Wind U130&#8242;s drivers when you try to grab drivers for the L1300).<br
/> Intel Atom N450 (1.66Ghz)<br
/> 1GB DDR2 RAM<br
/> 1GB SATA WDC WD1600BEVT-22A23T0 (Western Digital 5400RPM) hard drive<br
/> Windows 7 Home Professional 32-bit was the OS used.</p><p>It was a fresh install for both scenerios. The netbook was restarted twice after the installation finished. For both restarts, the default install had the startup chime immediately after the desktop showed up, whereas the compact.exe install had the startup chime seconds later (which is why a 3rd restart was done to get an exact reading). Time was taken with a stopwatch program, and should be accurate to within 1/4 second or so.</p><p>&#8212;</p><h3><strong>Thoughts</strong></h3><p>In hindsight, I should have run additional tests having programs start up at boot. I really wanted to avoid adding variables though (prefetch etc), which is why I did this in a basic boot-only, virgin manner.</p><p>It appears that there&#8217;s no disadvantage to using compact.exe. At best it shaved a few seconds from the boot time, and at worst was about the same in terms of the start-up chime (well within the margin for error anyway).</p><p>If you&#8217;re using the N450, or another Atom chip that&#8217;s comparable or faster, I&#8217;d recommend going through the compact.exe process if using a non-SSD hard drive (a 5400RPM drive anyway).</p><p>If you&#8217;ve got a slower chip, I&#8217;d suggest benchmarking for yourself to see. Remember that decompressing on the fly does use some processor power which might otherwise be going to other start-up tasks.</p><p>Again, if using an SSD, it&#8217;s almost certainly not worth it speed-wise &#8211; the biggest reason here is to reduce the space taken.</p><p>&#8212;</p><h3><strong>Final notes on the compact.exe process:</strong></h3><p>This is done during install. See the <a
href="http://gizmodo.com/5257386/how-to-install-windows-7-on-almost-any-netbook">Gizmodo Netbook Article</a> for details.</p><p>Running compact.exe took just under an hour on my hard drive.</p><p>56155 files were compacted. Size was reduced from 8.7GB to 5.9GB. The overall compression ratio was 1.5:1</p><p>compact.exe fragments the files (43% fragmented in my case!). Run disk defragmenter afterwards.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/08/10/compact-exe-in-a-netbook-with-a-standard-5400rpm-drive-the-test/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>FreeNAS &#8211; a powerful file serving solution, but not without it&#8217;s issues</title><link>http://mattgadient.com/2010/05/23/freenas-a-powerful-file-serving-solution-but-not-without-its-issues/</link> <comments>http://mattgadient.com/2010/05/23/freenas-a-powerful-file-serving-solution-but-not-without-its-issues/#comments</comments> <pubDate>Sun, 23 May 2010 09:26:28 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/2010/05/23/freenas-a-powerful-file-serving-solution-but-not-without-its-issues/</guid> <description><![CDATA[Here&#8217;s the deal. I had a pretty low power machine with an i3, integrated video, etc. It&#8217;s life long dream was of course to be our new file server so that I could start shutting off my sauna-in-a-case rig that was serving files 24/7 while out-performing our home furnace in heat output. The i3 got [...]]]></description> <content:encoded><![CDATA[<p>Here&#8217;s the deal.</p><p>I had a pretty low power machine with an i3, integrated video, etc. It&#8217;s life long dream was of course to be our new file server so that I could start shutting off my sauna-in-a-case rig that was serving files 24/7 while out-performing our home furnace in heat output.</p><p>The i3 got it&#8217;s wish. It&#8217;s serving files, the other one&#8217;s off, and my room&#8217;s 10 degrees colder.</p><p>-</p><p>Enough blathering though.</p><p>-</p><p>Here&#8217;s what I like about FreeNAS:</p><ol><li>ZFS &#8211; If you don&#8217;t know what the ZFS file system is, it&#8217;s pretty bloody amazing &#8211; look it up. Look up RAIDZ in particular (the RAID5 of ZFS). Yes, FreeNAS supports the other <span
id="more-750"></span>junk (FAT/32, NTFS, HFS+, EXT#, UFS, etc), but ZFS is just&#8230; well&#8230; so good. It&#8217;s not *all* roses, but I&#8217;ll explain that later.</li><li>Installs to a USB memory stick &#8211; This is pretty key. One less hard drive to power, less heat, more room in the case. It&#8217;s got a small memory footprint which it also pops into RAM.</li><li>Headless administration &#8211; once installed, it can be administered through your browser (just like a router). No keyboard, no mouse, no monitor required.</li><li>E-mail alerts &#8211; This is a biggie. If you decide to run it headless and a hard drive fails&#8230; how will you know? I suppose if you&#8217;re running a single drive you&#8217;ll figure it out when you can&#8217;t access it, but when you&#8217;re running a headless RAID5/6/etc, a dead drive in your array might be a good thing to know about. You can up FreeNAS to email you alerts (as long as you&#8217;ve got an internet connection of course).</li><li>Graphical interface (ties in to #3). It does fall short here sometimes, but I&#8217;ll rag on it a little further down.</li><li>A pile of protocols/services. You&#8217;ve got the regular networking options (CIFS/SMB, AFP, NFS), the techie stuff (FTP, SSH, RSync, etc), the fun stuff (iTunes server, BitTorrent), and a few others.</li></ol><p>There&#8217;s more when you get into the details, but in terms of comparing the major overall features, the above is what really helped it stand out for me (except for #6, many others have a whole slew of services too).</p><p>As I said earlier though, it&#8217;s not all roses.</p><p>-</p><h4>FreeNAS ZFS</h4><p>ZFS, for all it&#8217;s sheer awesomeness isn&#8217;t perfect. For starters (and this is a FreeNAS thing), only the more recent versions of ZFS have data deduplication. What&#8217;s data de-duplication? Well, Windows Home Server has a feature where if you have 2 copies of the exact same file, it&#8217;ll only physically store one of them to save space. ZFS goes beyond that, and in addition to that, if you have *parts* of a file that are the same, it&#8217;ll only physically store one copy of those parts. All automatically in the background (assuming it&#8217;s turned on of course). FreeNAS from what I gather will eventually get this, but it could be a while yet, while other NAS&#8217;s like Nexenta and EON already have it.</p><p>ZFS also has it&#8217;s own issues (unrelated to FreeNAS).</p><p>For instance, you can enable various compression levels through gzip, or use lzjb. Depending on your processor power, amount of RAM, and hard drive speeds, this can actually speed up file transfers in addition to saving you space. Sounds good, right? Well&#8230; not completely. Enabling compression caused FreeNAS to restart on certain files in my case. If you don&#8217;t have enough RAM, you can have problems with ZFS. If you haven&#8217;t configured something you needed to, you can have problems.</p><p>What this really boils down to is that as powerful and awesome as ZFS is, it&#8217;s not always an out-of-the-box-stable-and-it-works sort of thing. You&#8217;re supposed to configure different settings for ZFS, first to make it stable with your configuration, and then to tweak it. A 32-bit install may need different settings than a 64-bit install. Compare this to the other file systems that are generally rock-solid out of the box even without a lick of configuration.</p><p>For those who&#8217;ve run servers, it&#8217;s similar to tweaking MySQL. You have to learn, do a little trial and error, and in the end you can have a pretty amazing set-up, utilizing all the power you can harness. It&#8217;s not beginner friendly though. It would help if FreeNAS had some built-in GUI goodness to help with this, but it doesn&#8217;t.</p><p>-</p><h4>Installation</h4><p>As long as you&#8217;re comfortable setting up your network configuration (really not much more than your IP address and subnet mask), you&#8217;re fine there. The only real issue I had here was that you need to burn a CD first, then use it to install on the memory stick. Since the CD-ROM will presumably never see use again, you&#8217;ll end up wanting to take it out again until the next upgrade, when you&#8217;ll have to burn a new disk.</p><p>There is a way to just download the image, but you can&#8217;t install it through the Mac&#8217;s Disk Utility (I believe they linked some software to do it with).</p><p>It&#8217;s not the end of the world, and might seem like a nitpick, but it&#8217;s really just an annoyance. I thought we started using USB sticks so we didn&#8217;t have to touch CD&#8217;s anymore!</p><p>-</p><h4>Learning Curve and Lack of GUI stuff</h4><p>Earlier I compared the headless aspect (and GUI) to setting up a router, but someone who&#8217;s *just* figured out how to set up their router is in for a bit of a learning curve. To be completely fair, most of the other stuff that acts as a NAS requires you to do just about everything through the command line (ZFS being a big one). FreeNAS does let you do 90% of the stuff through the GUI, but there are a few things there that will completely lose some people. ZFS configuration being one. Another being setting permissions for things that need it (like AFS). The GUI does so well that it&#8217;s easy to see the places where it does fall short right now. Someone who&#8217;s never had to look at a command prompt / terminal /etc is going to have a really easy time with most things, and then a painfully brutal time with others.</p><p>-</p><h4>Conclusion</h4><p>All-in-all, FreeNAS is arguably one of the best solutions out there right now. It does have it&#8217;s flaws, but as time goes on it&#8217;s almost certain to improve dramatically.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/05/23/freenas-a-powerful-file-serving-solution-but-not-without-its-issues/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>FreeNAS fix &#8211; afp file permissions</title><link>http://mattgadient.com/2010/05/22/freenas-fix-afp-file-permissions/</link> <comments>http://mattgadient.com/2010/05/22/freenas-fix-afp-file-permissions/#comments</comments> <pubDate>Sun, 23 May 2010 05:11:34 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/2010/05/22/freenas-fix-afp-file-permissions/</guid> <description><![CDATA[After setting up users and groups in FreeNAS, I found that I wasn&#8217;t able to give any users write access. I could get guests to read. I could get users to read. I couldn&#8217;t get anyone to write. - For whatever reason, it took a few searches before I came across the mac section of [...]]]></description> <content:encoded><![CDATA[<p>After setting up users and groups in FreeNAS, I found that I wasn&#8217;t able to give any users write access.</p><p>I could get guests to read.</p><p>I could get users to read.</p><p>I couldn&#8217;t get anyone to write.</p><p>-</p><p>For whatever reason, it took a few searches before I came across the mac section of the <a
href="http://freenas.org/documentation:howto:apple_macintosh_setup">FreeNAS documentation here</a>. In any case, I&#8217;m going to guess that not everyone who uses FreeNAS is an SSH guru (although if you are you can just read the above link and skip the rest). Here&#8217;s the somewhat-easy-but-I&#8217;m-still-not-happy-about-it-way of doing it&#8230;</p><p>-</p><p>1) Hopefully you got to the point where you made users and put them in the same group.<br
/> a) If not, find Access/Users_And_Groups in the menu;<br
/> b) create a group (name it something easy)<br
/> c) create users (at least one for you!) and add them to your new group<br
/> It should look something like this afterwards:</p><div
id="attachment_745" class="wp-caption alignnone" style="width: 310px"><a
href="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-access-users-groups.png" rel="lightbox[749]"><img
class="size-medium wp-image-745" title="FreeNAS-access-users-groups" src="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-access-users-groups-300x83.png" alt="" width="300" height="83" /></a><p
class="wp-caption-text">In the above example, &quot;family&quot; is the group. Since my name is Matt, &quot;Matt&quot; is the user we&#39;ll be focusing on for the rest. The actual UID numbers used for the user and groups don&#39;t really matter - just use the defaults.</p></div><p>d) Make sure you&#8217;ve also set up an AFP share (<strong>Services/AFP/Shares</strong>). The next part here <em>might</em> not matter, but may as well do it anyway just in case &#8211; stick your username in the Read/Write access part (may be case sensitive, so be sure to capitalize if necessary).</p><p>2) Assuming you got everything in #1 done, it&#8217;s time to get you some read/write access. Here&#8217;s how we do it:<br
/> a) First you need the location of the folder. Easiest way to get this is to navigate to <strong>Services/AFP/Shares</strong> (just like in the step above), and find the <strong>Path</strong>.  Look below to see what mine looked like:</p><div
id="attachment_746" class="wp-caption alignnone" style="width: 310px"><a
href="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-Services-AFP-Share.png" rel="lightbox[749]"><img
class="size-medium wp-image-746" title="FreeNAS-Services-AFP-Share" src="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-Services-AFP-Share-300x102.png" alt="" width="300" height="102" /></a><p
class="wp-caption-text">The part we&#39;re interested is highlighted. Select it and copy it to the clipboard (Apple-C on your keyboard or right-click and choose &quot;Copy&quot;).</p></div><p>In my case it was <strong>/mnt/SeagateZFS/MainStorage/</strong> &#8211; select whatever yours is and copy it to the keyboard.</p><p>3) Next (and finally), we&#8217;re going to issue a couple commands, similar to what&#8217;s on the page linked at the very beginning. Head to the <strong>Advanced/Command</strong> menu.<br
/> a) Type in:</p><blockquote><p><span
style="color: #0000ff;">chown  macuser:macgroup  /mnt/yourvolume/yoursharedfolder</span></p><p>Replace <span
style="color: #0000ff;">macuser</span> and <span
style="color: #0000ff;">macgroup</span> with your name and group from step#1. Use the stuff from step#2 as <span
style="color: #0000ff;">/mnt/yourvolume/yoursharedfolder</span> (you can either Apple-V or right-click paste to get that part in). I used double-spaces in the above to make it easier to read, but just using single spaces. As an example, mine was:</p><p><a
href="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-chown.png" rel="lightbox[749]"><img
class="alignnone size-medium wp-image-747" title="FreeNAS-chown" src="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-chown-300x90.png" alt="" width="300" height="90" /></a><br
/> Hit <strong>execute</strong>. Not much will happen, except that it&#8217;ll display the command you just sent.</p></blockquote><p>b) Type in:</p><blockquote><p>chmod  2775  /mnt/yourvolume/yoursharedfolder</p><p>Again, similar to the above, except that where it says /mnt/yourvolume/yoursharedfolder, you&#8217;re pasting the stuff from your clipboard (from step#2) again.</p><p>Mine looked something like this:<br
/> <a
href="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-chmod.png" rel="lightbox[749]"><img
class="alignnone size-medium wp-image-748" title="FreeNAS-chmod" src="http://mattgadient.com/wp-content/uploads/2010/05/FreeNAS-chmod-300x97.png" alt="" width="300" height="97" /><br
/> </a>Hit <strong>execute</strong>.</p></blockquote><p>You&#8217;re done. Hopefully things should work. At the very least, you should be able to disconnect/reconnect and start copying files or create folders through your own account. Hopefully other people in your group will have access too, but verify to make sure they have the limited (or unlimited as the case may be) access you want them to have.</p><p>If you&#8217;re completely lost as to what exactly you just did, you basically just took ownership of the folder with your user account, and assigned it to your group on the filesystem / operating system level.</p><p>Hopefully in the future, someone makes changes to make things a little less cumbersome. Granted, there&#8217;s not a lot that can be done, but if the FreeNAS GUI automated the permissions setttings (or at least presented a GUI to do it), it would make it a little easier for people. A *very* good place for this would be a new item in the Access Menu called &#8220;file and folder permissions&#8221; or something to that effect. The menu item could list the shares or the dataset and have a &#8220;choose owner&#8221;, &#8220;choose group&#8221;, and &#8220;set owner/group/user permissions&#8221; section for each share. Worst case scenerio, giving the file manager a facelift and doing it there would help too.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/05/22/freenas-fix-afp-file-permissions/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>FreeNAS fix &#8211; creating ZFS raid-5 (aka raidz) and UNKNOWN showing everywhere</title><link>http://mattgadient.com/2010/05/22/freenas-fix-creating-zfs-raid-5-aka-raidz-and-unknown-showing-everywhere/</link> <comments>http://mattgadient.com/2010/05/22/freenas-fix-creating-zfs-raid-5-aka-raidz-and-unknown-showing-everywhere/#comments</comments> <pubDate>Sun, 23 May 2010 00:57:37 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/2010/05/22/freenas-fix-creating-zfs-raid-5-aka-raidz-and-unknown-showing-everywhere/</guid> <description><![CDATA[While attempting to create a ZFS raid5 pool in FreeNAS, I had an issue where Size, Used, Free, Capacity, and Health all showed as UNKNOWN. In the configuration tab, the pool/virtual_device/dataset showed up under &#8220;current&#8221; but never under &#8220;detected&#8221;. Unfortunately there was absolutely zilch out there for information on this issue. 3 hours later&#8230;. (warning: [...]]]></description> <content:encoded><![CDATA[<p>While attempting to create a ZFS raid5 pool in FreeNAS, I had an issue where Size, Used, Free, Capacity, and Health all showed as UNKNOWN. In the configuration tab, the pool/virtual_device/dataset showed up under &#8220;current&#8221; but never under &#8220;detected&#8221;. Unfortunately there was absolutely zilch out there for information on this issue.</p><p>3 hours later&#8230;.</p><p>(<span
style="color: #800000;">warning: before going any further, this is for a clean installation &#8211; if you&#8217;ve got data on those drives, it&#8217;s gonna be gone if you keep reading&#8230;</span>)</p><p>-</p><h4>What you need to do to fix it is:</h4><p>-</p><p>0) pre-step: Delete all your entries in the ZFS section. You&#8217;ve probably got entries in the <strong>Virtual Device (Pools)</strong>, <strong>Management (Pools)</strong>, and <strong>Dataset (Datasets)</strong> sections. Remove them all, and don&#8217;t forget to update/save. We&#8217;re trying to get things in a clean state here.<br
/> -<br
/> 1) Click <span
style="text-decoration: underline;">Disks/Management</span> from the main menu.<br
/> 2) Delete all the entries for your current drives (then save the changes).<br
/> 3) Create new entries. HOWEVER, this time for the formatting you&#8217;re going to LEAVE ALL THE DEFAULTS and choose <span
style="text-decoration: underline;">NTFS</span> for the &#8220;Preformatted File System&#8221; (don&#8217;t worry, we&#8217;ll be changing it back to &#8220;ZFS Storage Pool Device&#8221; later). Do this for every drive you&#8217;re using, and save/apply the changes.<br
/> 4) Click <span
style="text-decoration: underline;">Disks/Format</span> from the main menu.<br
/> 5) One at a time, select each disk, choose <span
style="text-decoration: underline;">ZFS Storage Pool Device</span> as the File System, then hit <span
style="text-decoration: underline;">Format disk</span>.<br
/> -<br
/> 6) Now you should be able to create the Virtual Device, and the actual Management Pool. Once the pool&#8217;s added, you should be seeing proper numbers instead of &#8220;UNKNOWN&#8221;, and ideally everything should be working from here on in.</p><p>-</p><p>-</p><p>-</p><p><span
style="text-decoration: underline;">So what causes this behavior?</span></p><p>In the past I&#8217;ve run into issues where <em>FileSystem B</em> will not install properly on a drive that currently has <em>FileSystem A </em>on it. In those cases, I&#8217;ve either had to do a low-level format first to completely zero everything out, or try to do an intermediate partition/format with a <em>FileSystem C</em>, then try <em>B</em> again. Presumably, a similar thing happened here.</p><p>Now, this hasn&#8217;t happened for years before now (although the Mac OS X bootloader likes to resist being installed to drives that had other partition types sometimes), but I seem to recall it being an NTFS-FAT-EXT# circle that had issues in the past. As far as the hard drives I was using for this FreeNAS install, one had a Mac HFS+ partition, and I wouldn&#8217;t be surprised if that was the culprit that ZFS didn&#8217;t like.</p><p>In any case, what we&#8217;ve done above is essentially partition/format the drives as NTFS first, which ZFS didn&#8217;t have a problem overwriting. In the event you don&#8217;t have luck with NTFS as your intermediate file system, try the other partition types. If all else fails, I&#8217;d recommend grabbing the diagnostic tool from your hard drive manufacturer (SeaTools for Seagate drives for example), and use it to do a low level format and try again.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/05/22/freenas-fix-creating-zfs-raid-5-aka-raidz-and-unknown-showing-everywhere/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>FreeNAS error while installing &#8211; the fix</title><link>http://mattgadient.com/2010/05/22/freenas-error-while-installing-the-fix/</link> <comments>http://mattgadient.com/2010/05/22/freenas-error-while-installing-the-fix/#comments</comments> <pubDate>Sat, 22 May 2010 11:21:10 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/2010/05/22/freenas-error-while-installing-the-fix/</guid> <description><![CDATA[For those installing FreeNAS to a USB drive, a common error message is as follows: gzip: stdout: Broken pip Error: Failed to dd image on &#8216;/dev/da0&#8242; Unmount CDROM. There was a problem while copying files. Fortunately, the fix is easy. Step 1: Restart the computer WITHOUT the USB drive plugged in. Step 2: Let the [...]]]></description> <content:encoded><![CDATA[<p>For those installing FreeNAS to a USB drive, a common error message is as follows:</p><p><span
style="color: #000080;">gzip: stdout: Broken pip<br
/> Error: Failed to dd image on &#8216;/dev/da0&#8242;<br
/> Unmount CDROM.<br
/> There was a problem while copying files.</span></p><p>Fortunately, the fix is easy.</p><p>Step 1: Restart the computer WITHOUT the USB drive plugged in.<br
/> Step 2: Let the Live CD boot completely until you&#8217;re back at the same menu.<br
/> Step 3: Plug the USB drive in, then choose the option to install. It should now work.</p><p>From what I read when looking around, it looks like while the CD boots it installs some temporary files of some sort to the USB drive if it&#8217;s plugged in at the time, which causes the above error. Just wait until it&#8217;s finished booting &#8211; the installer&#8217;s smart enough to find your USB drive once it&#8217;s plugged in.</p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/05/22/freenas-error-while-installing-the-fix/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Why don&#8217;t macs get viruses? (and Windows computers do!)</title><link>http://mattgadient.com/2010/03/20/why-dont-macs-get-viruses-and-windows-computers-do/</link> <comments>http://mattgadient.com/2010/03/20/why-dont-macs-get-viruses-and-windows-computers-do/#comments</comments> <pubDate>Sat, 20 Mar 2010 10:28:34 +0000</pubDate> <dc:creator>Matt Gadient</dc:creator> <category><![CDATA[OS]]></category><guid
isPermaLink="false">http://mattgadient.com/2010/03/20/why-dont-macs-get-viruses-and-windows-computers-do/</guid> <description><![CDATA[The answer you&#8217;re most likely to get from most uneducated drones when asking this question goes something like this: There are significantly fewer Macs than Windows machines, so hackers don&#8217;t bother making viruses for them. Macs are just as insecure as Windows, they just don&#8217;t get targetted. This is of course, incorrect. Here&#8217;s the real [...]]]></description> <content:encoded><![CDATA[<p>The answer you&#8217;re most likely to get from most uneducated drones when asking this question goes something like this:</p><blockquote><p>There are significantly fewer Macs than Windows machines, so hackers don&#8217;t bother making viruses for them. Macs are just as insecure as Windows, they just don&#8217;t get targetted.</p></blockquote><p>This is of course, <strong>incorrect</strong>.</p><p>Here&#8217;s the real reason (don&#8217;t worry, I&#8217;ll elaborate):</p><table
border="0"><tbody><tr><td><strong>Mac:</strong></td><td><strong>Windows:</strong></td></tr><tr><td><img
class="alignnone size-medium wp-image-739" title="mac-software-update" src="http://mattgadient.com/wp-content/uploads/2010/03/mac-software-update-300x199.png" alt="mac-software-update" width="210" height="139" /></p><p>You will see something like this when updating a typical Mac program.</td><td><img
class="alignnone size-medium wp-image-741" title="firefox-uac-prompt" src="http://mattgadient.com/wp-content/uploads/2010/03/firefox-uac-prompt-300x183.png" alt="firefox-uac-prompt" width="210" height="128" /></p><p>You will see something like this when updating a typical Windows program.</td></tr></tbody></table><p>Woah. Wait. Both are updating a program. What&#8217;s the difference?</p><p>-</p><p>In short, every time you install or update a Windows program, you&#8217;re forced to give it full access to your computer. Every. Single. Time. Firefox needs an update? <strong>Grant full access.</strong> Java needs an update? <strong>Grant full access.</strong> Some other random program needs to update? <strong>Grant full&#8230; you get the idea.</strong></p><p>Now you might be thinking, &#8220;I have to grant every program full access to my computer for it to update itself? That seems silly&#8221;. And you&#8217;d be right. There&#8217;s no reason that every random program should be given full access to your machine. That would be like a bank giving keys to the vault to every customer that walked in.</p><p>If Microsoft ran a bank, the vault would be empty.<span
id="more-742"></span></p><p>-</p><p>Things are different on the Mac. If a program needs to update, it just asks you, and then updates itself. All <strong>without needing full access</strong>. It makes sense.</p><p>To be fair, there are a few Mac exceptions. Generally, they&#8217;re programs that need to touch system files, interact directly with drivers, or embed themselves in the system for another reason.</p><p>Some actually need access to the whole system:<br
/> -Mac OS X software updates<br
/> -Virtual Machine software (Parallels, VMWare, etc)<br
/> -Anti-virus programs<br
/> -A few edge-case programs (things that add themselves to the System Preferences panel for example)</p><p>Others don&#8217;t need access to the whole system, but request it because they&#8217;re either poorly programmed or contain DRM:<br
/> -Microsoft Office for Mac (poorly programmed)<br
/> -Microsoft Messenger for Mac (poorly programmed)<br
/> -all other microsoft products for the mac (poorly programmed)<br
/> -Adobe Photoshop (DRM)<br
/> -few others</p><p>The way the Mac goes about dealing with these is that it asks for your username and password. If you supply that info, it&#8217;ll allow the program that&#8217;s installing/updating to have full access to the system.</p><p>-</p><p><strong>So wait!? How is this different? Why does this matter?</strong></p><p>Most Windows users are greeted with UAC prompts multiple times per week (multiple times per day in some cases). What&#8217;s worse is that many don&#8217;t know what they&#8217;re for. Something says it needs to update, so they click OK. If they don&#8217;t, it often keeps bugging them until they do.</p><p>On the Mac, it&#8217;s very seldom that the prompt comes up asking for the username + password. The few times they do pop up, there&#8217;s generally a good indication as to what it&#8217;s there for.</p><p>From a virus writer&#8217;s standpoint, who are you going to target? The lost Windows users who have already hit &#8220;Allow&#8221; a dozen times in the last week? Or the Mac user who&#8217;s going to have alarm bells going off in their head when they unexpectedly see a prompt asking for their password?</p><p>-</p><p><strong>So, why do Windows machines get more viruses than Macs&#8230;? </strong></p><p>It&#8217;s the design.</p><p>Windows was designed around the philosophy that everything can and should have full access to your system. This worked well in the past, but the deficiencies in the design have become all too apparent and are now being exploited at every opportunity. There&#8217;s a problem when your OS expects dad/grandma/junior to click &#8220;Allow&#8221; multiple times throughout the day to keep current with various program updates, when they&#8217;re not going to have any clue what is actually being &#8220;allowed&#8221; most of the time.</p><p>Mac OS X on the other hand is based on a solid foundation from a security standpoint (Unix). The philosophy around it is the user doesn&#8217;t get full access the the system, so programs won&#8217;t either. The OS is designed so that a typical program will never need full access, whether it&#8217;s installing or being updated. Dad/grandma/junior aren&#8217;t bombarded with prompts they know nothing about. The few times they&#8217;re actually asked to authorize a program to do something, they generally have a good notion as to why they&#8217;re being prompted, and in the event they don&#8217;t, they&#8217;re much more likely to hit Cancel, or at least ask someone for some guidance.</p><p>-</p><p>Granted, if Macs had higher market share, they&#8217;d be more of a target for virus writers than they are today. However, regardless of the market share, Windows will always be the prime target. After all, why would someone write a virus for the Mac when Windows so readily hands you the keys to the castle?</p><p>-</p><p><em>Disclaimer: I do not work for Apple or Microsoft. I do however use both Mac OS X, and the Windows 7 operating system on a regular basis.</em></p> ]]></content:encoded> <wfw:commentRss>http://mattgadient.com/2010/03/20/why-dont-macs-get-viruses-and-windows-computers-do/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: mattgadient.com @ 2012-05-22 17:54:21 -->
