Comment 2 for bug 1725067

Revision history for this message
Steve Langasek (vorlon) wrote :

This code from cc_resizefs.py in the 0.7.9 SRU is missing from 17.1 in artful.

    container = util.is_container()

   # Ensure the path is a block device.
    if (devpth == "/dev/root" and not os.path.exists(devpth) and
            not container):
        devpth = util.rootdev_from_cmdline(util.get_cmdline())
        if devpth is None:
            log.warn("Unable to find device '/dev/root'")
            return
        log.debug("Converted /dev/root to '%s' per kernel cmdline", devpth)