<?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>Linux Explore &#187; ext2</title>
	<atom:link href="https://blog.linuxexplore.com/tag/ext2/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.linuxexplore.com</link>
	<description>Exploring Linux</description>
	<lastBuildDate>Mon, 07 Apr 2014 00:30:50 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Linux File System and Windows File System, Difference</title>
		<link>https://blog.linuxexplore.com/2012/10/01/linux-file-system-and-windows-file-system-difference/</link>
		<comments>https://blog.linuxexplore.com/2012/10/01/linux-file-system-and-windows-file-system-difference/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 19:52:46 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[ext2]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux file systems]]></category>
		<category><![CDATA[Linux filesystem]]></category>
		<category><![CDATA[Linux partitions]]></category>
		<category><![CDATA[Linux VS Windows]]></category>
		<category><![CDATA[master boot record]]></category>
		<category><![CDATA[Nigel McFarlane]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Windows filesystem]]></category>
		<category><![CDATA[Windows partitions]]></category>

		<guid isPermaLink="false">http://linuxexplore.com/?p=648</guid>
		<description><![CDATA[Windows vs Linux Windows uses FAT and NTFS as file systems, while Linux uses a variety of file systems. Unlike Windows, Linux is bootable from a network drive. In contrast to Windows, everything is either a file or a process in Linux. Please see one of my earlier post What “Everything Is a File” Means on Linux.&#8230;]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://linuxexplore.files.wordpress.com/2012/10/ubuntu-910-vs-windows-7.jpg"><img class="size-full wp-image-649 aligncenter" title="ubuntu-910-vs-windows-7" src="http://linuxexplore.files.wordpress.com/2012/10/ubuntu-910-vs-windows-7.jpg" alt="Linux vs Windows" width="640" height="390" /></a>Windows vs Linux</p>
<p>Windows uses FAT and NTFS as file systems, while Linux uses a variety of file systems.</p>
<p>Unlike Windows, Linux is bootable from a network drive.</p>
<p>In contrast to Windows, everything is either a file or a process in Linux. Please see one of my earlier post <a title="What “Everything Is a File” Means on Linux" href="http://linuxexplore.com/2012/07/28/intowire-what-everything-is-a-file-means-on-linux/" target="_blank">What “Everything Is a File” Means on Linux</a>.</p>
<p>Linux has two kinds of major partitions called data partitions and swap partitions. Because of the existence of swap partitions, you never run out of memory in Linux (like in windows).</p>
<p>In terms of recovery tools, only a limited number of tools can be used on Windows, while there is a large number of UNIX based recovery tools available for Linux file systems.</p>
<p><a href="http://linuxexplore.files.wordpress.com/2012/10/primary-extended-logical-linux-windows-file-system.png"><img class=" wp-image-650 aligncenter" title="primary extended logical Linux windows file system" src="http://linuxexplore.files.wordpress.com/2012/10/primary-extended-logical-linux-windows-file-system.png" alt="Linux Windows filesystem" width="362" height="349" /></a></p>
<p><strong> From the author </strong><strong>Nigel McFarlane:</strong></p>
<p>Both <strong>Windows</strong> and <strong>Linux</strong> organize disk-based files into a hierarchy of directories. Such directories are usually called &#8220;<strong>folders</strong>&#8221; when viewed in a GUI. One whole hierarchy is called a &#8220;<strong>file system</strong>&#8221; on both platforms. The architecture of Windows and Linux file systems is similar in some points, but diverges greatly when tools are considered. Here&#8217;s a quick comparison.</p>
<p>On hardware derived from <strong>Intel</strong> or <strong>IBM</strong> PCs, both <strong>Windows</strong> and <strong>Linux</strong> use the Master Block Record/ Master Boot Record (<strong>MBR</strong>). That is the bit of disk used to boot the operating system and to state whether the disk is partitioned or not. On both <strong>Windows</strong> and <strong>Linux</strong>, it is common to have at most one file system per partition. That is about the end of the similarity.</p>
<p>Each <strong>Windows</strong> file system gets a drive letter, like &#8220;C:&#8221;. On <strong>Linux</strong>, each file system gets a device, like /dev/hda1 (&#8220;hard disk A part 1&#8243;), which is represented as a file. Such a file is a device file (since a disk is a device), hence the &#8220;dev&#8221; part of the path name. Also, the device file is not an ordinary text file, it is a &#8220;<strong>special file</strong>.&#8221; Since disks are block devices (unlike a serial mouse), such a file is fully described as a &#8220;<strong>block special device file</strong>.&#8221; The numbered part of the path can be a little weird to get right; it&#8217;s best to be guided by documentation there or extract the right name from a report.</p>
<p>On <strong>Windows</strong>, file systems can be <strong>FAT16</strong>, <strong>FAT32</strong> or <strong>NTFS</strong>, to name a few. Recall <strong>FAT16</strong> is the ancient standard responsible for <strong>Windows</strong> file names with the &#8220;<strong>8.3</strong>&#8221; file name length restriction. On <strong>Linux</strong>, filesystems can be &#8220;<strong>minix</strong>,&#8221; &#8220;<strong>ext</strong>,&#8221; or &#8220;<strong>ext2</strong>,&#8221; to name a few. Also, &#8220;<strong>minix</strong>&#8221; is an example of the ancient standard responsible for <strong>UNIX</strong> file names once being limited to 14 characters. Linux also has &#8220;<strong>msdos</strong>&#8221; and &#8220;<strong>vfat</strong>&#8221; file systems for compatibility with <strong>Windows</strong> and <strong>DOS</strong>, plus more.</p>
<p>Windows uses <strong>FORMAT.EXE</strong> to format a disk. Linux uses &#8220;<strong>mkfs</strong>&#8221; (&#8220;make file system&#8221;) in various specialist forms.</p>
<p>Each Windows file system has a File Allocation Table (<strong>FAT</strong>, <strong>VFAT</strong>, or similar) that states which disk blocks hold the topmost directory. On <strong>Linux</strong>, the equivalent on most filesystems is the <strong>superblock</strong>. A <strong>Linux</strong> file system has multiple copies of the <strong>superblock</strong> physically saved on the disk. This provides redundancy in case of a partial disk corruption. The <strong>superblock</strong> is just about always in memory on <strong>Linux</strong>; that is not the case for ancient <strong>DOS</strong>-like file systems. There are no special restrictions on files placed in the topmost directory on <strong>Linux</strong>, either.</p>
<p>On <strong>Windows</strong>, there is one drive letter per mounted file system: for example, C: for C: and D: for D:. On <strong>Linux</strong> there are no drive letters, so one file system is mounted on &#8220;/&#8221; and all other file systems are mounted on subdirectories of &#8220;/.&#8221; This arrangement is like the little-used <strong>MS-DOS</strong> command <strong>SUBST</strong>, or the <strong>NET USE</strong> command that supports <strong>Novell</strong>&#8216;s <strong>NetWare</strong>. The equivalent <strong>Linux</strong> command is &#8220;<strong>mount</strong>.&#8221;</p>
<p>You can see all this at work on <strong>Linux</strong>, but for some of it you need to be logged in as <strong>root</strong>. Type &#8220;<strong>cat /etc/fstab</strong>&#8221; to see all the mountable devices, including floppy disks and CD players. Type &#8220;<strong>df</strong>&#8221; to see the devices currently mounted, and their free space. In the usual case you can even see the <strong>superblock</strong>: try &#8220;<strong>/sbin/dumpe2fs /dev/hda1</strong>&#8221; where <strong>hda1</strong> comes from the output of &#8220;<strong>df</strong>.&#8221; The name &#8220;<strong>dumpe2fs</strong>&#8221; is a casualty of history; it replaces the older &#8220;<strong>dumpfs</strong>.&#8221; The information produced is really just for diagnostic purposes.</p>
<p>Mostly file systems work for you silently. If you want to dig into Linux further, then there are plenty of tools that can be used as inspection points.</p>
<p><strong>About the author</strong><br />
<strong>Nigel McFarlane</strong> is an open source software analyst and technologist with a broad background in technology and software engineering. He has an extensive programming background and degrees in computer science and physics. His latest book is &#8220;<strong>Rapid Application Development with Mozilla</strong>&#8221; from Prentice Hall PTR.</p>
<p><strong>Source:</strong><br />
<a href="http://searchopensource.techtarget.com/tip/1,289483,sid39_gci990200,00.html" rel="nofollow" target="_blank">http://searchopensource.techtarget.c&#8230;990200,00.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/10/01/linux-file-system-and-windows-file-system-difference/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
