Learned something today. Usually if I want to make one folder look like another I create a link.
ie:
ln -s /some-folder /mnt/some-common-mount-point
The problem with this type of soft link is the system can get confused if you doing something like exporting it from NFS.
Simple solution just create a bind mount point.
mount --bind /mnt/some-common-mount-point /some-folder
or in fstab
/mnt/some-common-mount-point /some-folder bind defaults,bind 0 0
Now it will just mount the folder into the new location. It looks and acts as if you've mounted a block device.
Thanks for this. It works perfectly for my partitioning scheme. This has replaced my making the config file for gnome point to the mount location and then after logging in using a script to bind to the folders together in my home directory to the mounted location.
ReplyDeleteVeryy nice article, i really like it ..
ReplyDeleteObat Kencing Berdarah Pada Anak
Obat Luka Pada Dinding Rahim
Obat ginjal bengkak pada ibu hamil
Obat Radang Payudara Ibu Hamil
Obat Infeksi Luka Luar Alami
Obat penyakit stroke kronis
Obat benjolan di gusi anak
Obat benjolan di ketiak anak
Obat radang paru paru ibu hamil
Obat nyeri dada ibu hamil
Obat disentri pada anak
Pengobatan radang lambung pada anak
Obat radang empedu pada anak
Pengobatan Infeksi Lambung Pada Anak
Obat Radang Pita Suara akut
Obat Luka Lambung Kronis
Obat Polip Hidung Pada Anak
Obat Penghilang Benjolan Di Bibir Belakang