Skip to content

Improve description of subvolumes and containers #171

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WhyNotHugo
Copy link

This isn't a hack; it's the same approach taken by other filesystems with subvolumes. Mention this explicitly.

Explain that containers are exposed as disks on their own right. A conclusion was made based on this fact, but it was not explicitly called out.

Copy link
Member

@Conan-Kudo Conan-Kudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please rebase this and also do a proper DCO Signed-off-by statement?

This isn't a hack; it's the same approach taken by other filesystems
with subvolumes. Mention this explicitly.

Explain that containers are exposed as disks on their own right. A
conclusion was made based on this fact, but it was not explicitly called
out.

Signed-off-by: Hugo Osvaldo Barrera <[email protected]>
@WhyNotHugo
Copy link
Author

Done

`diskN` (`N` >= 1) could be a disk image or an external disk, but more likely is an *APFS container*. This is a hack that Apple came up with to represent subvolumes. The "partitions" within such a disk aren't real partitions, they just represent volumes within one APFS container. The container itself exists within a physical partition in `disk0`. That means that for APFS operations, for example, `disk0s2` and `disk1` could mean the same thing, the former referencing the container by its physical partition, and the latter by the virtual (*synthesized*) disk number.
`diskN` (`N` >= 1) could be a disk image or an external disk, but more likely
is an *APFS container*. Each *APFS container* contains multiple subvolumes,
much like btrfs or zsh partitions contain multiple subvolumes. The "partitions"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you mean zfs here?

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