-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for "container file systems" #408
Comments
@rgayon @joachimmetz As discussed oob, i can take a look at this (re-using docker explorer to add support in dfVFS) |
When a file is "deleted" in a layer of the overlay, the driver sets the character device bit and the device number (st_dev) to 0,0. "A whiteout is created as a character device with 0/0 device number" In the ExtFileEntry class, this bit looks to be masked out: dfvfs/dfvfs/vfs/ext_file_entry.py Line 134 in 4a84328
In the StatAttribute class, support for the device number is under consideration: Line 49 in 4a84328
|
@sydp you likely want to add it to dfvfs/dfvfs/vfs/ext_file_entry.py Line 22 in 4a84328
But you would need to check what the behavior on other file systems is and what functionality we would need |
Ah great, thanks @joachimmetz. I'll look into it - currently only have test data for EXT4. |
Ie: the case of Docker containers
Some pre-work exploring these in docker-explorer
The text was updated successfully, but these errors were encountered: