[Linux] Filesystem mounts

Robert Citek linux@flux.org
Mon, 25 Feb 2008 12:17:12 -0600


On Mon, Feb 25, 2008 at 12:00 PM, Danny Rathjens <dannyr@wirespring.com> wrote:
> Robert Citek wrote:
>  > On Mon, Feb 25, 2008 at 9:47 AM,  <kwan@digitalhermit.com> wrote:
>  >>  Question is, without unmount /foo/bar, how can I view the directory
>  >>  contents of the mount point /foo/bar.
>  >
>  > This might help.  man mount:
>  >
>  >        Since Linux 2.5.1 it is possible to atomically move a mounted
>  > tree to another place. The call is
>  >               mount --move olddir newdir
>  >
>  I'm confused as to why you can't just unmount and recover any data coincidentally
>  not overwritten and mount it again.

You can't unmount a filesystem if a processes is using it, but you can move it.

Regards,
- Robert