We currently have:

/sbin/newfs
/sbin/newfs_msdos
/sbin/newfs_hammer
/sbin/newfs_hammer2

For unambiguous consistency; could we have the following links ?

/sbin/newfs
/sbin/newfs_msdos
/sbin/newfs_hammer
/sbin/newfs_hammer1 -> /sbin/newfs_hammer
/sbin/newfs_hammer2
/sbin/newfs_ufs -> /sbin/newfs

Possible use cases I can think of: You have a table with a given list of 
file-systems from which, for example, you want to create the FSTAB file or to 
create the file-systems via script. The file-system IDs column on said table 
could be directly linked to each respective newfs command without making 
IF/ELSE exceptions for newfs for ufs and hammer[1] for hammer. I think it could 
be useful, does not changes anything, and more importantly does not break 
anything. And for starters reading the man pages newfs_ufs could make more 
sense than newfs. The first time I saw newfs I expected a -t for FStype switch 
associated to each specific newfs_whatever command. It proved not to be the 
case. 

Reply via email to