ping.
// hongzhi
On 2018年03月06日 18:54, Hongzhi.Song wrote:
Issue: mkfs.ext4 fails, prompting that the device
is in use by the system. But there is no mounted infomation in /proc/mounts.
Reproduce: Be sure that there is storage device connected to you machine.
Boot the machine.
Issue: mkfs.ext4 fails, prompting that the device
is in use by the system. But there is no mounted infomation in /proc/mounts.
Reproduce: Be sure that there is storage device connected to you machine.
Boot the machine.
root@intel-x86-64:~# mkfs.ext4 /dev/mmcblk0p1
mke2fs
If linux uses systemd as init, systemd-udevd.service sets MountFlags=slave,
which is essentially a sandboxing setting: it detaches mount() operations
done within the service from the rest of the system. This means that,
outside of namespace of systemd-udev, we can not access device mounted by
udev