Talk:Ext2: Difference between revisions

Content deleted Content added
Explanation on maximum file size.
Cewbot (talk | contribs)
m Maintain {{WPBS}}: 2 WikiProject templates. Keep majority rating "C" in {{WPBS}}. Remove 1 same rating as {{WPBS}} in {{WikiProject Linux}}. Keep 1 different rating in {{WikiProject Computing}}.
 
(20 intermediate revisions by 14 users not shown)
Line 1:
{{WikiProject banner shell|class=C|
{{WikiProjectBannerShell|1=
{{WikiProject ComputingLinux |class=Start|importance=Low|software=Yes|software-importance=LowMid}}
{{WikiProject LinuxComputing |class=Start |importance=MidLow |free-software=yes |free-software-importance=Low |software=yes }}
{{WikiProject Free Software|class=Start|importance=Low}}
}}
{{afd-merged-from|e2compr|E2compr|15 October 2009}}
{{lowercase title}}
 
== Strange Error Message ==
When I tried to access the ext2 article it returned the following error message: '''"Database error: A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:(SQL query hidden) from within function "LocalFile::upgradeRow". Database returned error "1223: Can't execute the query because you have a conflicting read lock (10.0.0.241)". Retrieved from "http://en.wikipedia.org/wiki/Ext2"'''
 
Anybody from Wikipedia know what this means? [[User:Public Menace|Public Menace]] ([[User talk:Public Menace|talk]]) 02:48, 5 July 2010 (UTC)
:The site was down due to technical problems for a while. See [[WP:VPT|the Village pump (technical)}} page for an explanation.-[[User talk:gadfium|<span style="font-family:cursive; color:#808080;">gadfium</span>]] 03:09, 5 July 2010 (UTC)
 
== Maximum file size ==
The inode structure contains a i_blocks 32-bit value indicating the total number of 512-byte blocks reserved for the file content, regardless of the actual file size. The maximum size a file can thus attain is 2**32 * 512 bytes, or 2TB. <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/199.212.150.16|199.212.150.16]] ([[User talk:199.212.150.16|talk]]) 18:26, 19 May 2010 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->
:That's not quite right. i_blocks contain the number of (512-byte) blocks actually used by the file, but the file may be sparse and not use the full disk space its file size would imply. It is therefore quite possible to have very large file, even exceeding the size of the containing file system, so long as they have less than 2 TB of data blocks (and no more data blocks than the file system can contain). I seem to recall I created such files while testing filesystem software some years ago.-[[User talk:gadfium|<span style="font-family:cursive; color:#808080;">gadfium</span>]] 21:07, 19 May 2010 (UTC)
:An inode can also have blocks pre-allocated hence have more blocks assigned to it than currently used; the i_blocks always reflect the current number of blocks assigned to this inode; regarldess of whether these blocks are actually used or not for the file. I suspect that a standard fsck would complain if a file had a larger size than can fit in its i_blocks*512 without a compression extension configured. [[User:Ekscrypto|Ekscrypto]] ([[User talk:Ekscrypto|talk]]) 18:31, 25 May 2010 (UTC)
 
== Volume size and kernel versions ==
Line 156 ⟶ 164:
 
[[User:Knight Samar|Knight Samar]] ([[User talk:Knight Samar|talk]]) 21:17, 5 May 2010 (UTC)
 
== Htree in ext2 ==
 
Apparently, using htree in ext2 to get better directory performance has been available for some time (I've been using it for several years now), so the sentence ''To find a file, the directory is searched front-to-back for the associated filename. For reasonable directory sizes, this is fine. But for huge large directories this is inefficient, and ext3 offers a second way of storing directories that is more efficient than just a list of filenames.'' is wrong in my eyes.
 
I've had trouble finding authoritative sources on this (apart form my own experience), since this misconception appears to be widely spread (including here at Wikipedia). --[[User:Din Ycae|Din Ycae]] ([[User talk:Din Ycae|talk]]) 07:57, 11 January 2011 (UTC)
 
:Never mind, I was wrong. The filesystem can be created by the ext2 tools with the proper bits in place (namely, the possibility of using Htree for directories), but the ext2 code makes no use of the feature. <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Din Ycae|Din Ycae]] ([[User talk:Din Ycae|talk]] • [[Special:Contributions/Din Ycae|contribs]]) 11:08, 11 January 2011 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
 
== External links modified ==
 
Hello fellow Wikipedians,
 
I have just modified one external link on [[Ext2]]. Please take a moment to review [[special:diff/813307157|my edit]]. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit [[User:Cyberpower678/FaQs#InternetArchiveBot|this simple FaQ]] for additional information. I made the following changes:
*Added {{tlx|dead link}} tag to https://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git%3Ba%3Dcommitdiff%3Bh%3Da0f62ac6362c168754cccb36f196b3dfbddc3bc3
*Added archive https://web.archive.org/web/20091117121024/http://linuxgazette.net/issue18/e2compr.html to http://linuxgazette.net/issue18/e2compr.html
 
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
 
{{sourcecheck|checked=false|needhelp=}}
 
Cheers.—[[User:InternetArchiveBot|'''<span style="color:darkgrey;font-family:monospace">InternetArchiveBot</span>''']] <span style="color:green;font-family:Rockwell">([[User talk:InternetArchiveBot|Report bug]])</span> 00:17, 3 December 2017 (UTC)
 
== Clarify time when ext2 was replaced by ext3 ==
 
It was around when Debian Potato was released (see https://wiki.debian.org/Ext3) but I'm not great at writing and don't want to mess anything up. <!-- Template:Unsigned --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dogesoft|Dogesoft]] ([[User talk:Dogesoft#top|talk]] • [[Special:Contributions/Dogesoft|contribs]]) 03:16, 13 July 2020 (UTC)</small> <!--Autosigned by SineBot-->