Added sync, fsync, fdatasync, lseek and nice