Skip to content

Conversation

@appcypher
Copy link
Member

Move overlayfs implementation to Linux-specific directory and add comprehensive Linux filesystem support. This change introduces:

Core Features:

  • Implement path traversal with lookup_layer_by_layer and lookup_segment_by_segment
  • Add copy_up functionality for promoting files from lower to upper layers
  • Support FICLONE ioctl for efficient Copy-on-Write operations
  • Implement Linux-specific file operations (fallocate, lseek, copyfilerange)
  • Add memory mapping support via setupmapping and removemapping

Linux Integration:

  • Handle Linux-specific file descriptors and system calls
  • Support Linux xattr operations and mount point management
  • Implement proper device ID handling for Linux filesystems
  • Add CoW optimizations using Linux-specific filesystem features

Move overlayfs implementation to Linux-specific directory and add comprehensive
Linux filesystem support. This change introduces:

Core Features:
- Implement path traversal with lookup_layer_by_layer and lookup_segment_by_segment
- Add copy_up functionality for promoting files from lower to upper layers
- Support FICLONE ioctl for efficient Copy-on-Write operations
- Implement Linux-specific file operations (fallocate, lseek, copyfilerange)
- Add memory mapping support via setupmapping and removemapping

Linux Integration:
- Handle Linux-specific file descriptors and system calls
- Support Linux xattr operations and mount point management
- Implement proper device ID handling for Linux filesystems
- Add CoW optimizations using Linux-specific filesystem features
- Remove ignore/debug from workspace members
- Add #[cfg(test)] annotation to overlayfs test helper module
- Remove redundant newline in devices/Cargo.toml
@appcypher appcypher merged commit 0a37c82 into develop Apr 11, 2025
appcypher added a commit that referenced this pull request Jun 8, 2025
* feat(overlayfs): complete Linux overlayfs implementation

Move overlayfs implementation to Linux-specific directory and add comprehensive
Linux filesystem support. This change introduces:

Core Features:
- Implement path traversal with lookup_layer_by_layer and lookup_segment_by_segment
- Add copy_up functionality for promoting files from lower to upper layers
- Support FICLONE ioctl for efficient Copy-on-Write operations
- Implement Linux-specific file operations (fallocate, lseek, copyfilerange)
- Add memory mapping support via setupmapping and removemapping

Linux Integration:
- Handle Linux-specific file descriptors and system calls
- Support Linux xattr operations and mount point management
- Implement proper device ID handling for Linux filesystems
- Add CoW optimizations using Linux-specific filesystem features

* chore: cleanup workspace and test configuration

- Remove ignore/debug from workspace members
- Add #[cfg(test)] annotation to overlayfs test helper module
- Remove redundant newline in devices/Cargo.toml

* fix(overlayfs): fix linux overlayfs for tests
appcypher added a commit that referenced this pull request Jun 26, 2025
* feat(overlayfs): complete Linux overlayfs implementation

Move overlayfs implementation to Linux-specific directory and add comprehensive
Linux filesystem support. This change introduces:

Core Features:
- Implement path traversal with lookup_layer_by_layer and lookup_segment_by_segment
- Add copy_up functionality for promoting files from lower to upper layers
- Support FICLONE ioctl for efficient Copy-on-Write operations
- Implement Linux-specific file operations (fallocate, lseek, copyfilerange)
- Add memory mapping support via setupmapping and removemapping

Linux Integration:
- Handle Linux-specific file descriptors and system calls
- Support Linux xattr operations and mount point management
- Implement proper device ID handling for Linux filesystems
- Add CoW optimizations using Linux-specific filesystem features

* chore: cleanup workspace and test configuration

- Remove ignore/debug from workspace members
- Add #[cfg(test)] annotation to overlayfs test helper module
- Remove redundant newline in devices/Cargo.toml

* fix(overlayfs): fix linux overlayfs for tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants