Skip to content

system call list for file operations #1

@KnightChaser

Description

@KnightChaser

Index

  • text "abc" (normal) for just listing
  • text "abc" (bold) for prioritization
  • text "abc" (bold with cancellation line) for done
  1. FD lifecycle

    • open, openat, openat2 (a.k.a. open*)
    • close
    • dup, dup2, dup3 (a.k.a. dup*)
    • fcntl
  2. read/write paths

    • read, write
    • pread64, pwrite64
    • readv, writev
    • preadv, pwritev
    • preadv2, pwritev2
    • sendfile, copy_file_range, splice/vmsplice/tee (zero-copy movers)
  3. positioning & metadata

    • lseek
    • stat, fstat, lstat, newfstatat (fstatat)
    • statx
    • statfs, fstatfs
  4. directory & link operations

    • getdents64
    • mkdir, mkdirat, rmdir
    • link, linkat, unlink, unlinkat, symlink, symlinkat, readlink, readlinkat
    • rename, renameat2
  5. permissions & ownership

    • chmod, fchmod, fchmodat
    • chown, lchown, fchownat
    • umask
  6. extended attributes & ACLs

    • setxattr, lsetxattr, fsetxattr
    • getxattr, lgetxattr, fgetxattr
    • listxattr, llistxattr, flistxattr
    • removexattr, lremovexattr, fremovexattr
  7. space management & synchronization

    • truncate, ftruncate
    • fallocate
    • fsync, fdatasync, syncfs, sync, msync
  8. polling, events on fds

    • poll, ppoll, select, pselect6
    • epoll_create1, epoll_ctl, epoll_wait
    • inotify_init1, inotify_add_watch, inotify_rm_watch
    • fanotify_init, fanotify_mark
    • eventfd, timerfd_create, timerfd_settime
  9. mount, superuser filesystem operations (extra information..., if I have more time.)

    • mount, umount2
    • open_tree, move_mount, fsopen, fsconfig, fsmount, fspick
    • name_to_handler_at, open_by_handle_at
    • pivot_root

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions