Sometimes, we manually mount a folder but if we do a reboot, it doesn't stay there.
So, How to mount a partition so that it remains persistent over reboot ?
mount --bind /source/folder destination/folder
Type the following in the /etc/fstab file
source/folder destination/folder bind 0 0
Then, if you do a reboot also, the mounted folder will stay as it is.
So, How to mount a partition so that it remains persistent over reboot ?
mount --bind /source/folder destination/folder
Type the following in the /etc/fstab file
source/folder destination/folder bind 0 0
Then, if you do a reboot also, the mounted folder will stay as it is.
0 comments:
Post a Comment