difference between mkfs and newfs


 
Thread Tools Search this Thread
Operating Systems Solaris difference between mkfs and newfs
# 1  
Old 02-10-2009
difference between mkfs and newfs

hi

what is the difference between mkfs and newfs
# 2  
Old 02-10-2009
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
# 3  
Old 02-10-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Linux : getting error while executing mkfs

Hi All, i am getting below error while executing mkfs after creating a new partition in linux /dev/sda2 is apparently in use by the system ; will not make a filesystem here. Anyone having any idea , how to solve this problem thanks (2 Replies)
Discussion started by: Jcpratap
2 Replies

2. UNIX for Dummies Questions & Answers

Question regarding mkfs ext3

Hi i am looking for some help with a question relating to the creation of the ext3 file system. "Why is it good practice not to have a file system mounted whilst you try to create it?" I have searched google but not had any luck in finding out what the actual dangers are of creating a file... (1 Reply)
Discussion started by: allan1986
1 Replies

3. Solaris

stepping through newfs

On a RAID-5 solaris 9 server, we replaced a bad disk. Upon boot up, a mount point failed: vxvm:vxvol: ERROR: Volume IQ_Staging is not startable; some subdisks are unusable and the parity is stale With Sun tech support, we tried vxvol start and vxvol resync, but it remained... (3 Replies)
Discussion started by: abstractrick
3 Replies

4. Solaris

newfs – i where to look for changed inode density

Hi All, While creating the ufs file system with newfs - i where can I see the change, I mean if the density of inode has been increased where I can see it. I tried with fstyp –v <slice> however not sure as where to look for the information. Will appreciate if I can get... (0 Replies)
Discussion started by: kumarmani
0 Replies

5. Solaris

newfs

Hi, can someone please help me create a newfs on my unix server ? thankyou venhart (7 Replies)
Discussion started by: venhart
7 Replies

6. Solaris

why cant i do a newfs?

what do you make of this ?? all I want to do is newfs a slice of disk..... # uname -a SunOS myhost 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V240 # cat /etc/release Solaris 10 8/07 s10s_u4wos_12b SPARC Copyright 2007 Sun Microsystems, Inc. All... (4 Replies)
Discussion started by: robsonde
4 Replies

7. UNIX for Dummies Questions & Answers

Creating create mirrored disk files systems using mkfs command

What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example: machine# mkfs -F ufs /dev/md/dsk/d40 size not specified ufs usage: mkfs special size(sectors) \ -m : dump fs cmd line used to make this partition -V : print this... (4 Replies)
Discussion started by: GLJ@USC
4 Replies

8. AIX

AIX 4.3.3 - mkfs default 4096K Why?

I was wondering why the mkfs command would be defaulted to allocate a minimum of 4096K of space to each file. :confused: (0 Replies)
Discussion started by: vigsgb
0 Replies

9. UNIX for Dummies Questions & Answers

mkfs and mke2fs filesystems..

I am very interested in filesystems. creating filesystems on my database is almost a function that I apply routinely.. . but recently I have been reading up on filesystems and creating filesystem in The Rute Tutorial and Expo by paul sheer.. and he mentions the use of mkfs and mke2fs as a means... (4 Replies)
Discussion started by: moxxx68
4 Replies

10. UNIX for Dummies Questions & Answers

newfs, mounting, new partitions, HELP!!

Looking for a good online primer/intro to creating a new file system, mounting, and eventually using NFS. Do you use newfs then mount or mount then newfs, how do you work with a new partition to create a new file system.... it's all a bit confusing. The man pages are a little too verbose and... (1 Reply)
Discussion started by: charliewade
1 Replies
Login or Register to Ask a Question