Overlay fs mount xbps
this use to mount to dir
in one dir
\$ sudo mount -t overlay overlay -o lowerdir=/opt/xbps-src/void-packages:/opt/xbps-src/ayoub,upperdir=/opt/xbps-src/xbps-up,workdir=/opt/xbps-src/xbps-work /opt/xbps-src/xbps-merg
mount pkg for void-packages
- don't use
ln
orln -s
- use
mount --bind
:
\$ mkdir /path/to/new/dir
\$ mount --bind /path/to/dir /path/to/new/dir
fix mounted directory
some shared
library not word in tmpfs/shm
, I should remount with permission to exec
mount --bind /path/to/dir /new/dir
mount -o remount,exec,bind /new/dir