bastille-mount(8)

NAME
bastille mount - Mount file(s)/directorie(s) inside jail(s).

SYNOPSIS
bastille [-ax] TARGET HOST_PATH JAIL_PATH [FS_TYPE OPTIONS DUMP PASS_NUMBER]

DESCRIPTION
The bastille sub-command will mount the HOST_PATH inside a jail at JAIL_PATH.

-a, --auto
    Auto mode. Start/stop jail(s) if required.

-x, --debug
    Enable debug mode.

By default bastille will mount files read-only. To mount as read-write you must specity all of the optional arguements. These include FS_TYPE OPTIONS DUMP and PASS_NUMBER. See fstab(5).

EXAMPLES

Mount /usr/ports in myjail:
    bastille mount myjail /usr/ports /usr/ports

Mount /usr/ports as read-write in myjail:
    bastille mount myjail /usr/ports /usr/ports nullfs rw 0 0

Mount /etc/resolv.conf in myjail:
    bastille mount myjail /etc/resolv.conf /etc/resolv.conf

SEE ALSO
bastille.conf(5), bastille-bootstrap(8), bastille-clone(8), bastille-cmd(8), bastille-config(8), bastille-console(8), bastille-convert(8), bastille-cp(8), bastille-create(8), bastille-destroy(8), bastille-edit(8), bastille-etcupdate(8), bastille-export(8), bastille-htop(8), bastille-import(8), bastille-jcp(8), bastille-limits(8), bastille-list(8), bastille-migrate(8), bastille-monitor(8), bastille-network(8), bastille-pkg(8), bastille-rcp(8), bastille-rdr(8), bastille-rename(8), bastille-restart(8), bastille-service(8), bastille-setup(8), bastille-start(8), bastille-stop(8), bastille-sysrc(8), bastille-tags(8), bastille-template(8), bastille-top(8), bastille-umount(8), bastille-update(8), bastille-upgrade(8), bastille-verify(8), bastille-zfs(8)