From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case ensures the basic functionalities of `e2fsprogs` work correctly on ext2/ext3/ext4 file systems. |setup= # Install a fresh copy of Fedora. # Ensure `e2fsprogs` is installed: `dnf install e2fsprogs`. # Prepare a spare storage device or a disk image for testing. |actions= # Create an ext4 file system: `mkfs.ext4 /path/to/device_or_image`. # Check the file system: `e2fsck /path/to/device_or_image`. # Adjust filesystem parameters us...") |
(No difference)
|
Latest revision as of 10:01, 21 August 2023
Description
This test case ensures the basic functionalities of e2fsprogs
work correctly on ext2/ext3/ext4 file systems.
Setup
- Install a fresh copy of Fedora.
- Ensure
e2fsprogs
is installed:dnf install e2fsprogs
. - Prepare a spare storage device or a disk image for testing.
How to test
- Create an ext4 file system:
mkfs.ext4 /path/to/device_or_image
. - Check the file system:
e2fsck /path/to/device_or_image
. - Adjust filesystem parameters using
tune2fs
.
Expected Results
- Filesystem creation should succeed without errors.
- Filesystem check should report the file system is clean.
- Adjustments with
tune2fs
should be applied without issues.
Optional
1. Repeat tests for ext2 and ext3 file systems.
2. Use other utilities from the e2fsprogs
package.