Home | History | Annotate | Line # | Download | only in examples
      1  1.2     kamil $NetBSD: fs.1,v 1.2 2017/05/09 23:26:49 kamil Exp $
      2  1.2     kamil 
      3  1.1  bgrayson Use the following configuration file (also stored in fs.1.conf):
      4  1.1  bgrayson 
      5  1.1  bgrayson fs/	file	fs/
      6  1.1  bgrayson 
      7  1.1  bgrayson Mount the portal.  By default, every path will be based off of /.
      8  1.1  bgrayson 
      9  1.1  bgrayson % mkdir portal
     10  1.1  bgrayson % mount_portal /usr/share/examples/mount_portal/fs.1.conf `pwd`/portal
     11  1.1  bgrayson % cksum /etc/rc
     12  1.1  bgrayson 1896381655 10514 /etc/rc
     13  1.1  bgrayson % cksum portal/fs/etc/rc
     14  1.1  bgrayson 1896381655 10514 portal/fs/etc/rc
     15  1.1  bgrayson 
     16  1.1  bgrayson As it currently stands, the fs option is of limited usefulness.
     17  1.1  bgrayson The man page mentions that it can be used to "provide a
     18  1.1  bgrayson controlled escape path from a chrooted environment".
     19