- int (*getattr) (const char *, struct stat *);
Get file attributes. - int (*readlink) (const char *, char *, size_t);
Read the target of a symbolic link - int (*mknod) (const char *, mode_t, dev_t);
Create a file node. - int (*mkdir) (const char *, mode_t);
Create a directory. - int (*unlink) (const char *);
Remove a file - int (*rmdir) (const char *);
Remove a directory - int (*rename) (const char *, const char *);
Rename a file - int (*chmod) (const char *, mode_t);
Change the permission bits of a file - int (*chown) (const char *, uid_t, gid_t);
Change the owner and group of a file - int (*truncate) (const char *, off_t);
Change the size of a file - int (*open) (const char *, struct fuse_file_info *);
File open operation. - int (*readdir) (const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *);
Read directory - int (*read) (const char *, char *, size_t, off_t, struct fuse_file_info *);
Read data from an open file - int (*write) (const char *, const char *, size_t, off_t, struct fuse_file_info *);
Write data to an open file
Wednesday, November 25, 2015
Posted by Unknown on 2:10 AM with No comments
Beberapa fungsi yang disediakan oleh FUSE dan akan berguna kita pakai nantinya:
Posted in FUSE, sisop, sistem operasi, ubuntu
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment