Skip to content
Commit 2f61a442 authored by Dmitry Monakhov's avatar Dmitry Monakhov Committed by Will Deacon
Browse files

init: fix sysfs mount arguments



It is not good idea to pass empty 'source' argument to  mount(2) because
libmount complains about incorrect /proc/self/mountinfo structure. This
affects many applications such as findmnt, umount and etc.

Let's add fake source argument to sysfs mount command as we do with all other
filesystems.

Reviewed-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarDmitry Monakhov <dmtrmonakhov@yandex-team.ru>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 5e4b563d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment