LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 01-15-2013, 07:50 AM   #1
poioit
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

Code:
// Don't move a mount residing in a shared parent
if( IS_MNT_SHARED(old->mnt_parent) )
   goto out1
in the following link
http://permalink.gmane.org/gmane.lin...c.general/2651
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?
 
  


Reply


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


All times are GMT -5. The time now is 07:32 PM.

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