F15: ugly behavior of "df"

Reindl Harald h.reindl at thelounge.net
Tue Jul 19 12:31:15 UTC 2011



Am 24.06.2011 09:43, schrieb Andreas Schwab:
> Karel Zak <kzak at redhat.com> writes:
> 
>> The 'bind' flag is another way how to achieve that the filesystem is
>> mounted on another place. Nothing other.
>>
>>    # mount /dev/sdb1 /mnt/A
>>    # mount --bind /mnt/A /mnt/B
>>
>> is the same thing as:
>>
>>    # mount /dev/sdb1 /mnt/A
>>    # mount /dev/sdb1 /mnt/B 
> 
> There is a big difference between "mount --bind /mnt/A/B /mnt/B" and
> "mount /dev/sdb1 /mnt/B"

the new dumb behavior BREAKS LOCATE, displays thousands of things
in "df", gives wrong error-messages for normal users if named
is running as chroot and should be REVERTED / FIXED

"locate" does find only things under "/Volumes/dune/www-servers"

# BIND-Mounts
/mnt/data/home               /home                                   none  bind
/mnt/data/yum-cache          /var/cache/yum                          none  bind
/mnt/data/www/thelounge.net  /Volumes/dune/www-servers               none  bind
/mnt/data/www/phpincludes    /Volumes/dune/www-servers/phpincludes   none  bind

/dev/md2 is a RAID10
UUID=1abf071b-0c78-4b82-bb21-b3dfb269afa8                         /mnt/data

/dev/md2 on /mnt/data type ext4 (rw,nosuid,noatime,nodiratime,stripe=256,inode_readahead_blks=64)
/dev/md2 on /home type ext4 (rw,nosuid,noatime,nodiratime,stripe=256,inode_readahead_blks=64)
/dev/md2 on /var/cache/yum type ext4 (rw,nosuid,noatime,nodiratime,stripe=256,inode_readahead_blks=64)
/dev/md2 on /Volumes/dune/www-servers type ext4 (rw,nosuid,noatime,nodiratime,stripe=256,inode_readahead_blks=64)
/dev/md2 on /Volumes/dune/www-servers/phpincludes type ext4
(rw,nosuid,noatime,nodiratime,stripe=256,inode_readahead_blks=64)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110719/e11ba91c/attachment.bin 


More information about the devel mailing list