Subject: Re: NFS: Operation not supported by device
To: Christos Zoulas <christos@zoulas.com>
From: Brandon Menc <brm4242@fastmail.fm>
List: netbsd-help
Date: 12/13/2001 16:40:36
> That should have been NAMI "mount"
> Are you executing "mount export:/mnt /mnt" quoted?

Oh my. Sorry about that. Yes, i was actually typing:

ktrace -f ktrace.out "mount export:/mnt /mnt"

ktrace -f ktrace.out mount export:/mnt /mnt produces:


   781 ktrace   EMUL  "netbsd"
   781 ktrace   CALL  execve(0xbfbfd718,0xbfbfdbac,0xbfbfdbbc)
   781 ktrace   NAMI  "./mount"
   781 ktrace   RET   execve -1 errno 2 No such file or directory
   781 ktrace   CALL  execve(0xbfbfd718,0xbfbfdbac,0xbfbfdbbc)
   781 ktrace   NAMI  "/sbin/mount"
   781 mount    EMUL  "netbsd"
   781 mount    RET   execve JUSTRETURN
   781 mount    CALL  open(0x807cf2d,0,0xbfbfce28)
   781 mount    NAMI  "."
   781 mount    RET   open 3
   781 mount    CALL  chdir(0x807cf2f)
   781 mount    NAMI  "/"
   781 mount    RET   chdir 0
   781 mount    CALL  __lstat13(0xbfbfce29,0xbfbfcd8c)
   781 mount    NAMI  "mnt"
   781 mount    RET   __lstat13 0
   781 mount    CALL  chdir(0xbfbfce29)
   781 mount    NAMI  "mnt"
   781 mount    RET   chdir 0
   781 mount    CALL  __getcwd(0xbfbfce28,0x400)
   781 mount    RET   __getcwd 5
   781 mount    CALL  fchdir(0x3)
   781 mount    RET   fchdir 0
   781 mount    CALL  close(0x3)
   781 mount    RET   close 0
   781 mount    CALL  __sysctl(0xbfbfcd34,0x2,0xbfbfcd2c,0xbfbfcd30,0,0)
   781 mount    RET   __sysctl 0
   781 mount    CALL  readlink(0x8081034,0xbfbfcd68,0x3f)
   781 mount    NAMI  "/etc/malloc.conf"
   781 mount    RET   readlink -1 errno 2 No such file or directory
   781 mount    CALL  mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
   781 mount    RET   mmap 1208492032/0x48082000
   781 mount    CALL  break(0x80888bc)
   781 mount    RET   break 0
   781 mount    CALL  break(0x80888bc)
   781 mount    RET   break 0
   781 mount    CALL  break(0x808a000)
   781 mount    RET   break 0
   781 mount    CALL  break(0x808a000)
   781 mount    RET   break 0
   781 mount    CALL  break(0x808b000)
   781 mount    RET   break 0
   781 mount    CALL  break(0x808b000)
   781 mount    RET   break 0
   781 mount    CALL  break(0x808c000)
   781 mount    RET   break 0
   781 mount    CALL  __vfork14
   781 mount    RET   __vfork14 782/0x30e
   781 mount    CALL  wait4(0x30e,0xbfbfce10,0,0)
   781 mount    RET   wait4 782/0x30e
   781 mount    CALL  exit(0x1)

Side note: what exactly is NAMI? I can follow the output a bit, and I have
an idea of what NAMI means, but I would like to know for sure.