[Bro-Dev] #347: Problem with df helper script

Bro Tracker bro at tracker.icir.org
Tue Jan 11 09:14:22 PST 2011

#347: Problem with df helper script
  Reporter:  seth        |      Owner:  robin
      Type:  Problem     |     Status:  new
  Priority:  High        |  Milestone:
 Component:  BroControl  |    Version:  git/master
Resolution:              |   Keywords:

Comment (by robin):

 On Tue, Jan 11, 2011 at 15:18 -0000, you wrote:

 >  The fix seems to be to add the -P flag to the df command in the df
 >  script.  I just don't know if that's going to cause compatibility
 >  with different 'df's.  It seems to work on MacOS X and GNU df.

 The FreeBSD man page says:

     -P Use POSIX compliant output of 512-byte blocks rather than
         the default.  Note that this overrides the BLOCKSIZE
         specification from the environment.

 That sounds like there need to be more changes to the script to deal
 with that (and it's unclear I guess whether -P also prevents wrappin
 on FreeBSD?).

 I'd be fine still including this into 1.5.2 but we need a version of
 the script that works on Linux, FreeBSD, and OSX, if necessary with
 treating them separately as in "top".

Ticket URL: <http://tracker.icir.org/bro/ticket/347#comment:0>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker

More information about the bro-dev mailing list