copied files from linux-tools - Laurent Orseau