~ubuntu-branches/ubuntu/raring/autofs5/raring

« back to all changes in this revision

Viewing changes to daemon/mount.c

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2009-03-09 01:16:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090309011648-gjynlid883f0s2c4
Tags: 5.0.4-1
* New upstream version (5.0.4 plus patchset as of 2009/03/09).
  * Closes: #518728.
  * Remove dpatch 14, applied upstream.
* New dpatch 14 to avoid using the relatively young SOCK_CLOEXEC
  feature.
* Only invoke 'make clean' on clean target so ./configure isn't
  purged.
* Fix a typo in the postinst regarding the ucf conffile handling.
* Add 'set -e' to package maintenance scripts.
* Drop unnecessary /var/run/autofs from package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
{
36
36
        struct mount_mod *mod;
37
37
        const char *modstr;
 
38
        size_t root_len = root ? strlen(root) : 0;
38
39
        char **ngp;
39
40
        int rv;
40
41
 
61
62
                }
62
63
        }
63
64
 
64
 
        if (ap->type == LKP_DIRECT)
 
65
        if (*name == '/')
65
66
                debug(ap->logopt,
66
67
                      "%s %s type %s options %s using module %s",
67
68
                      what, name, fstype, options, modstr);
 
69
        else if (root_len > 1 && root[root_len - 1] == '/')
 
70
                debug(ap->logopt,
 
71
                      "%s %s type %s options %s using module %s",
 
72
                      what, root, fstype, options, modstr);
68
73
        else
69
74
                debug(ap->logopt,
70
75
                      "%s %s/%s type %s options %s using module %s",