LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-10-2004, 08:13 PM   #1
linuxnube
Member
 
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?

Thanks!
 
Old 06-10-2004, 09:06 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
/etc/fstab

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
 
  


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


All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
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