Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-25-2011, 12:35 AM   #1
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 430
Blog Entries: 28

Rep: Reputation: 2
reverse mount -o bind /a /b

Hi, sorry for the frequent posting, I have another question regarding linking and mapping dir, after i mounted -o bind /a /b
mount -o bind /a /b
now /b appears to be /a, how do i reverse this action?
I had a look at umount:
umount /b
but this didn't work, the directory /b still looks like /a. is there any flag or what supposed to be added?
Old 03-25-2011, 06:29 AM   #2
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,601

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Not sure why it doesn't work (assuming you tried to do the umount as root and your working directory wasn't /b or a subdirectory thereof). I have a little script that does a bind-mount before I do a chroot, and I undo the mountings using the syntax you've used above.


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] bind reverse zone; no name with reverse lookup deadeyes Linux - Server 3 10-12-2009 10:54 AM
a few questions about BIND (MX and Reverse) romeo_tango Linux - Server 7 10-15-2008 11:47 AM
Bind and reverse lookup, something ain't right. Sizam Linux - Networking 1 04-25-2005 07:51 PM
bind reverse lookup thesnaggle Linux - Software 1 03-11-2004 07:19 PM
Bind reverse lookup Kostko Linux - Networking 2 12-07-2002 10:06 AM > Forums > Linux Forums > Linux - Newbie

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

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