I am trying to check where backup block of file system are exist with mke2fs command:
According this :
Causes mke2fs to not actually create a filesystem, but display what it would do if it were to create a filesystem. This can be used to determine the location of the backup superblocks for a particular filesystem, so long as the mke2fs parameters that were passed when the filesystem was originally created are used again. (With the -n option added, of course!)
So
why is trying to make a file system?
According this :
Causes mke2fs to not actually create a filesystem, but display what it would do if it were to create a filesystem. This can be used to determine the location of the backup superblocks for a particular filesystem, so long as the mke2fs parameters that were passed when the filesystem was originally created are used again. (With the -n option added, of course!)
So
Code:
sudo mke2fs -n /dev/sda1
mke2fs 1.44.3 (10-July-2018)
/dev/sda1 contains a ext4 file system
last mounted on /boot on Sat Aug 8 17:11:47 2020
Proceed anyway? (y,N) n
why is trying to make a file system?