1754021 Members
7503 Online
108811 Solutions
New Discussion юеВ

Re: mknod and mkfs

 
himacs
Super Advisor

mknod and mkfs


Hi Admins,
What is the difference between mkfs,mknod

Regards
himacs
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: mknod and mkfs

Hi:

'mknod' creates a device file, as for the case of creating a 'group' file for volume group creation. 'mkfs' creates a filesystem within a logical volume.

See the manpages for both.

Regards!

...JRF...
himacs
Super Advisor

Re: mknod and mkfs

Hi JRF,

Thanks for the reply.

i use newfs command to build filesystem in logical volume.

Regards
himacs
Torsten.
Acclaimed Contributor

Re: mknod and mkfs

If you read the man page about newfs you will see there is a difference to mkfs. Read it ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ismail Azad
Esteemed Contributor

Re: mknod and mkfs

Hi,

There are 3 commands to create device files:-insf, mksf and mknod. Mknod creates a "custom DSF" where arugument normally requires the major and minor number.

newfs is the FRONT END utility of mkfs.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
nijokj
Trusted Contributor

Re: mknod and mkfs

The mkfs command creates a file system by writing on the special file.


The newfs command is a "friendly" front-end to the mkfs command.The newfs command calculates the appropriate parameters
and then builds the file system by invoking the mkfs command.