what is the difference between smbmount and smbmnt?

David Wuertele dave-gnus at bfnet.com
Wed Nov 17 00:12:29 GMT 2004


It looks like mounting on the client works this way:

  1.  user invokes smbmount
  2.  smbmount forks
      2.a.  parent pauses until it gets killed, which is when child
            discovers that mounting operation did its job
      2.b.  child forks
            2.b.a.  new parent waits around forever for signals from
                    the kernel
            2.b.b.  new child execs smbmnt
  3.  smbmnt calls the mount(2) syscall
  4.  smbmnt exits

Question: Why are smbmount and smbmnt two separate programs?  Couldn't
all of these tasks been handled more efficiently without the extra
exec()?

Thanks,
Dave



More information about the samba-technical mailing list