From owner-freebsd-questions@freebsd.org Tue Aug 23 11:37:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72AE6BC3D80 for ; Tue, 23 Aug 2016 11:37:31 +0000 (UTC) (envelope-from taropalo@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [54.72.43.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FBCD12DC for ; Tue, 23 Aug 2016 11:37:30 +0000 (UTC) (envelope-from taropalo@kronometrix.org) Received: from [192.168.0.30] (188-127-209-196.cust.suomicom.net [188.127.209.196]) (authenticated bits=0) by mail.kronometrix.org (8.14.9/8.14.9) with ESMTP id u7NBbRY2043863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 23 Aug 2016 11:37:28 GMT (envelope-from taropalo@kronometrix.org) To: freebsd-questions@freebsd.org From: Aropalo Tommi Subject: bsdinstall and setup script X-Enigmail-Draft-Status: N1110 Message-ID: Date: Tue, 23 Aug 2016 14:37:22 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 11:37:31 -0000 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