Skip to content

Improve description of subvolumes and containers#171

Open
WhyNotHugo wants to merge 1 commit into
AsahiLinux:mainfrom
WhyNotHugo:subvolumes
Open

Improve description of subvolumes and containers#171
WhyNotHugo wants to merge 1 commit into
AsahiLinux:mainfrom
WhyNotHugo:subvolumes

Conversation

@WhyNotHugo

Copy link
Copy Markdown

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.

@Conan-Kudo Conan-Kudo left a comment

Copy link
Copy Markdown
Member

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 <hugo@whynothugo.nl>
@WhyNotHugo

Copy link
Copy Markdown
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
Copy Markdown
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

2 participants