#
#asahi · 2023-01-14 02:32
TheDcoderto boot the actual Linux
#asahi · 2023-01-14 02:32
nicolas17TheDcoder: this would be the xARTs volume alone (which is currently not used at all on Linux)
#asahi · 2023-01-14 02:32
TheDcoderbut that's just the stub loader right?
#asahi · 2023-01-14 02:32
marcanso we have to share the APFS volume to make it work properly
#asahi · 2023-01-14 02:32
amarioguyah right because tampering with that is bad news
#asahi · 2023-01-14 02:32
marcanbut then macos would break
#asahi · 2023-01-14 02:32
TheDcoderbut we aren't sharing the volume with macOS?
#asahi · 2023-01-14 02:32
marcanwe could just copy the file to Linux for experiments
#asahi · 2023-01-14 02:31
marcannicolas17: yes exactly
#asahi · 2023-01-14 02:31
nicolas17amarioguy: I think the problem is we need to share the volume with macOS
#asahi · 2023-01-14 02:31
marcanother than that key provisioning thing
#asahi · 2023-01-14 02:31
marcanSEP doesn't know about APFS and it doesn't have any back channels to ANS
#asahi · 2023-01-14 02:31
marcanAP has to broker xARTs access
#asahi · 2023-01-14 02:31
marcanamarioguy: AP does it
#asahi · 2023-01-14 02:31
amarioguymight explain it
#asahi · 2023-01-14 02:31
amarioguybut the fact there's no shmem access there
#asahi · 2023-01-14 02:31
marcanI think apple even uses bypasses for xARTs and doesn't actually hit the FS layer, but does direct writes from the kernel or something
#asahi · 2023-01-14 02:31
amarioguydo we even need to use apfs? i haven't checked whether SEP fetches the GL from the volume itself or whether AP has to preload it somehow
#asahi · 2023-01-14 02:31
TheDcodermarcan: but I doubt we can get something like that upstreamed in Linux
#asahi · 2023-01-14 02:30
nicolas17I just use it to grab stuff from iOS firmware images but the compression thing is a pain
#asahi · 2023-01-14 02:30
TheDcodernicolas17: oh right, forgot that APFS is pre-AS
#asahi · 2023-01-14 02:30
marcanso much more likely that we can guarantee stability *just* for that
#asahi · 2023-01-14 02:30
nicolas17apfs-fuse might predate Apple Silicon macs actually
#asahi · 2023-01-14 02:30
marcanthankfully xARTs is a super restricted use case
#asahi · 2023-01-14 02:30
TheDcodermarcan: I imagine it would be a whole new can of worms
#asahi · 2023-01-14 02:30
amarioguymarcan: can't wait to use my fork to test xART loads tomorrow :P
#asahi · 2023-01-14 02:30
marcanmight end up shipping it but with some big gate so people don't use it on normal volumes if it's not stable enough
#asahi · 2023-01-14 02:29
TheDcodernicolas17: already?
#asahi · 2023-01-14 02:29
nicolas17which last I checked still gives I/O errors on transparently-compressed files
#asahi · 2023-01-14 02:29
marcanonce SEP comes into the picture we'll have to decide what to do
#asahi · 2023-01-14 02:29
TheDcoderokay, but it's not related to us
#asahi · 2023-01-14 02:29
marcanwe don't ship it yet
#asahi · 2023-01-14 02:29
nicolas17and there's apfs-fuse
#asahi · 2023-01-14 02:29
marcannot sure what state it's in
#asahi · 2023-01-14 02:29
TheDcoderobviously not upstream :)
#asahi · 2023-01-14 02:29
marcanthere is a downstream one
#asahi · 2023-01-14 02:29
marcannope
#asahi · 2023-01-14 02:29
TheDcodereven for RO support?
#asahi · 2023-01-14 02:29
marcannot upstream
#asahi · 2023-01-14 02:29
TheDcoderoh, so there's no kernel driver for APFS?
#asahi · 2023-01-14 02:28
marcanother than what the installer does
#asahi · 2023-01-14 02:28
marcannicolas17: correct
#asahi · 2023-01-14 02:28
marcan(that's how updates work, mount it live as RW, make changes, take snapshot, re-seal)
#asahi · 2023-01-14 02:28
nicolas17afaik Asahi doesn't touch APFS currently
#asahi · 2023-01-14 02:28
marcanyou can mount the FS as rw, you just can't mount it as root
#asahi · 2023-01-14 02:28
TheDcoderIs all the APFS stuff done under the Asahi Linux umbrella as well?
#asahi · 2023-01-14 02:28
nicolas17(except dm-verity is at the block device level)
#asahi · 2023-01-14 02:28
marcanyes, with stuff in permissive security mode you can in principle make your own snapshots
#asahi · 2023-01-14 02:28
amarioguyyou need to modify the snapshot
#asahi · 2023-01-14 02:27
amarioguyon release

plus ›