#1737 closed defect (fixed)

Always check kernel virtual filesystems are mounted

Reported by: Pierre Labastie Owned by: alfs-log@…
Priority: normal Milestone:
Component: jhalfs Version: GIT
Severity: normal Keywords:
Cc:

Description

Presently, the kernel virtual filesystems (vfs) are mounted only when running target xxx-kernfs. If for some reason the build is interrupted and they are unmounted (for example restarting a VM), then they are not automatically mounted again. make devices has to be run first.

We'd better always check they are mounted and mount them if not.

Change History (2)

comment:1 by Pierre Labastie, 14 months ago

Should we fine grain the check, that is check separately that /proc, /sys, /dev,... are mounted?

comment:2 by Pierre Labastie, 14 months ago

Resolution: fixed
Status: newclosed

This has been fixed at aceacf2f8 and 200cc015, by changing the kernfs scripts so that any mount is preceded by mountpoint -q <mount dir>|| , and any umount by mountpoint -q <mount dir> && . So we have both the fine grained check and the ability to depend on mounting the devices for all the Makefile targets coming after mounting the kern vfs.

Note: See TracTickets for help on using tickets.