Re: bdf output (333 Views)
Reply
Regular Advisor
Ajin_1
Posts: 204
Registered: ‎06-09-2009
Message 1 of 5 (348 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.
Acclaimed Contributor
Dennis Handly
Posts: 25,277
Registered: ‎03-06-2006
Message 2 of 5 (346 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.)

Advisor
Vivekanandan Somanathan
Posts: 22
Registered: ‎11-18-2004
Message 3 of 5 (333 Views)

Re: bdf output

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

Regular Advisor
Ajin_1
Posts: 204
Registered: ‎06-09-2009
Message 4 of 5 (305 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.
Acclaimed Contributor
Dennis Handly
Posts: 25,277
Registered: ‎03-06-2006
Message 5 of 5 (301 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

}'

 

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.