Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 10:41:03 -0700
From:      Etienne de Bruin <et@quidel.com>
To:        'Ian Dowse' <iedowse@maths.tcd.ie>, Peter Pentchev <roam@orbitel.bg>
Cc:        Etienne de Bruin <et@quidel.com>, "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org>
Subject:   RE: crunched binary oddity 
Message-ID:  <9D4A4E19244ED4119BE90050DAD5DD47BC5568@mail.quidel.com>

next in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9D4A4E19244ED4119BE90050DAD5DD47BC5568>