Re: F15: ugly behavior of "df"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 24, 2011 at 12:15:52PM +0100, Pádraig Brady wrote:
> > I did a find_bind_mount() function as part of:
> > http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=ddf6fb86

 Note, be careful with st_dev, because:

    * after 
            mount --bind /mnt/A /mnt/A

      /mnt/A has the same devno as /mnt/A/B, but /mnt/A is a mountpoint 

    * btrfs returns different st_dev for different subvolumes within the
      same filesystem and the numbers don't match with the maj:min
      numbers from /proc/self/mountinfo (in the file is used only
      devno for entire FS).
      https://bugzilla.redhat.com/show_bug.cgi?id=711881

> I've not got sandbox installed BTW.
> Still need to look at this.

 I have the same problem... not sure why :-(

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux