Bind mount

技术分享 Story 111浏览 0评论

Bind mount
Bind mount the solution

Can you mount directory like partition!

stop the apache2 service

Code:
/etc/init.d/apache2 stop
and move all files /var/www to /home/www

and add this line to the
/etc/fstab

Code:
/home/www /var/www none bind 0 0
and next

Code:
mount -a
/etc/init.d/apache2 start

转载请注明:成长的对话 » Bind mount