|
Authored by: Steve Martin on Thursday, October 25 2012 @ 07:52 AM EDT |
I thought EXT2 was a non-journalling
FS.
It
is.
Although newer file systems have been designed, such
as Ext3 and Ext4, the Second Extended Filesystem is still
prefered on flash
drives as it requires fewer write
operations (since it has no journal).
The structures
of Ext3 and Ext4 are based on Ext2 and add some
additional
options such as journaling, journal
checksums, extents, online
defragmentation, delayed
allocations and larger directories to name but a
few.
(emphasis added by me)
--- "When I say
something, I put my name next to it." -- Isaac Jaffe, "Sports Night" [ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Friday, October 26 2012 @ 05:49 AM EDT |
Which is why ext3 is checked with e2fsck, "dumped" with dumpe2fs and
tuned with tune2fs.
***Alledgedly*** (according to the man page -- use at your own risk!)
tune2fs -O ^has_journal $partition
will turn journaling off, converting an ext3 filesystem into an ext2 filesystem
and
tune2fs -j $partition
will convert an ext2 filesystem into an ext3 filesystem by adding a journal.
Presumably you must have a sufficiently new tune2fs and ext2 driver for all of
this to work.
The tune2fs man page includes this little tidbit in the description of the -j
option:
"On some distributions, such as Debian, if an initial ramdisk is used, the
initrd scripts will automatically convert an ext2 root filesystem to ext3 if
the /etc/fstab file specifies the ext3 filesystem for the root filesystem in
order to avoid requiring the use of a rescue floppy to add an ext3 journal
to the root filesystem."
[ Reply to This | Parent | # ]
|
|
|
|
|