cancel
Showing results for 
Search instead for 
Did you mean: 

purpose of /etc/default/fs

SOLVED
Go to solution
senthil_kumar_1
Super Advisor

purpose of /etc/default/fs

Hi

I opened this file. it shows that

# vi /etc/default/fs

LOCAL=vxfs


Pls explain me what is the purpose of this file.
11 REPLIES
Jeff_Traigle
Honored Contributor

Re: purpose of /etc/default/fs

man newfs
--
Jeff Traigle
Court Campbell
Honored Contributor

Re: purpose of /etc/default/fs

OMG. Senthil, I applaud you interest in UNIX, but you should spend more time using the man pages than bombarding the forum with these type of questions.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Steven E. Protter
Exalted Contributor

Re: purpose of /etc/default/fs

Shalom,

In case you don't specify it a filesystem will in this case default to vxfs which is a trimmed down licensed version of Veritas Journal ed File System.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
UVK
Trusted Contributor

Re: purpose of /etc/default/fs

when you are creating a new filesystem if you do not provide any fstype default fstype specified in the /etc/default/fs will be used.

-uvk
-------------------------------------------
Like it or worked !! Click kudos !!
senthil_kumar_1
Super Advisor

Re: purpose of /etc/default/fs

which means that it will be taken as default filesystem even if we did not mention filesystem in newfs command?

am i correct?
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: purpose of /etc/default/fs

Hi senthil,

yes right.

mikap
TTr
Honored Contributor

Re: purpose of /etc/default/fs

It is used by more than the newfs command. It is also used my the mkfs, fsck and fsadm command and any other command that uses the "-F" option. Same idea, if you don't supply the "-F" option on the command line the fs type is this file is assumed.
Rahul Rai_1
Frequent Advisor

Re: purpose of /etc/default/fs

Hi Senthil,

>I opened this file. it shows that
># vi /etc/default/fs
>LOCAL=vxfs

in this directory file type is mentioned that will be default, if some one did not mentione the fs type while running the command like newfs etc. there it will take default vxfs,

Regards,
Rahul Rai.
Kranti Mahmud
Honored Contributor

Re: purpose of /etc/default/fs

Hi Senthil,

Purpose of /etc/default/fs is

default file system defined at /etc/default/fs.

It means, when you are creating a new filesystem if you do not provide any fstype default fstype specified in the /etc/default/fs will be used.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Anoop R Nath
Advisor

Re: purpose of /etc/default/fs

Dear Senthil,

It tells you the default file system.

Anoop
Suraj K Sankari
Honored Contributor

Re: purpose of /etc/default/fs

Hi,
>>which means that it will be taken as default filesystem even if we did not mention filesystem in newfs command?

Yes you are very much correct.

suraj