Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-15-2013, 07:50 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
kernel move mount check

I have some questions about moving mount of the linux kernel implementation.
In do_move_mount of fs/namespace.c, we donít want to move a mount residing in a shared parent.
As the comment and code

// Don't move a mount residing in a shared parent
if( IS_MNT_SHARED(old->mnt_parent) )
   goto out1
in the following link
It seems this may unmount of all the trees under their corresponding peer mounts.

I just want to know why we donít want to unmount all their corresponding peer mounts. Does anyone have some ideas?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Check folder for specific files than move script BlackCrowe Programming 3 11-23-2010 05:59 AM
Move mount point to another physical drive? michaelsanford Linux - General 2 05-06-2005 01:42 PM
move mount? ziggie216 Linux - Software 3 01-02-2004 04:49 AM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM
How to move mount points after install? concoran Linux - General 16 07-21-2002 05:50 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration