Ignore:
Timestamp:
Jan 12, 2006, 5:37:42 PM (14 years ago)
Author:
bcornec
Message:

use df -P everywhere to avoid split lines on df output and some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.06/mindi/rootfs/sbin/init

    r287 r305  
    342342
    343343HowMuchFreeSpaceOnRamdisk() {
    344    df -m | grep /dev/ram | head -n1 | tr -s '\t' ' ' | cut -d' ' -f4
     344   df -m -P | grep /dev/ram | head -n1 | tr -s '\t' ' ' | cut -d' ' -f4
    345345}
    346346
Note: See TracChangeset for help on using the changeset viewer.