LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-10-2008, 04:47 AM   #1
JosipBroz
Member
 
Registered: Nov 2008
Location: Ljubljana
Distribution: OpenSuSE
Posts: 56

Rep: Reputation: 18
Fstab not mounting a subdir with the bind option


Hi there!
I've installed a stripped-down Debian on a 1 GB xD memory card. In order to outsource some disk space, I redirected the swap to the swap partition on the internal hard drive and tried to redirect my /home and /tmp directories likewise. When I boot up, however, my Debian mounts the new /home seamlessly, but won't accept the bind mount. This is a snippet from my fstab:
Code:
proc            /proc           proc    defaults        0       0
/dev/sdb1       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda3       /home           ext3    defaults        0       2
/home/tmp	/tmp		ext3	defaults,bind	0	2
/dev/sda1       none            swap    sw              0       0
/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0
The line that doesn't get mounted is the fourth one (the /home/tmp one). I even tried editing it so /home/tmp will read /dev/sda3/tmp, but no go. (And yes, both the /tmp and the /dev/sda3/tmp directories exist). Anyone got a clue?
On another note: is it normal that an xD media card is so extreeemely slow?
Any input welcome.

Last edited by JosipBroz; 12-10-2008 at 04:49 AM.
 
Old 12-10-2008, 08:28 PM   #2
JosipBroz
Member
 
Registered: Nov 2008
Location: Ljubljana
Distribution: OpenSuSE
Posts: 56

Original Poster
Rep: Reputation: 18
Red face

Hmmm ... nobody heard of "fstab" and "mount" before? You see, mount is this command in GNU/Linux, whereas fstab is a file ...
 
Old 03-11-2009, 04:44 PM   #3
bwashed
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
These threads may answer your question:
http://www.linuxquestions.org/questi...roblem-383883/
http://ubuntuforums.org/showthread.php?t=614981
 
  


Reply

Tags
bind, fstab, mount


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
nfs and bind-mount order in /etc/fstab mr.neil Linux - Server 6 06-16-2008 02:41 AM
new fstab mount option guide for fixed drives - suggestions/mistakes? gregconquest Linux - General 3 04-21-2007 08:55 PM
mount --bind (fstab problem) renski Linux - General 2 11-17-2005 03:50 PM
auto and bind options in fstab kaplan71 Linux - Networking 1 05-18-2005 08:58 AM
fstab mounting Roy-Svork Linux - General 2 06-13-2003 11:34 AM


All times are GMT -5. The time now is 09:14 AM.

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