|
Home > Archive > Linux Debian support > August 2005 > A bind mount point in fstab keeps being overwritten
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
A bind mount point in fstab keeps being overwritten
|
|
|
| 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.
| |
| Aceridus 2005-08-03, 5: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
| |
|
| 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.
| |
| Bill Marcum 2005-08-05, 2: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.
|
|
|
|
|