bdf output (220 Views)
Reply
Regular Advisor
Ajin_1
Posts: 200
Registered: ‎06-09-2009
Message 1 of 5 (220 Views)
Accepted Solution

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.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,880
Registered: ‎03-06-2006
Message 2 of 5 (218 Views)

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

Please use plain text.
Advisor
Vivekanandan Somanathan
Posts: 22
Registered: ‎11-18-2004
Message 3 of 5 (205 Views)

Re: bdf output

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

Please use plain text.
Regular Advisor
Ajin_1
Posts: 200
Registered: ‎06-09-2009
Message 4 of 5 (177 Views)

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.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,880
Registered: ‎03-06-2006
Message 5 of 5 (173 Views)

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

}'

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation