I would like to know the FileSystem is used by Hard Disk/Volume
Here one List with some FileSystems:
-
HFS+
-
APFS
-
NTFS
-
exFAT
-
extFS
-
Ext4
Here the pictures…
For me that information is not clear.
According to Pictures What File System (from the List) I need to assume?
EDIT:
sh-3.2# diskutil list /dev/disk7
/dev/disk7 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk7
1: EFI EFI 209.7 MB disk7s1
2: Apple_HFS HD710A 999.9 GB disk7s2
sh-3.2#
Other command
sh-3.2# diskutil info /dev/disk7
Device Identifier: disk7
Device Node: /dev/disk7
Whole: Yes
Part of Whole: disk7
Device / Media Name: HD710A
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Disk Size: 1.0 TB (1000204886016 Bytes) (exactly 1953525168 512-Byte-Units)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Device Location: External
Removable Media: Fixed
Solid State: Info not available
Virtual: No
sh-3.2#
OTHER EDIT:
sh-3.2# diskutil listFilesystems
Formattable file systems
These file system personalities can be used for erasing and partitioning.
When specifying a personality as a parameter to a verb, case is not considered.
Certain common aliases (also case-insensitive) are listed below as well.
-------------------------------------------------------------------------------
PERSONALITY USER VISIBLE NAME
-------------------------------------------------------------------------------
Case-sensitive APFS APFS (Case-sensitive)
(or) APFSX
APFS APFS
(or) APFSI
ExFAT ExFAT
Free Space Free Space
(or) FREE
MS-DOS MS-DOS (FAT)
MS-DOS FAT12 MS-DOS (FAT12)
MS-DOS FAT16 MS-DOS (FAT16)
MS-DOS FAT32 MS-DOS (FAT32)
(or) FAT32
HFS+ Mac OS Extended
Case-sensitive HFS+ Mac OS Extended (Case-sensitive)
(or) HFSX
Case-sensitive Journaled HFS+ Mac OS Extended (Case-sensitive, Journaled)
(or) JHFSX
Journaled HFS+ Mac OS Extended (Journaled)
(or) JHFS+
UFSD_NTFS Microsoft NTFS
UFSD_EXTFS extFS 2
UFSD_EXTFS3 extFS 3
UFSD_EXTFS4 extFS 4
sh-3.2#
diskutil info disk7s2
sh-3.2# diskutil info disk7s2
Device Identifier: disk7s2
Device Node: /dev/disk7s2
Whole: No
Part of Whole: disk7
Volume Name: HD710A
Mounted: Yes
Mount Point: /Volumes/HD710A
Partition Type: Apple_HFS
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 81920 KB at offset 0x1d1c000
Owners: Disabled
OS Can Be Installed: Yes
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Volume UUID: E70BFAA0-6059-3E92-91D1-0C9B603E682D
Disk / Partition UUID: 9864BEC6-897D-4D4F-A8DA-60A7594D5222
Partition Offset: 209735680 Bytes (409640 512-Byte-Device-Blocks)
Disk Size: 999.9 GB (999860912128 Bytes) (exactly 1952853344 512-Byte-Units)
Device Block Size: 512 Bytes
Volume Total Space: 999.9 GB (999860912128 Bytes) (exactly 1952853344 512-Byte-Units)
Volume Used Space: 752.1 GB (752090554368 Bytes) (exactly 1468926864 512-Byte-Units) (75.2%)
Volume Free Space: 247.8 GB (247770357760 Bytes) (exactly 483926480 512-Byte-Units) (24.8%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: External
Removable Media: Fixed
Solid State: Info not available
sh-3.2#
Best Answer
In the upper image, a drive is highlighted. This drive is using a "GUID Partition Map". In the lower image, a partition on the drive is highlighted. I see the file system is "Mac OS Extended (Journaled)". The label is "HD710A".
User Gordon Davisson has suggested the following (in a comment):
Below is the output from
diskutil listFilesystems
when entered in a Big Sur (macOS 11.2) Terminal application window.The Disk Utility application does not always display all partitions and/or volumes. The drive in your example probably has an "FAT32" formatted EFI partition and may have a "Mac OS Extended (Journaled)" formatted macOS Recovery partition.
To get a better idea of all partitions and volumes, you should enter the command
diskutil list
in a Terminal application window. Additional information can be obtained by using thediskutil info device
command, wheredevice
can be an identifier or label.Also, the Disk Utility and
diskutil
commands show cached information about unmounted volumes. For example, if you were to use thenewfs_msdos
command to format and change the label of an unmounted EFI volume, the Disk Utility and diskutil command would not show the change until after the EFI partition was mounted or macOS was restarted.Update:
After reading the addition input provided when the OP edited the question, I can add the information being sought can be output by entering the following commands. Here,
device
should to be replaced by either an identifier or label.These commands can be placed in a function, as shown below.
Here is an example from a 2011 iMac with a Windows 10, High Sierra, Ubuntu triple boot setup. Below is the output from
diskutil list
.The commands below will provide the desired information for all the partitions.
The output is given below. The no
FilesystemName
match was found identifierdisk0s7
because normally macOS can not mountext4
formatted Linux partitions.Here is another example from a VirtualBox virtual machine with a Big Sur and Windows 10 dual boot setup. Below is the output from
diskutil list
.The commands below will provide the desired information for all the physical partitions.
The output is given below. The no
FilesystemName
match was found identifierdisk0s2
because this partition has an APFS container.The command below will provide the desired information for all the APFS volumes.
The output is given below. These volumes reside in an APFS container and therefore do have a partition type stored in a drive partition table. Internally, macOS uses the UUID of
41504653-0000-11AA-AA11-00306543ECAC
for theContext
. Eventually, macOS has not assigned a name to this UUID.