Code review comment for lp:~jamesodhunt/ubuntu/saucy/sysvinit/force-reload-configuration-for-broken-inotify

Martin Pitt (pitti) wrote :

How about making this more generic:

rootfs=$(awk '{if ($5 == "/") print $8; }' /proc/self/mountinfo)

if [ "$rootfs" = "overlayfs" ]; then
   ... do the reload hack
fi

?

« Back to merge proposal