Date: Tue, 23 Aug 2016 14:37:22 +0300 From: Aropalo Tommi <taropalo@kronometrix.org> To: freebsd-questions@freebsd.org Subject: bsdinstall and setup script Message-ID: <cf362d33-5417-5376-1c35-f17ee15c29f8@kronometrix.org>
next in thread | raw e-mail | index | archive | help
Hi, I am trying to set new zfs data set during installation time after the preamble part. Setting the data set is fine but it gets mounted under /mnt/mnt/opt. If I break installation process and do umount and then remount it it will be under /mnt/opt. This is what I do #mkdir /opt #zfs create zroot/mydir #zfs set mountpoint="/opt/mydir" zroot/mydir #pkg add mypkg ( it goes /opt/mydir) After the reboot nothing can be found /opt/mydir. If I umount zroot/mydir I can see pkg's there. So why is zroot/mydir is mounted under /mnt/mnt/opt/mydir and not /mnt/opt/mydir during running bsdinstall? And thus pkg's gets installed to the wrong directory Anyone any ideas! -- Best Regards Tommi Aropalo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf362d33-5417-5376-1c35-f17ee15c29f8>