Changeset 166 in MondoRescue for trunk


Ignore:
Timestamp:
Dec 8, 2005, 12:45:07 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.

Original patch provided by Chuan-kai Lin - thank you!

See also Debian bug #295592.

File:
1 edited

Legend:

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

    r164 r166  
    581581
    582582        log_it("isodir = %s", bkpinfo->isodir);
    583         asprintf(&command, "df %s | tail -n1 | cut -d' ' -f1",
     583        asprintf(&command, "df -P %s | tail -n1 | cut -d' ' -f1",
    584584                 bkpinfo->isodir);
    585585        log_it("command = %s", command);
Note: See TracChangeset for help on using the changeset viewer.