Sponsored Content
Operating Systems Solaris difference between mkfs and newfs Post 302286075 by incredible on Tuesday 10th of February 2009 09:43:10 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
newfs(1M)																 newfs(1M)

NAME
newfs - construct a new file system SYNOPSIS
FStype] specific_options] special DESCRIPTION
The command is a "friendly" front-end to the command (see mkfs(1M)). The command calculates the appropriate parameters and then builds the file system by invoking the command. special represents a character (raw) special device. Options recognizes the following options: Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined from the file by matching special with an entry in that file. If there is no entry in then the file sys- tem type is determined from the file Current valid Fstype values are: and for the HFS and JFS (VxFS) file systems, respectively. Specify options specific to the file system type. specific_options is a list of suboptions and/or keyword/attribute pairs intended for an FStype-specific module of the command. See the file system specific manual entries for a description of the specific_options that are supported, if any. Echo the completed command line, but perform no other actions. The command line is generated by incorporating the specified options and arguments and other information derived from This option allows the user to verify the command line. EXAMPLES
Execute the command to create an HFS file system on AUTHOR
was developed by HP and the University of California, Berkeley. FILES
File that specifies the default file system type. Static information about the file systems. SEE ALSO
fsck(1M), fstyp(1M), mkfs(1M), newfs_hfs(1M), newfs_vxfs(1M), fstab(4), fs_wrapper(5), disk(7). newfs(1M)
All times are GMT -4. The time now is 08:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy