LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fstab not mounting a subdir with the bind option (https://www.linuxquestions.org/questions/linux-software-2/fstab-not-mounting-a-subdir-with-the-bind-option-689538/)

JosipBroz 12-10-2008 04:47 AM

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.

JosipBroz 12-10-2008 08:28 PM

Hmmm ... nobody heard of "fstab" and "mount" before? You see, mount is this command in GNU/Linux, whereas fstab is a file ...

bwashed 03-11-2009 04:44 PM

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


All times are GMT -5. The time now is 07:50 AM.