<div style="FONT-FAMILY: Courier New; COLOR: rgb(0, 0, 0); FONT-SIZE: 16px"><div style="border-top:1px solid #bcbcbc;margin:5px 0px;"></div><span style="font-size:12;font-family:arial;color:#000000;">On 12/29/12, <span>Michael Hipp&lt;michael@redmule.com&gt;</span> wrote:</span><div>&nbsp;</div><div style="font-size:12;font-family:arial;color:#000000;">I've been doing this for a while when I intended to use an entire drive <br />for one FS. I figure it reclaims a few bytes.&nbsp; <br /><br />   mkfs -t ext4  /dev/sda<br /><br />Instead of:<br /><br />   mkfs -t ext4  /dev/sda1<br /><br />Then I read an article that said you shouldn't do that, but no <br />explanation why not. Any thoughts?<br />=====<br /><br />Some people like the idea of having a separate root filesystem for crash recovery.<br />If something goes catastrophically wrong with your root filesystem, it does not <br />necessarily affect your programs and data.&nbsp; (The same applies to boot, or any<br />other fs that you might use.)<br /><br />Then you could&nbsp; do an image restore (assuming you previously did an image backup) of your root fs<br />using a tool like <a href="http://www.sysresccd.org" target="_blank">SysRescueCD</a>.&nbsp; <br /><br />Your example indicates that you're using the first drive in its entirety, so <br />your single drive would include everything (ie, root and boot would<br />not be separate filesystems).&nbsp; <br /><br />If you were talking about /dev/sdb, or any other additional drive, I think it would<br />be reasonable to use the entire disk, rather than partition it.&nbsp; Having said that,<br />I've read that&nbsp; swap space on each physical drive can improve performance,<br />but I don't know the why or how of that.<br /><br />You might also be exposing yourself to some risk by not having a swap partition<br />on your first drive.&nbsp; There are ways to <a href="http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/" target="_blank">use a regular file for swap</a> (as opposed to<br />a partition).&nbsp; If you're not doing this, you should probably look into it, but if you <br />have a lot of memory, your risk might be low.<br /><br />Merry Christmas,<br />Happy New Year,<br />Dan Martin<br />=====<br />&nbsp;<br />Thanks,<br />Michael<br />_______________________________________________<br />Linux-users mailing list<br /><a class="parsedEmail" href="mailto:Linux-users@linux-sxs.org" target="_blank">Linux-users@linux-sxs.org</a><br /><a class="parsedLink" href="http://mailman.celestial.com/mailman/listinfo/linux-users" target="_blank">http://mailman.celestial.com/mailman/listinfo/linux-users</a><br /></div></div>