Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-10-2004, 07:13 PM   #1
Registered: Oct 2003
Location: US
Distribution: Fedora C1 & C2
Posts: 81

Rep: Reputation: 15
How to make mount --bind persistant

I have a set of mount --bind commands like:

mount --bind /home/ftp/common /home/ftp/user1/common
mount --bind /home/ftp/common /home/ftp/user2/common
mount --bind /home/ftp/common /home/ftp/user3/common
mount --bind /home/ftp/common /home/ftp/user4/common
mount --bind /home/ftp/common /home/ftp/user5/common
mount --bind /home/ftp/common /home/ftp/user6/common
mount --bind /home/ftp/common /home/ftp/user7/common
mount --bind /home/ftp/common /home/ftp/user8/common

How can I make these persistant across reboots?

Old 06-10-2004, 08:06 PM   #2
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30

Try something like this in your /etc/fstab (assuming your file system is ext3):

/home/ftp/common /home/ftp/user1/common ext3 bind 0 0


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
mount --bind (fstab problem) renski Linux - General 2 11-17-2005 03:50 PM
persistent mount --bind linuxnube Linux - Software 0 05-12-2004 08:24 PM
UT2003 persistant mount error! Braveheart1980 Linux - Games 45 02-07-2004 02:26 AM
mount --bind on boot tp6400 Linux - Newbie 1 01-25-2004 09:41 PM
I cant make out bind errorsHi alaios Linux - Networking 1 10-26-2003 11:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:52 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