Mobile Operating System and Its File System
Mobile Operating System and Its File System
INTRODUCTION
A mobile operating system serves as an intermediary between mobile devices hardware
and its software application, allowing users to interact with their devices. Every operating
system has a file system that governs how data is stored, organized, and retrieved. The
filing system of mobile devices is particularly important because of its limited storage
capacity, resource constraint, and need for high-performance operation while minimizing
battery.
Specialized file systems used by mobile operating systems like Android and iOS are very
different from those found in desktop OSes, both in terms of operation and architecture.
The components, functions, and optimizations of mobile operating systems' file systems
are examined in this paper, with particular attention paid to iOS's Apple File System
(APFS) and Android's ext4.
Advantages:
Eliminates the FAT32 file size limit.
In practical transfers, it performs marginally better than FAT32/VFAT.
Nearly every contemporary smartphone has built-in support.
Disadvantages:
Older devices probably don't support it.
Similar to FAT32, it uses space inefficiently.
EXT4 is more dependable than any other FAT filesystems.
F2FS: Based on append-only logging, F2FS is a Linux file system that was created with
the features of flash storage in mind. It is optimized to run smoothly on contemporary
flash storage devices. On a server system, F2FS is demonstrated to outperform EXT4 by
up to 2.5× (SATA SSD) and 1.8× (PCIe SSD). It also reduces the elapsed time of
numerous actual workloads by up to 40% [3].
Advantages:
Faster read/write speeds in theory.
The ability to extend the life of your flash storage by requiring fewer writes.
The absence of the 4GB file size limit are some drawbacks.
Disadvantages:
Formatted SD cards may have mounting issues and certain apps may not
function properly.
Stability is largely dependent on the kernel maintainer
Not all phones support it.
EXT2/EXT3/EXT4: The Linux file system adheres to the EXTended file systems
specifications, or Ext for short. The EXT4 is the most recent of them and has been taking
the place of the YAFFS2 and JFFS2 file systems on Android smartphones.
Advantages:
EXT4 has the advantage of not having a 4GB file size restriction.
It is thought to be an extremely stable file system.
It has a lot of features, including encryption.
All contemporary cellphones support it.
Disadvantages:
EXT4 formatted external SD cards may have mounting issues and certain
apps may not function properly, which is a drawback.
APPLE FILE SYSTEM:
Apple, Inc., released a new file system in 2017 to replace the HFS+ file system, which
was 30 years old. Due to the fact that the HFS+ had been stretched to add new features, it
made the process very complex, along with lines of code, and adding new features
became very difficult. With this in mind, they came up with the idea of starting a new file
system from scratch, that would implement new and current technologies and
methodologies, and also provide the exact set of features needed.
Apple File System (APFS) is a proprietary file system that prioritized encryption during
its design. The goal is for the system to run on all current Apple devices, ranging from the
iPhone to the Mac computers.
Advantages:
It is fetaure-rich, including 64-bit pointers.
Clones for files and directories.
Space sharing.
Fast directory sizing [1, p. 592]
References:
[1] Abraham Silberschatz, Peter Baer Galvin, Greg Gagne. Operating System Concepts,
10th edition. Hoboken, NJ: Wiley, 2018.
[2] W.Stallings. Operating Systems: Internals and Design Principles, 9th edition. Pearson,
2017.
[3] Changman Lee, Dongho Sim, Joo-Young Hwang, and Sangyeun Cho. F2FS: A New
File System for Flash Storage
[4]Android File System: https://medium.com/@aditi.kale20/file-system-of-android-
a89dcbb693f1