Ignore:
Timestamp:
Dec 8, 2005, 12:42:00 PM (18 years ago)
Author:
andree
Message:

Add -P option to df call to ensure that partition names are correctly
extracted when devfs is used.

Patch provided by Chuan-kai Lin - thank you!

See also Debian bug #295592.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/mondo/common/libmondo-tools.c

    r163 r165  
    805805
    806806        log_it("isodir = %s", bkpinfo->isodir);
    807         sprintf(command, "df %s | tail -n1 | cut -d' ' -f1",
     807        sprintf(command, "df -P %s | tail -n1 | cut -d' ' -f1",
    808808                bkpinfo->isodir);
    809809        log_it("command = %s", command);
Note: See TracChangeset for help on using the changeset viewer.