David Sterba wrote (ao): > On Thu, Nov 01, 2012 at 05:17:04AM +0800, ching wrote: > > when a device is mounted under a directory, files in the directory > > is "hidden", and files in the device is "available", right? when a > > directory is polyinstantied, files in the original directory is > > "hidden", and files in the polyinstantied directory is "available", > > > > How to get past them and pass those "hidden" files to defrag > > command? > > I hope I get it right, so unless you have a reference to the directory > with hidden files (using your term), there's no way to access them. > And this is a more generic question, not related to btrfs itself. The > hidden files may also belong to a different filesystem.
What Ching means (I think), is that if you have directories in /home, and you mount a device onto /home, you cannot see the original directories in /home anymore. You can still access them though, with a 'mount -o bind': # mount -o bind / /mnt # ls /mnt/home Sander -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html