F15: ugly behavior of "df"
Harald Hoyer
harald.hoyer at gmail.com
Thu Jun 30 11:44:54 UTC 2011
On 27.06.2011 11:28, Karel Zak wrote:
> 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
>
# rpm -qf /etc/rc.d/init.d/sandbox
policycoreutils-2.0.86-7.fc15.x86_64
and you might want
# chkconfig sandbox off
More information about the devel
mailing list