A bind mount point in fstab keeps being overwritten
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > A bind mount point in fstab keeps being overwritten




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    A bind mount point in fstab keeps being overwritten  
ned


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-31-05 10:47 PM

I have a directory on a vfat partition that I would like to be mounted as
user/Music.

I have accomplished this by manually mounting them with the --bind option.
I would like it to be done automatically.

I altered the fstab with this line:
/mnt/hdc5/Music /home/user/Music none bind 0 0

hdc5 has been mounted earlier in the fstab:
/dev/hdc5 /mnt/hdc5

Then I used the call mount -a which told me that the other entries in the
fstab were already mounted and mount my new entry.  However, on reboot
there is an error and the new entry is deleted from the fstab.

Is this not the proper config file for mount points?

Is the bind option not allowed at boot?

Thank you for your input.





[ Post a follow-up to this message ]



    Re: A bind mount point in fstab keeps being overwritten  
Aceridus


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-03-05 10:47 PM

Would it not be possible for you to just put a symbolic link to the
directory in your home?

The link should always work fine as long as the drive get appropriately
mounted in the fstab at system boot.

i.e.  ln -s /mnt/hdc5/Music /home/user/Music

- Anderson






[ Post a follow-up to this message ]



    Re: A bind mount point in fstab keeps being overwritten  
ned


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 10:50 PM

On Wed, 03 Aug 2005 14:47:07 -0700, Aceridus wrote:

> Would it not be possible for you to just put a symbolic link to the
> directory in your home?
>
> The link should always work fine as long as the drive get appropriately
> mounted in the fstab at system boot.
>
> i.e.  ln -s /mnt/hdc5/Music /home/user/Music
>
> - Anderson

I tried that option first, but when I would place something in
/home/user/Music it merely placed it in the local folder not in
/mnt/hdc5/Music.

I need the data to actually be place on that partition because my /home
partition is to small, and I want to be able to access( including, write
to) /mnt/hdc5/Music from my home folder, just a shortcut thing.






[ Post a follow-up to this message ]



    Re: A bind mount point in fstab keeps being overwritten  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 07:46 AM

On Thu, 04 Aug 2005 16:11:49 -0500, ned
<njm@myconco.com> wrote:
> On Wed, 03 Aug 2005 14:47:07 -0700, Aceridus wrote:
> 
>
> I tried that option first, but when I would place something in
> /home/user/Music it merely placed it in the local folder not in
> /mnt/hdc5/Music.
>
If you already have a /home/user/Music, you must delete or rename it
before you can create a symbolic link with that name.


--
Tonight you will pay the wages of sin; Don't forget to leave a tip.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:46 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register