Is there a way for me to check if a disk is formatted?
Just asking this question as when we do fdisk or gdisk to create partitions, it creates the partitions and the filesystem type that we want it to be but it doesn't say if we have formatted the disk.
I've encountered this issue when I tried to mount the filesystem (after partitioning and no formatting done) and an error was produced. (using the virtual labs)
Using commands for fdisk or gdisk or lsblk -f does not indicate that if the newly created partition is formatted.