Fixed bugs caused by merge.
Fixed crash when 'stat'ing non-existent file on devfs.
Check that device exists when mounting.
Report error when mount fails.