LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-16-2005, 11:22 PM   #1
renski
LQ Newbie
 
Registered: Sep 2005
Location: Sydney
Distribution: Debian
Posts: 13

Rep: Reputation: 0
mount --bind (fstab problem)


Hi.

I've had to mount a folder locally to another folder using --bind, ie. mount --bind /path1/ /path2/

My issue is, how do I specify that in /etc/fstab?

I've tried the following, which didn't work:

/path1 /path2 ext3 --bind 0 0
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-17-2005, 03:31 AM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
/path1 /path2 bind defaults,bind 0 0
 
2 members found this post helpful.
Old 11-17-2005, 04:50 PM   #3
renski
LQ Newbie
 
Registered: Sep 2005
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
cheers
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
Mount --bind & NFS problem BerlinBadger Linux - Networking 2 12-02-2005 01:25 PM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 04:30 PM
auto and bind options in fstab kaplan71 Linux - Networking 1 05-18-2005 09:58 AM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 08:45 AM


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