BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Showing results for 
Search instead for 
Do you mean 

bdf output

SOLVED
Go to Solution
Highlighted
Valued Contributor

bdf output

Hi Experts

 

I want the filesystem and Mount point output from bdf

How can i execute bdf with options

 

 

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
4 REPLIES
Acclaimed Contributor

Re: bdf output

[ Edited ]

>I want the filesystem and Mount point output from bdf

 

Doesn't it already do that?

(There are some cases where it is split on two lines.)

Re: bdf output

What exactly you need ?  By giving bdf command (without Option) itself you can see Mountpoint and FS details

Valued Contributor

Re: bdf output

Hi

 

I want the bdf output with LV and Mount Point only.

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Acclaimed Contributor

Re: bdf output

[ Edited ]

>I want the bdf output with LV and Mount Point only.

 

I suppose something like:

bdf | awk '

BEGIN { getline } # skip title

{

if (NF == 1) { # merge split lines

   dev = $1

   getline

   print dev, $NF

   next

}

print $1, $NF

}'