search for: get_inode_mod

Displaying 7 results from an estimated 7 matches for "get_inode_mod".

Did you mean: get_inode_mode
2013 Mar 31
1
Rock Ridge for core/fs/iso9660
...Rock Ridge id texts "RRIP_1991A", "IEEE_P1282", and "IEEE_1282". (FreeBSD has such a test, as i learned a few years ago.) ---------------------------------------------------------------- I noticed another possible application for Rock Ridge: dirent->d_type = get_inode_mode(de->flags); and inode->mode = get_inode_mode(de->flags); One could feed both with better info from Rock Ridge entry PX. I understand that currently file types other than directory and regular file show up as (empty) regular files. Does syslinux have use for socket files, symbolic...
2014 Feb 20
2
[PATCH] NTFS: fragmented $MFT file was not handled
...02/core/fs/ntfs/ntfs.c 2014-02-20 12:21:41.000000000 +0400 @@ -40,6 +40,10 @@ static struct ntfs_readdir_state *readdi /*** Function declarations */ static f_mft_record_lookup ntfs_mft_record_lookup_3_0; static f_mft_record_lookup ntfs_mft_record_lookup_3_1; +static inline enum dirent_type get_inode_mode(struct ntfs_mft_record *mrec); +static inline struct ntfs_attr_record * ntfs_attr_lookup(struct fs_info *fs, uint32_t type, struct ntfs_mft_record **mmrec, struct ntfs_mft_record *mrec); +static inline uint8_t *mapping_chunk_init(struct ntfs_attr_record *attr,struct mapping_chunk *chunk,uint32...
2011 Oct 05
0
[GIT PULL] NTFS readonly file system support
...Add NTFS filesystem support to Linux and Windows installers Initial NTFS readonly support code to Syslinux ntfs: implement new_ntfs_inode() ntfs: implement for_each_mft_record() macro ntfs: implement ntfs_iget_root() ntfs: implement ntfs_iget() ntfs: implement get_inode_mode() ntfs: implement ntfs_readdir() ntfs: implement ntfs_next_extent() and ntfs_getfssec() ntfs: implement fixups_realloc() ntfs: set block shift and size to their correct values ntfs: heh :-) ntfs: continue on its implementation ntfs: it's working, parti...
2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...y(fs, parent, dname); + if (!dir) + return NULL; + + return UFS_SB(fs)->ufs_iget_by_inr(fs, dir->inode_value); +} + +static int ufs_readlink(struct inode *inode, char *buf) +{ + ufs_debug("ufs_readlink\n"); + return inode->size; +} + +static inline enum dir_type_flags get_inode_mode(uint8_t attr) +{ + return (attr & UFS_DTYPE_DIR) ? DT_DIR : DT_REG; +} + +/* + * Read one directory entry at a time + */ +static int ufs_readdir(struct file *file, struct dirent *dirent) +{ + struct fs_info *fs = file->fs; + struct inode *inode = file->inode; + const struct u...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...y(fs, parent, dname); + if (!dir) + return NULL; + + return UFS_SB(fs)->ufs_iget_by_inr(fs, dir->inode_value); +} + +static int ufs_readlink(struct inode *inode, char *buf) +{ + ufs_debug("ufs_readlink\n"); + return inode->size; +} + +static inline enum dir_type_flags get_inode_mode(uint8_t attr) +{ + return (attr & UFS_DTYPE_DIR) ? DT_DIR : DT_REG; +} + +/* + * Read one directory entry at a time + */ +static int ufs_readdir(struct file *file, struct dirent *dirent) +{ + struct fs_info *fs = file->fs; + struct inode *inode = file->inode; + const struct u...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com> Wrote the documentation below. I think it would be good to push the doc to the wiki as soon as the UFS support gets merged. Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install) ----- There is a confusion about the name of this file system, then I decided to contact the author who replied: "The name has always been
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com> Change since v1: * Fix bug on dentry structure (thank you specification; btw, sarcasm), and consequently a bug on ufs_readdir. * Add readlink support (applied tests for symlinks whose destionation path were stored in blk pointers and the file itself). * Several improvements. Wrote the documentation below. I think it would be good to