Description of problem: `mount --bind` no longer works with files. When need to "mount" a file to another location then target file is created as a block device. In older releases it was created as a file with same perms as source file. Version-Release number of selected component (if applicable): # rpm -q util-linux-ng util-linux-ng-2.18-0.1.fc14.x86_64 How reproducible: always Steps to Reproduce: [root@evileye atkac]# touch file1 [root@evileye atkac]# touch file2 [root@evileye atkac]# mount --bind file1 file2 [root@evileye atkac]# ll file2 brw-rw---- 1 root disk 7, 0 Jun 10 10:30 file2 Actual results: file2 is a block device after `mount --bind` Expected results: file2 should be standard file with the same parameters as original file
Fixed by upstream commit bc77da94f715f819c81ee8d1e6623e5ba6d3c373. Thanks! (fedora will be updated after upgrade to 2.18-rc2)
(In reply to comment #1) > Fixed by upstream commit bc77da94f715f819c81ee8d1e6623e5ba6d3c373. Thanks! > (fedora will be updated after upgrade to 2.18-rc2) I tested the patch and it seems everything is fine. Thanks.