💻 Software
Is it possible to access files "shadowed" by a mount?
Fresh5 days ago
Mar 15, 202611143 viewsConfidence Score0%
0%
Problem
In Linux, is there a way to access files on a mounted filesystem that have been "shadowed" when another file system was mounted over a subdirectory? E.g. The solution of my dreams would not require elevated permissions or be specific to a certain file system, but I'll take whatever scraps I can get…
Error Output
cd / mkdir /foo touch /foo/bar mount /dev/sda1 /foo # now, can I still get to /foo/bar on the / filesystem?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is it possible to access files "shadowed" by a mount?
Low Risk
You can use the mount command to access the underlying filesystem. There is no issue with corruption with doing this, but it does require permission to mount the file system.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix