[Nix-dev] mount - no such file or directory?

Marc Weber marco-oweber at gmx.de
Sat Sep 6 03:09:38 CEST 2008


On Fri, Sep 05, 2008 at 02:51:04AM +0200, Marc Weber wrote:
> Hi,
> 
> I've still some trouble with mount and I'd like to ask what you would
> try.
He, klibcShrunk is based on klibc which does build static binaries but
it doesn't install them :-)

After building the build directory contains:
 find . -type f -perm +100 | grep static

./klibc-1.5/usr/utils/static/halt.g
./klibc-1.5/usr/utils/static/reboot
./klibc-1.5/usr/utils/static/poweroff
./klibc-1.5/usr/utils/static/chroot
./klibc-1.5/usr/utils/static/chroot.g
./klibc-1.5/usr/utils/static/dd
./klibc-1.5/usr/utils/static/dd.g
./klibc-1.5/usr/utils/static/mkdir
./klibc-1.5/usr/utils/static/mkdir.g
./klibc-1.5/usr/utils/static/mkfifo
./klibc-1.5/usr/utils/static/mkfifo.g
./klibc-1.5/usr/utils/static/mknod
./klibc-1.5/usr/utils/static/mknod.g
./klibc-1.5/usr/utils/static/mount
./klibc-1.5/usr/utils/static/mount.g
./klibc-1.5/usr/utils/static/pivot_root
./klibc-1.5/usr/utils/static/pivot_root.g
./klibc-1.5/usr/utils/static/umount
./klibc-1.5/usr/utils/static/umount.g
./klibc-1.5/usr/utils/static/true
./klibc-1.5/usr/utils/static/true.g
./klibc-1.5/usr/utils/static/false
./klibc-1.5/usr/utils/static/false.g
./klibc-1.5/usr/utils/static/sleep
./klibc-1.5/usr/utils/static/sleep.g
./klibc-1.5/usr/utils/static/ln
./klibc-1.5/usr/utils/static/ln.g
./klibc-1.5/usr/utils/static/nuke
./klibc-1.5/usr/utils/static/nuke.g
./klibc-1.5/usr/utils/static/minips
./klibc-1.5/usr/utils/static/minips.g
./klibc-1.5/usr/utils/static/cat
./klibc-1.5/usr/utils/static/cat.g
./klibc-1.5/usr/utils/static/insmod
./klibc-1.5/usr/utils/static/insmod.g
./klibc-1.5/usr/utils/static/uname
./klibc-1.5/usr/utils/static/uname.g
./klibc-1.5/usr/utils/static/kill
./klibc-1.5/usr/utils/static/kill.g
./klibc-1.5/usr/utils/static/readlink
./klibc-1.5/usr/utils/static/readlink.g
./klibc-1.5/usr/utils/static/cpio
./klibc-1.5/usr/utils/static/cpio.g
./klibc-1.5/usr/kinit/run-init/static/run-init
./klibc-1.5/usr/kinit/run-init/static/run-init.g
./klibc-1.5/usr/kinit/resume/static/resume
./klibc-1.5/usr/kinit/resume/static/resume.g
./klibc-1.5/usr/kinit/nfsmount/static/nfsmount
./klibc-1.5/usr/kinit/nfsmount/static/nfsmount.g
./klibc-1.5/usr/kinit/fstype/static/fstype
./klibc-1.5/usr/kinit/fstype/static/fstype.g
./klibc-1.5/usr/kinit/ipconfig/static/ipconfig
./klibc-1.5/usr/kinit/ipconfig/static/ipconfig.g

I don't know yet where the difference is with or without .g

I hope its fine that I add just a
klibcStaticBin attribute set only copying all those executables to $out/bin
if you don't mind me?

Marc



More information about the nix-dev mailing list