]> git.ozlabs.org Git - petitboot/commit
discover: Call mount syscall directly
authorJeremy Kerr <jk@ozlabs.org>
Thu, 13 Mar 2014 02:24:32 +0000 (10:24 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 14 Mar 2014 07:59:43 +0000 (15:59 +0800)
commitfdb51c2696a43624ba4378fb61de7e492fa59d98
tree7bec2dc876ac0814ba59b85518ab81bf3ca69988
parent43f340b66d8323c6e797868d07fc98482052ba35
discover: Call mount syscall directly

We used to use the mount binary to do filesystem autodetection. Since we
now know the fstype, we may as well call the mount syscall directly.

We add a log messages too, as we'll no longer get the 'running process:'
output from the process code, which is helpful is debugging discovery
issues.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c