Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1964

Facter retrive the first mountpoint when multiple mountpoints are mounted to the same directory

    XMLWordPrintable

Details

    • Night's Watch
    • 2
    • NW - 2019-08-07
    • Bug Fix
    • In case of two mountpoints mounted on the same directory, facter will show the first one retrived from /etc/mtab (the issue is present in case of Linux OS). The fix was to make facter show the mountpoint that is a device or its type is "tmpfs".
    • Needs Assessment

    Description

      When two mountpoints are mounted to the same directory, facter only shows the first one that appears in /etc/mtab file.

      Exemple: For CentOS 7 in mtab file are two entries for the root directory: 

      rootfs / rootfs rw 0 0
      /dev/mapper/vg0-root / xfs rw,relatime,attr2,inode64,noquota 0 0
      

      Facter will only show the first one as a mountpoint for "/".

      Attachments

        Issue Links

          Activity

            People

              oana.tanasoiu Oana Tanasoiu
              oana.tanasoiu Oana Tanasoiu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support