mount procfs during mkfs

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Remove unnecessary while loop

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>