From owner-freebsd-hackers Thu Jul 26 10:42: 1 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.quidel.com (webmail.quidel.com [63.125.144.4]) by hub.freebsd.org (Postfix) with ESMTP id 38C8837B409 for ; Thu, 26 Jul 2001 10:41:57 -0700 (PDT) (envelope-from et@quidel.com) Received: by mail.quidel.com with Internet Mail Service (5.5.2653.19) id ; Thu, 26 Jul 2001 10:41:10 -0700 Message-ID: <9D4A4E19244ED4119BE90050DAD5DD47BC5568@mail.quidel.com> From: Etienne de Bruin To: 'Ian Dowse' , Peter Pentchev Cc: Etienne de Bruin , "'freebsd-hackers@freebsd.org'" Subject: RE: crunched binary oddity Date: Thu, 26 Jul 2001 10:41:03 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > When mount(8) invokes a mount_xxx program, it sets argv[0] to the > name of the filesystem (ufs, mfs, nfs etc). Crunched binaries use > the argv[0] name to determine which code to execute, so you need > to add > > ln mount_mfs mfs > > to your crunchgen config file to get this to work. Alternatively, > just invoke mount_mfs directly instead of using mount(8). Hey this is great, thanks Ian. This explains it all. I went ahead and invoked mount_mfs instead of relying on /etc/fstab. Works perfectly. eT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message