dorimanx / exfat-nofuse

Android ARM Linux non-fuse read/write kernel driver for exFat and VFat Android file systems
GNU General Public License v2.0
710 stars 326 forks source link

d_type #88

Open piranna opened 8 years ago

piranna commented 8 years ago

Add support for d_type info so it can be used as a upper filesystem for OverlayFS

dorimanx commented 7 years ago

closing old requests.

piranna commented 7 years ago

Could this be open again? I'm still interested on this feature.

dorimanx commented 7 years ago

No one made any update for that from last year, so i think its will be declined.

piranna commented 7 years ago

Mostly it's just add the field to a structure and fill it with the file type, it's an easy task. Would you be willing to implement it? If not, would you accept a pull-request?

piranna commented 7 years ago

Here you can find more info about the d_type field:

http://www.gnu.org/software/libc/manual/html_node/Directory-Entries.html http://man7.org/linux/man-pages/man3/readdir.3.html

dorimanx commented 7 years ago

If you can provide pull request with change that stable, and not harming any kernel distribution when building, i will merge it.

piranna commented 7 years ago

When reading a file it's being given the type to dir_emit(), could it be that this is already being supported? Could we notify the other file types (specially symlinks)?

piranna commented 7 years ago

@piranna Are you willing to provide a pull request about it?

Not too much time lately, but it should be simple. If you want to do it, I can review and give advice :-)