difference between mkfs and newfs

hi

what is the difference between mkfs and newfs

mkfs builds a Linux filesystem whilst newfs construct a new UFS file system.

newfs is a "friendly" front-end to the mkfs(1M) program for making UFS file systems on disk partitions. newfs calculates the appropriate parameters to use and calls mkfs.

The newfs utility replaces the more obtuse mkfs(8) program. The newfs utility builds a file system on the specified special device basing its defaults on the information in the disk label. Typically the defaults are reasonable, however newfs has numerous options to allow the defaults to be selectively overridden

Although it is uncommon, mkfs is also used on Solaris when you want to build a filesystem which is neither UFS nor ZFS like FAT and UDFS.
If you install third party packages, there are also ext2/3fs and ntfs specific mkfs commands.