Repository navigation
Expand file tree
/
Copy pathdevuan-system7-workalike-plan.html
More file actions
1254 lines (1170 loc) · 72.1 KB
/
Copy pathdevuan-system7-workalike-plan.html
File metadata and controls
1254 lines (1170 loc) · 72.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>A System 7 Workalike on Devuan — Feasibility Study</title>
<style>
:root{
--ink:#000;
--paper:#fff;
--desk:#8a8a8a;
--shadow:rgba(0,0,0,.55);
--gray1:#e4e4e4;
--gray2:#bdbdbd;
--gray3:#767676;
--select:#a9c6e8;
--go:#1c6b34; --go-bg:#dcece0;
--hold:#8a5a00; --hold-bg:#f0e7d2;
--stop:#8f1d1d; --stop-bg:#f0dcdc;
--chrome:"Chicago","ChiKareGo2","Charcoal",Geneva,Verdana,Tahoma,"DejaVu Sans",sans-serif;
--body:Geneva,Verdana,Tahoma,"DejaVu Sans",Helvetica,Arial,sans-serif;
--mono:Monaco,"DejaVu Sans Mono",Menlo,Consolas,monospace;
--menubar-h:22px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
margin:0;
font:13.5px/1.62 var(--body);
color:var(--ink);
background-color:var(--desk);
background-image:repeating-conic-gradient(#000 0% 25%, #fff 0% 50%);
background-size:2px 2px;
padding-top:var(--menubar-h);
}
/* ---------- menu bar ---------- */
.menubar{
position:fixed; top:0; left:0; right:0; height:var(--menubar-h); z-index:100;
background:var(--paper); border-bottom:1px solid var(--ink);
display:flex; align-items:stretch; padding:0 6px;
font:12px/1 var(--chrome); -webkit-font-smoothing:none;
overflow-x:auto; scrollbar-width:none;
}
.menubar::-webkit-scrollbar{display:none}
.menubar a,.menubar .mb-glyph{
display:flex; align-items:center; padding:0 9px; color:var(--ink);
text-decoration:none; white-space:nowrap; letter-spacing:.02em;
}
.menubar a:hover,.menubar a:focus-visible{background:var(--ink); color:var(--paper); outline:none}
.mb-glyph{padding:0 10px 0 4px}
.mb-spacer{flex:1 1 auto; min-width:8px}
.mb-clock{display:flex;align-items:center;padding:0 6px;color:var(--gray3);font-size:11px}
/* ---------- layout ---------- */
.desktop{max-width:940px; margin:0 auto; padding:26px 20px 90px; display:flex; flex-direction:column; gap:26px}
/* ---------- window chrome ---------- */
.win{background:var(--paper); border:1px solid var(--ink); box-shadow:2px 2px 0 var(--shadow)}
.win__bar{
position:relative; display:flex; align-items:center; gap:6px;
height:21px; padding:0 5px; border-bottom:1px solid var(--ink); background:var(--paper);
}
.win__bar::before{
content:""; position:absolute; left:0; right:0; top:4px; bottom:4px;
background:repeating-linear-gradient(to bottom, var(--ink) 0 1px, var(--paper) 1px 2px);
}
.win__bar > *{position:relative; z-index:1}
.win__box{width:11px; height:11px; border:1px solid var(--ink); background:var(--paper); flex:none}
.win__box--zoom{padding:1px; background:var(--paper)}
.win__box--zoom i{display:block; width:100%; height:100%; border:1px solid var(--ink)}
.win__title{
background:var(--paper); padding:0 9px; font:12px/1 var(--chrome);
-webkit-font-smoothing:none; letter-spacing:.02em; white-space:nowrap;
overflow:hidden; text-overflow:ellipsis;
}
.win__spacer{flex:1 1 auto; height:1px}
.win__body{padding:20px 22px 24px}
.win--inactive .win__bar::before{display:none}
.win--inactive .win__title{color:var(--gray3)}
/* ---------- headline window ---------- */
.hero .win__body{padding:26px 26px 28px}
.hero h1{
font:400 27px/1.16 var(--chrome); -webkit-font-smoothing:none;
margin:0 0 4px; letter-spacing:-.01em; text-wrap:balance;
}
.hero .kicker{
font:11px/1 var(--chrome); -webkit-font-smoothing:none; letter-spacing:.14em;
text-transform:uppercase; color:var(--gray3); margin:0 0 14px;
}
.hero .verdict{font-size:15px; line-height:1.6; max-width:66ch; margin:0 0 4px}
.hero .verdict strong{background:var(--select); padding:0 3px}
/* ---------- typography inside windows ---------- */
.win__body h3{
font:12px/1 var(--chrome); -webkit-font-smoothing:none;
text-transform:uppercase; letter-spacing:.11em;
margin:26px 0 10px; padding-bottom:5px; border-bottom:1px solid var(--ink);
}
.win__body h3:first-child{margin-top:0}
.win__body h4{font:400 14px/1.3 var(--chrome); -webkit-font-smoothing:none; margin:18px 0 6px}
.win__body p{margin:0 0 11px; max-width:68ch}
.win__body ul{margin:0 0 12px; padding-left:19px; max-width:68ch}
.win__body li{margin:0 0 5px}
.win__body li::marker{color:var(--gray3)}
code,kbd,.mono{font-family:var(--mono); font-size:.9em; background:var(--gray1); padding:1px 4px; border:1px solid var(--gray2)}
a{color:var(--ink)}
.lede{font-size:14.5px; max-width:64ch}
/* ---------- chips ---------- */
.chip{
display:inline-flex; align-items:center; gap:5px; vertical-align:middle;
border:1px solid var(--ink); padding:1px 7px; background:var(--paper);
font:10.5px/1.5 var(--chrome); -webkit-font-smoothing:none;
letter-spacing:.06em; text-transform:uppercase; white-space:nowrap;
}
.chip--go{background:var(--go-bg); color:var(--go)}
.chip--hold{background:var(--hold-bg); color:var(--hold)}
.chip--stop{background:var(--stop-bg); color:var(--stop)}
.chip::before{content:""; width:7px; height:7px; border:1px solid currentColor; background:currentColor; flex:none}
.chip--go::before{background:var(--go)}
.chip--hold::before{background:var(--hold); border-radius:50%}
.chip--stop::before{background:var(--stop); transform:rotate(45deg)}
/* ---------- tables ---------- */
.tablewrap{overflow-x:auto; margin:0 0 14px; border:1px solid var(--ink)}
table{border-collapse:collapse; width:100%; min-width:560px; background:var(--paper); font-size:12.5px}
th,td{border:1px solid var(--gray2); padding:7px 10px; text-align:left; vertical-align:top}
thead th{
position:relative; border-color:var(--ink); background:var(--gray1);
font:11px/1.3 var(--chrome); -webkit-font-smoothing:none;
text-transform:uppercase; letter-spacing:.07em;
}
tbody tr:nth-child(even) td{background:#f6f6f6}
td.num{font-variant-numeric:tabular-nums; text-align:right; font-family:var(--mono); font-size:11.5px}
td strong{font-weight:400; background:var(--select); padding:0 3px}
/* ---------- notes ---------- */
.note{
border:1px solid var(--ink); background:var(--paper); padding:13px 15px;
margin:0 0 14px; display:grid; grid-template-columns:26px 1fr; gap:12px; align-items:start;
}
.note p:last-child{margin-bottom:0}
.note__mark{
width:24px; height:24px; border:1px solid var(--ink); border-radius:50%;
display:grid; place-items:center; font:14px/1 var(--chrome); -webkit-font-smoothing:none;
}
.note--warn{background:var(--hold-bg)}
.note--stop{background:var(--stop-bg)}
.note--go{background:var(--go-bg)}
.note h4{margin:0 0 4px; font-size:13px}
/* ---------- diagram frames ---------- */
.figure{margin:4px 0 18px}
.figure__frame{border:1px solid var(--ink); background:var(--paper); padding:14px; overflow-x:auto}
.figure svg{display:block; min-width:520px; width:100%; height:auto}
.figure figcaption{
font:10.5px/1.5 var(--chrome); -webkit-font-smoothing:none; letter-spacing:.07em;
text-transform:uppercase; color:var(--gray3); margin-top:7px;
}
svg text{font-family:var(--body)}
svg .lbl{font-size:11px}
svg .lbl-sm{font-size:9.5px; fill:var(--gray3)}
svg .lbl-hd{font-family:var(--chrome); font-size:10px; letter-spacing:.08em; text-transform:uppercase}
svg .mono-t{font-family:var(--mono); font-size:10px}
/* ---------- desktop mockup ---------- */
.mockwrap{overflow-x:auto; border:1px solid var(--ink)}
.mock{
position:relative; min-width:800px; height:540px;
background-color:var(--desk);
background-image:repeating-conic-gradient(#000 0% 25%, #fff 0% 50%);
background-size:2px 2px;
font:12px/1.35 var(--body);
}
.mock__menubar{
position:absolute; inset:0 0 auto 0; height:21px; background:var(--paper);
border-bottom:1px solid var(--ink); display:flex; align-items:center; padding:0 8px; gap:16px;
font:11.5px/1 var(--chrome); -webkit-font-smoothing:none; z-index:5;
}
.mock__menubar .active{background:var(--ink); color:var(--paper); padding:3px 6px; margin:0 -6px}
.mock-win{position:absolute; background:var(--paper); border:1px solid var(--ink); box-shadow:2px 2px 0 var(--shadow)}
.mock-win__bar{position:relative; display:flex; align-items:center; gap:5px; height:18px; padding:0 4px; border-bottom:1px solid var(--ink); background:var(--paper)}
.mock-win__bar::before{content:""; position:absolute; left:0; right:0; top:3px; bottom:3px; background:repeating-linear-gradient(to bottom,var(--ink) 0 1px,var(--paper) 1px 2px)}
.mock-win__bar > *{position:relative; z-index:1}
.mock-win__bar .b{width:9px;height:9px;border:1px solid var(--ink);background:var(--paper);flex:none}
.mock-win__t{background:var(--paper); padding:0 7px; font:11px/1 var(--chrome); -webkit-font-smoothing:none}
.mock-win__sp{flex:1}
.mock-win__info{
height:15px; border-bottom:1px solid var(--ink); display:flex; align-items:center; padding:0 6px;
font:9.5px/1 var(--body); color:var(--gray3); justify-content:space-between;
}
.mock-win__body{padding:7px}
.mock-list{display:grid; grid-template-columns:repeat(3,1fr); gap:9px 4px}
.mock-item{display:flex; flex-direction:column; align-items:center; gap:3px; text-align:center; font-size:10px; line-height:1.2}
.mock-item span{padding:0 3px}
.mock-item.sel span{background:var(--ink); color:var(--paper)}
.desk-icon{position:absolute; width:70px; display:flex; flex-direction:column; align-items:center; gap:3px; text-align:center; font-size:10px; line-height:1.2; color:var(--ink)}
.desk-icon span{background:var(--paper); padding:0 3px; border:1px solid transparent}
.callout{
position:absolute; width:17px; height:17px; border:1px solid var(--ink); border-radius:50%;
background:var(--paper); display:grid; place-items:center; z-index:20;
font:10px/1 var(--chrome); -webkit-font-smoothing:none; box-shadow:1px 1px 0 var(--shadow);
}
.legend{display:grid; grid-template-columns:repeat(auto-fit,minmax(238px,1fr)); gap:9px 20px; margin:14px 0 0; padding:0; list-style:none}
.legend li{display:grid; grid-template-columns:19px 1fr; gap:9px; font-size:12px; line-height:1.45; margin:0}
.legend b{
display:grid; place-items:center; width:17px; height:17px; border:1px solid var(--ink);
border-radius:50%; font:10px/1 var(--chrome); -webkit-font-smoothing:none; font-weight:400;
}
/* ---------- effort bars ---------- */
.bars{display:flex; flex-direction:column; gap:9px; margin:2px 0 14px}
.bar{display:grid; grid-template-columns:minmax(120px,1.1fr) 3fr auto; gap:11px; align-items:center; font-size:12px}
.bar__name{font:11px/1.3 var(--chrome); -webkit-font-smoothing:none}
.bar__track{height:15px; border:1px solid var(--ink); background:var(--paper); position:relative}
.bar__fill{
position:absolute; top:0; bottom:0; left:0; border-right:1px solid var(--ink);
background:repeating-linear-gradient(-45deg, var(--ink) 0 1px, transparent 1px 4px);
}
.bar__fill--open{background:repeating-linear-gradient(-45deg, var(--gray3) 0 1px, transparent 1px 7px)}
.bar__val{font-family:var(--mono); font-size:11px; font-variant-numeric:tabular-nums; color:var(--gray3); white-space:nowrap}
/* ---------- two-up ---------- */
.two{display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:18px}
.panel{border:1px solid var(--ink); padding:13px 15px; background:var(--paper)}
.panel h4{margin-top:0}
.panel p:last-child,.panel ul:last-child{margin-bottom:0}
/* ---------- footer ---------- */
.colophon{
max-width:940px; margin:0 auto; padding:0 20px 60px;
font:10.5px/1.7 var(--chrome); -webkit-font-smoothing:none; letter-spacing:.06em;
color:var(--paper); text-transform:uppercase;
}
.colophon a{color:var(--paper)}
@media (max-width:640px){
.desktop{padding:16px 11px 60px; gap:18px}
.win__body{padding:16px 15px 18px}
.hero h1{font-size:22px}
.bar{grid-template-columns:1fr; gap:3px}
}
@media (prefers-reduced-motion:reduce){
*{animation:none !important; transition:none !important}
}
@media print{
body{background:#fff; padding:0}
.menubar{display:none}
.win{box-shadow:none; break-inside:avoid}
}
</style>
</head>
<body>
<nav class="menubar" aria-label="Sections">
<span class="mb-glyph" aria-hidden="true">
<svg width="13" height="14" viewBox="0 0 13 14" fill="none" stroke="#000" stroke-width="1" shape-rendering="crispEdges">
<path d="M6.5 1.5 v11 M1.5 4 L6.5 1.5 L11.5 4 v6 L6.5 12.5 L1.5 10 Z" />
</svg>
</span>
<a href="#verdict">Verdict</a>
<a href="#boot">Boot</a>
<a href="#desktop">Desktop</a>
<a href="#sysfolder">System Folder</a>
<a href="#apps">Applications</a>
<a href="#archives">Archives</a>
<a href="#classic">Classic</a>
<a href="#seamless">Seamless</a>
<a href="#plan">Plan</a>
<a href="#risks">Risks</a>
<span class="mb-spacer"></span>
<span class="mb-clock">27 Jul 2026</span>
</nav>
<main class="desktop">
<!-- ============ HERO / VERDICT ============ -->
<section class="win hero" id="verdict">
<div class="win__bar">
<span class="win__box" aria-hidden="true"></span>
<span class="win__spacer"></span>
<h2 class="win__title">Feasibility Study</h2>
<span class="win__spacer"></span>
<span class="win__box win__box--zoom" aria-hidden="true"><i></i></span>
</div>
<div class="win__body">
<p class="kicker">Build plan · revision A</p>
<h1>A System 7 workalike that boots on real hardware</h1>
<p class="verdict">A graphical-only Devuan ISO running <span class="mono">mlvwm</span> on XLibre, with a System Folder,
no user accounts, AppImages in <span class="mono">/Applications</span>, and classic Mac software one double-click away.
<strong>Everything but the last item is a weekend-to-a-fortnight project.</strong> The classic-app layer is where the
difficulty lives — and the constraint that makes it hard is legal, not technical.</p>
<p>The headline finding: there <em>is</em> a fully redistributable path to running System 7 software, and it does not
involve an Apple ROM. See <a href="#classic">Classic Applications</a>.</p>
<h3>Component scoreboard</h3>
<div class="tablewrap">
<table>
<thead>
<tr><th style="width:27%">Component</th><th style="width:14%">Verdict</th><th>The actual obstacle</th></tr>
</thead>
<tbody>
<tr><td>Boot straight to graphics</td><td><span class="chip chip--go">Easy</span></td><td>None. Standard live-image practice.</td></tr>
<tr><td>mlvwm on XLibre</td><td><span class="chip chip--go">Easy</span></td><td>1990s imake and K&R C. XLibre is Xlib-compatible; mlvwm cannot tell it apart from Xorg.</td></tr>
<tr><td>“System Folder” layout</td><td><span class="chip chip--hold">Scope call</span></td><td>Cosmetic version is trivial. A literal one means rebuilding the toolchain.</td></tr>
<tr><td>AppImages in /Applications</td><td><span class="chip chip--go">Easy</span></td><td>Menu regeneration, FUSE versions, and write persistence on a live ISO.</td></tr>
<tr><td>A Finder</td><td><span class="chip chip--hold">Gap</span></td><td><strong>mlvwm is only a window manager.</strong> No desktop icons, no file manager, no Trash.</td></tr>
<tr><td>No user accounts</td><td><span class="chip chip--go">Easy</span></td><td>Some applications refuse to run as uid 0. Use a fixed unprivileged user instead.</td></tr>
<tr><td>.sit / .hqx / .bin extraction</td><td><span class="chip chip--go">Easy</span></td><td>Preserving resource forks across the Linux filesystem.</td></tr>
<tr><td>Mounting HFS volumes</td><td><span class="chip chip--go">Easy</span></td><td>Prefer sandboxed FUSE over the in-kernel drivers — not because they are going away, but because parsing untrusted 1990s media in ring 0 is the wrong place for it.</td></tr>
<tr><td>Running System 7 applications</td><td><span class="chip chip--hold">Hard</span></td><td>Apple ROMs and Apple system software are not redistributable. One clean-room path is.</td></tr>
<tr><td>Seamless (rootless) windows</td><td><span class="chip chip--stop">Research</span></td><td>Nothing off-the-shelf does per-window compositing for 68k Mac software.</td></tr>
</tbody>
</table>
</div>
</div>
</section>
<!-- ============ BOOT ============ -->
<section class="win" id="boot">
<div class="win__bar">
<span class="win__box" aria-hidden="true"></span>
<span class="win__spacer"></span>
<h2 class="win__title">1 — Boot Chain</h2>
<span class="win__spacer"></span>
<span class="win__box win__box--zoom" aria-hidden="true"><i></i></span>
</div>
<div class="win__body">
<p class="lede">The goal is zero text frames: from firmware handoff to a dithered desktop, the user never sees a console.</p>
<figure class="figure">
<div class="figure__frame">
<svg viewBox="0 0 880 250" role="img" aria-label="Boot chain from firmware through GRUB, kernel, squashfs, autologin, XLibre, to mlvwm and Filer" shape-rendering="crispEdges">
<defs>
<marker id="ar" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto">
<path d="M0 1 L8 4.5 L0 8 Z" fill="#000"/>
</marker>
</defs>
<!-- stage boxes -->
<g fill="#fff" stroke="#000">
<rect x="8" y="60" width="118" height="54"/>
<rect x="158" y="60" width="118" height="54"/>
<rect x="308" y="60" width="140" height="54"/>
<rect x="480" y="60" width="140" height="54"/>
<rect x="652" y="60" width="140" height="54"/>
</g>
<g class="lbl" text-anchor="middle">
<text x="67" y="82">Firmware</text><text x="67" y="98" class="lbl-sm">UEFI / BIOS</text>
<text x="217" y="82">Bootloader</text><text x="217" y="98" class="lbl-sm">GRUB, hidden menu</text>
<text x="378" y="82">Kernel + initramfs</text><text x="378" y="98" class="lbl-sm">quiet loglevel=0</text>
<text x="550" y="82">squashfs root</text><text x="550" y="98" class="lbl-sm">+ overlay for writes</text>
<text x="722" y="82">Autologin</text><text x="722" y="98" class="mono-t">agetty --autologin</text>
</g>
<g stroke="#000" marker-end="url(#ar)" fill="none">
<path d="M126 87 H154"/><path d="M276 87 H304"/><path d="M448 87 H476"/><path d="M620 87 H648"/>
</g>
<!-- drop to second row -->
<path d="M722 114 V150 H360" stroke="#000" fill="none"/>
<path d="M360 150 V174" stroke="#000" fill="none" marker-end="url(#ar)"/>
<g fill="#fff" stroke="#000">
<rect x="240" y="176" width="240" height="52"/>
<rect x="530" y="176" width="262" height="52"/>
</g>
<g class="lbl" text-anchor="middle">
<text x="360" y="197">XLibre server</text>
<text x="360" y="213" class="lbl-sm">startx, no display manager</text>
<text x="661" y="197">mlvwm + Filer + Applications daemon</text>
<text x="661" y="213" class="lbl-sm">the whole user-visible system</text>
</g>
<path d="M480 202 H526" stroke="#000" fill="none" marker-end="url(#ar)"/>
<!-- annotation bracket -->
<path d="M8 40 H792" stroke="#000" fill="none" stroke-dasharray="3 3"/>
<path d="M8 40 V50 M792 40 V50" stroke="#000" fill="none"/>
<text x="400" y="30" class="lbl-hd" text-anchor="middle">No console output at any point — splash covers the gap</text>
<text x="8" y="246" class="lbl-sm">Devuan base — sysvinit, no systemd anywhere in the chain. Cold boot to desktop: target under 12 seconds on SATA SSD, under 25 from USB 2.0.</text>
</svg>
</div>
<figcaption>Fig. 1 — Boot chain</figcaption>
</figure>
<h3>Decisions</h3>
<ul>
<li><b>Base distribution: Devuan.</b> It inherits Debian's archive, so the entire long tail you need is already packaged — <span class="mono">unar</span>, <span class="mono">macutils</span>, <span class="mono">hfsutils</span>, <span class="mono">hfsprogs</span>, <span class="mono">qemu</span> — without systemd underneath it. Alpine would give you a ~200 MB ISO, but rebuilding that long tail costs more time than the disk space is worth.</li>
<li><b>Init.</b> sysvinit is the default and the right call here: this system has a fixed, known boot path with no dynamic service topology to manage. runit is a reasonable alternative if you want supervision for the <span class="mono">/Applications</span> watcher, but the watcher belongs to the X session, not to init — start it from the session script and the question goes away.</li>
<li><b>Hiding the console.</b> <span class="mono">quiet loglevel=0 vt.global_cursor_default=0</span> on the kernel command line, plus a Plymouth theme, or a bare X splash started from the initramfs if you want to skip Plymouth's dependency weight.</li>
<li><b>No display manager.</b> Autologin on tty1 via <span class="mono">agetty --autologin macintosh</span> in <span class="mono">/etc/inittab</span>, then <span class="mono">startx</span> from the shell profile. No getty on the other VTs, so there is no second console to stumble into.</li>
<li><b>Image builder.</b> <span class="mono">live-build</span> is packaged for Devuan and is the shortest path from a package list to a bootable ISO. Devuan's own Refracta tooling is the native alternative and is better at snapshotting a system you have already configured by hand — useful later, once the layout has stopped moving.</li>
</ul>
<div class="note note--go">
<span class="note__mark" aria-hidden="true">✓</span>
<div>
<h4>Devuan is a good fit beyond the init preference</h4>
<p>A System 7 workalike wants a small, legible, static system with a fixed boot path and no service manager
negotiating seats and sessions on its behalf. That is Devuan's whole thesis. The one thing to watch: some AppImages
expect <span class="mono">logind</span> to exist. Devuan ships <b>elogind</b> for exactly this — install it,
along with a minimal session <span class="mono">dbus</span>, and treat the pair as a compatibility shim for modern
applications rather than as part of the system's own architecture.</p>
</div>
</div>
<h3>Bases weighed</h3>
<div class="tablewrap">
<table>
<thead><tr><th style="width:17%">Base</th><th style="width:13%">Verdict</th><th>Reasoning</th></tr></thead>
<tbody>
<tr>
<td><b style="font-weight:400">Devuan</b></td>
<td><span class="chip chip--go">Chosen</span></td>
<td>Debian's archive without systemd. Every tool in this document is already packaged, which is the single largest time saver available.</td>
</tr>
<tr>
<td><b style="font-weight:400">Tiny Core</b></td>
<td><span class="chip chip--hold">Steal from it</span></td>
<td>Architecturally the closest thing to this vision that already exists — see below. Rejected as the base on packaging grounds alone.</td>
</tr>
<tr>
<td>Alpine</td>
<td><span class="chip chip--hold">Viable, costly</span></td>
<td>A ~200 MB ISO and a clean musl base, but the long tail is thinner and musl breaks a share of prebuilt AppImages outright.</td>
</tr>
<tr>
<td>Arch</td>
<td><span class="chip chip--stop">No</span></td>
<td>A rolling base under an immutable, frozen-by-design system is a permanent maintenance tax for no benefit here.</td>
</tr>
</tbody>
</table>
</div>
<div class="note">
<span class="note__mark" aria-hidden="true">?</span>
<div>
<h4>Tiny Core deserves a real answer, not a dismissal</h4>
<p>It already implements three things this plan spends effort building. It <b>runs entirely from RAM</b> off a
read-only base, which is exactly the immutable System Folder model. It <b>boots straight into X with no display
manager and no meaningful account model</b> — the <span class="mono">tc</span> user with passwordless sudo is
the “no user accounts” goal, already shipped. And its <b><span class="mono">.tcz</span> extension
format is squashfs images mounted on demand</b>, which is the same idea as dropping a self-contained bundle into a
folder and having it become an application. The philosophical overlap is not partial; it is near-total.</p>
<p><b>What kills it as the base is the long tail.</b> <span class="mono">unar</span>, <span class="mono">macutils</span>,
<span class="mono">hfsutils</span>, <span class="mono">hfsfuse</span>, <span class="mono">dmg2img</span>, mlvwm,
XLibre, Executor, and AMS would all become extensions you build and maintain yourself, on a busybox userland, using
an on-demand toolchain. That is the entire dependency surface of this project moved onto your shoulders in exchange
for saving a few hundred megabytes. AppImages compound it: they assume a conventional desktop baseline, and Tiny
Core is the least conventional baseline available.</p>
<p><b>The useful synthesis:</b> stay on Devuan and take Tiny Core's architecture anyway — read-only squashfs
base, RAM-resident, writable overlay only where the user's own files live. That is already what Fig. 1 and
Fig. 2 describe. Revisit Tiny Core as a separate minimal edition once the components are packaged and the
porting cost is a known quantity rather than an open one.</p>
</div>
</div>
<div class="note note--warn">
<span class="note__mark" aria-hidden="true">!</span>
<div>
<h4>Do not run the session as root</h4>
<p>“No user accounts” is a user-experience goal, not a uid goal. Chromium-based AppImages and several other
applications hard-refuse to start as uid 0. Ship a fixed unprivileged user — call it <span class="mono">macintosh</span>,
uid 1000, no password, autologin, no account visible anywhere in the interface. Semantically account-free,
practically sane. Classic Mac OS had no accounts either; it still ran as an unprivileged system.</p>
</div>
</div>
</div>
</section>
<!-- ============ DESKTOP MOCKUP ============ -->
<section class="win" id="desktop">
<div class="win__bar">
<span class="win__box" aria-hidden="true"></span>
<span class="win__spacer"></span>
<h2 class="win__title">2 — The Desktop</h2>
<span class="win__spacer"></span>
<span class="win__box win__box--zoom" aria-hidden="true"><i></i></span>
</div>
<div class="win__body">
<p class="lede">What the finished system looks like in normal use: a mounted HFS volume, an AppImage running natively,
and a 1994 application in a window beside it.</p>
<div class="mockwrap">
<div class="mock">
<div class="mock__menubar">
<svg width="12" height="13" viewBox="0 0 13 14" fill="none" stroke="#000" stroke-width="1" shape-rendering="crispEdges" aria-hidden="true">
<path d="M6.5 1.5 v11 M1.5 4 L6.5 1.5 L11.5 4 v6 L6.5 12.5 L1.5 10 Z"/>
</svg>
<span class="active">File</span><span>Edit</span><span>View</span><span>Label</span><span>Special</span>
</div>
<!-- desktop volume icons -->
<div class="desk-icon" style="top:38px; right:16px">
<svg width="34" height="30" viewBox="0 0 34 30" fill="#fff" stroke="#000" shape-rendering="crispEdges" aria-hidden="true">
<rect x="1.5" y="4.5" width="31" height="21"/>
<rect x="5.5" y="8.5" width="23" height="9" fill="#e4e4e4"/>
<rect x="23.5" y="19.5" width="5" height="3"/>
</svg>
<span>Macintosh HD</span>
</div>
<div class="desk-icon" style="top:104px; right:16px">
<svg width="30" height="30" viewBox="0 0 30 30" fill="#fff" stroke="#000" shape-rendering="crispEdges" aria-hidden="true">
<rect x="3.5" y="2.5" width="23" height="25"/>
<rect x="8.5" y="2.5" width="13" height="9" fill="#e4e4e4"/>
<circle cx="15" cy="19" r="5"/>
<circle cx="15" cy="19" r="1.5" fill="#000"/>
</svg>
<span>Extras.hfs</span>
</div>
<div class="desk-icon" style="bottom:14px; right:16px">
<svg width="28" height="32" viewBox="0 0 28 32" fill="#fff" stroke="#000" shape-rendering="crispEdges" aria-hidden="true">
<path d="M4.5 8.5 h19 l-2 20 h-15 Z"/>
<path d="M2.5 4.5 h23 v4 h-23 Z"/>
<path d="M10.5 12.5 v12 M17.5 12.5 v12"/>
</svg>
<span>Trash</span>
</div>
<!-- System Folder window (behind) -->
<div class="mock-win win--inactive" style="left:24px; top:44px; width:246px">
<div class="mock-win__bar" style="background:#fff">
<span class="b"></span><span class="mock-win__sp"></span>
<span class="mock-win__t" style="color:#767676">System Folder</span>
<span class="mock-win__sp"></span><span class="b"></span>
</div>
<div class="mock-win__info"><span>4 items</span><span>read only</span></div>
<div class="mock-win__body">
<div class="mock-list">
<div class="mock-item">
<svg width="26" height="22" viewBox="0 0 26 22" fill="#fff" stroke="#000" shape-rendering="crispEdges"><path d="M1.5 4.5 h8 l2 3 h13 v13 h-23 Z"/></svg>
<span>Extensions</span>
</div>
<div class="mock-item">
<svg width="26" height="22" viewBox="0 0 26 22" fill="#fff" stroke="#000" shape-rendering="crispEdges"><path d="M1.5 4.5 h8 l2 3 h13 v13 h-23 Z"/></svg>
<span>Control Panels</span>
</div>
<div class="mock-item">
<svg width="26" height="22" viewBox="0 0 26 22" fill="#fff" stroke="#000" shape-rendering="crispEdges"><path d="M1.5 4.5 h8 l2 3 h13 v13 h-23 Z"/></svg>
<span>Preferences</span>
</div>
<div class="mock-item">
<svg width="26" height="22" viewBox="0 0 26 22" fill="#fff" stroke="#000" shape-rendering="crispEdges"><path d="M1.5 4.5 h8 l2 3 h13 v13 h-23 Z"/></svg>
<span>Startup Items</span>
</div>
</div>
</div>
</div>
<!-- Applications window (front) -->
<div class="mock-win" style="left:96px; top:150px; width:290px">
<div class="mock-win__bar">
<span class="b"></span><span class="mock-win__sp"></span>
<span class="mock-win__t">Applications</span>
<span class="mock-win__sp"></span><span class="b"></span>
</div>
<div class="mock-win__info"><span>6 items</span><span>4.1 GB available</span></div>
<div class="mock-win__body">
<div class="mock-list">
<div class="mock-item sel">
<svg width="26" height="26" viewBox="0 0 26 26" fill="#fff" stroke="#000" shape-rendering="crispEdges"><rect x="2.5" y="2.5" width="21" height="21"/><path d="M7.5 8.5 h11 M7.5 12.5 h11 M7.5 16.5 h7"/></svg>
<span>GIMP.AppImage</span>
</div>
<div class="mock-item">
<svg width="26" height="26" viewBox="0 0 26 26" fill="#fff" stroke="#000" shape-rendering="crispEdges"><rect x="2.5" y="2.5" width="21" height="21"/><circle cx="13" cy="13" r="6"/></svg>
<span>Firefox.AppImage</span>
</div>
<div class="mock-item">
<svg width="26" height="26" viewBox="0 0 26 26" fill="#fff" stroke="#000" shape-rendering="crispEdges"><rect x="2.5" y="2.5" width="21" height="21"/><path d="M6.5 19.5 L13 6.5 L19.5 19.5 Z"/></svg>
<span>Inkscape</span>
</div>
<div class="mock-item">
<svg width="26" height="26" viewBox="0 0 26 26" fill="#fff" stroke="#000" shape-rendering="crispEdges"><rect x="2.5" y="2.5" width="21" height="21"/><rect x="7.5" y="7.5" width="11" height="11"/></svg>
<span>HyperCard</span>
</div>
<div class="mock-item">
<svg width="26" height="26" viewBox="0 0 26 26" fill="#fff" stroke="#000" shape-rendering="crispEdges"><rect x="2.5" y="2.5" width="21" height="21"/><path d="M2.5 16.5 L9 10 l4 4 l5 -6 l5.5 5.5"/></svg>
<span>MacPaint</span>
</div>
<div class="mock-item">
<svg width="26" height="26" viewBox="0 0 26 26" fill="#fff" stroke="#000" shape-rendering="crispEdges"><rect x="2.5" y="2.5" width="21" height="21"/><path d="M8.5 6.5 v13 l9 -6.5 Z"/></svg>
<span>mpv.AppImage</span>
</div>
</div>
</div>
</div>
<!-- Classic app window -->
<div class="mock-win" style="right:112px; top:206px; width:264px">
<div class="mock-win__bar">
<span class="b"></span><span class="mock-win__sp"></span>
<span class="mock-win__t">Untitled 1 — MacPaint</span>
<span class="mock-win__sp"></span><span class="b"></span>
</div>
<div class="mock-win__body" style="padding:0">
<div style="display:flex; height:150px">
<div style="width:44px; border-right:1px solid #000; display:grid; grid-template-columns:1fr 1fr; align-content:start">
<svg width="22" height="20" viewBox="0 0 22 20" fill="#000" stroke="#000" shape-rendering="crispEdges" style="border-right:1px solid #000;border-bottom:1px solid #000;background:#000"><path d="M5 15 L11 4 L16 15 Z" fill="#fff"/></svg>
<svg width="22" height="20" viewBox="0 0 22 20" fill="none" stroke="#000" shape-rendering="crispEdges" style="border-bottom:1px solid #000"><rect x="5.5" y="5.5" width="11" height="9"/></svg>
<svg width="22" height="20" viewBox="0 0 22 20" fill="none" stroke="#000" shape-rendering="crispEdges" style="border-right:1px solid #000;border-bottom:1px solid #000"><circle cx="11" cy="10" r="5"/></svg>
<svg width="22" height="20" viewBox="0 0 22 20" fill="none" stroke="#000" shape-rendering="crispEdges" style="border-bottom:1px solid #000"><path d="M4 15 C 8 4, 14 16, 18 6"/></svg>
<svg width="22" height="20" viewBox="0 0 22 20" fill="none" stroke="#000" shape-rendering="crispEdges" style="border-right:1px solid #000;border-bottom:1px solid #000"><path d="M6 14 L14 6 M12 4 l4 4 l-2 2 l-4 -4 Z"/></svg>
<svg width="22" height="20" viewBox="0 0 22 20" fill="none" stroke="#000" shape-rendering="crispEdges" style="border-bottom:1px solid #000"><path d="M6.5 5.5 h9 v9 h-9 Z" stroke-dasharray="2 2"/></svg>
</div>
<div style="flex:1; position:relative; background:#fff">
<svg width="100%" height="150" viewBox="0 0 216 150" fill="none" stroke="#000" shape-rendering="crispEdges" aria-hidden="true">
<path d="M30 118 L74 40 L118 118 Z"/>
<circle cx="150" cy="70" r="26"/>
<path d="M124 118 h84" />
<path d="M40 30 h30 M40 34 h22" stroke-dasharray="1 1"/>
<rect x="132" y="52" width="36" height="36" stroke-dasharray="3 3" stroke="#767676"/>
</svg>
</div>
</div>
</div>
</div>
<!-- callouts -->
<span class="callout" style="left:8px; top:4px">1</span>
<span class="callout" style="left:4px; top:60px">2</span>
<span class="callout" style="left:78px; top:166px">3</span>
<span class="callout" style="right:14px; top:118px">4</span>
<span class="callout" style="right:96px; top:196px">5</span>
<span class="callout" style="right:14px; bottom:52px">6</span>
</div>
</div>
<ol class="legend">
<li><b>1</b><span><b style="all:unset;font-weight:400">Menu bar</b> drawn by mlvwm's own bar, not a panel. The mark at the left is a placeholder — see <a href="#risks">Trade dress</a>.</span></li>
<li><b>2</b><span>The <b style="all:unset;font-weight:400">System Folder</b>, presented read-only. Its contents are bind mounts onto ordinary FHS paths.</span></li>
<li><b>3</b><span><b style="all:unset;font-weight:400">/Applications</b> holding AppImages and classic applications side by side, indistinguishable to the user.</span></li>
<li><b>4</b><span>A mounted <b style="all:unset;font-weight:400">HFS volume</b> from a period disk image, via userspace FUSE.</span></li>
<li><b>5</b><span>A <b style="all:unset;font-weight:400">1984 application</b> running under a clean-room Toolbox reimplementation, framed by mlvwm.</span></li>
<li><b>6</b><span><b style="all:unset;font-weight:400">Trash</b> supplied by the Finder replacement, since mlvwm has none.</span></li>
</ol>
<div class="note note--warn">
<span class="note__mark" aria-hidden="true">!</span>
<div>
<h4>The gap nobody mentions: mlvwm is only a window manager</h4>
<p>It draws System 7 chrome and manages windows. It has no desktop icons, no file manager, no Trash, and no
double-click-to-open. Almost everything in the mockup above that makes it feel like a Macintosh comes from a
<em>second</em> program you still have to choose.</p>
<p><b>ROX-Filer</b> is the closest lightweight fit — pinboard desktop icons, application directories, small
dependency footprint. Before committing, look hard at <b>helloSystem</b>: it is a FreeBSD project that has already
built most of this vision, and its Qt-based “Filer” is worth borrowing conceptually even though you cannot
lift it wholesale onto Linux without work.</p>
</div>
</div>
</div>
</section>
<!-- ============ SYSTEM FOLDER ============ -->
<section class="win" id="sysfolder">
<div class="win__bar">
<span class="win__box" aria-hidden="true"></span>
<span class="win__spacer"></span>
<h2 class="win__title">3 — The System Folder</h2>
<span class="win__spacer"></span>
<span class="win__box win__box--zoom" aria-hidden="true"><i></i></span>
</div>
<div class="win__body">
<p class="lede">Make it a presentation layer, not a filesystem rewrite. The user sees a System Folder; the dynamic
linker still sees the paths it was compiled against.</p>
<figure class="figure">
<div class="figure__frame">
<svg viewBox="0 0 880 300" role="img" aria-label="Diagram mapping presented System Folder paths onto underlying FHS paths via bind mounts" shape-rendering="crispEdges">
<defs>
<marker id="ar2" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto">
<path d="M0 1 L7 4 L0 7 Z" fill="#767676"/>
</marker>
</defs>
<text x="20" y="20" class="lbl-hd">What the user sees</text>
<text x="520" y="20" class="lbl-hd">What is actually there</text>
<!-- left column -->
<g fill="#fff" stroke="#000">
<rect x="20" y="32" width="290" height="30"/>
<rect x="44" y="70" width="266" height="28"/>
<rect x="44" y="104" width="266" height="28"/>
<rect x="44" y="138" width="266" height="28"/>
<rect x="44" y="172" width="266" height="28"/>
<rect x="20" y="212" width="290" height="28"/>
<rect x="20" y="248" width="290" height="28"/>
</g>
<g class="mono-t">
<text x="32" y="51">/System Folder</text>
<text x="56" y="88">Extensions/</text>
<text x="56" y="122">Control Panels/</text>
<text x="56" y="156">Preferences/</text>
<text x="56" y="190">Fonts/</text>
<text x="32" y="230">/Applications</text>
<text x="32" y="266">/Documents</text>
</g>
<!-- right column -->
<g fill="#fff" stroke="#000">
<rect x="520" y="70" width="340" height="28"/>
<rect x="520" y="104" width="340" height="28"/>
<rect x="520" y="138" width="340" height="28"/>
<rect x="520" y="172" width="340" height="28"/>
<rect x="520" y="212" width="340" height="28"/>
<rect x="520" y="248" width="340" height="28"/>
</g>
<g class="mono-t">
<text x="532" y="88">/lib/modules + /usr/lib/xorg/modules</text>
<text x="532" y="122">/etc + settings front-ends</text>
<text x="532" y="156">~/.config</text>
<text x="532" y="190">/usr/share/fonts</text>
<text x="532" y="230">/opt/apps (overlay, writable)</text>
<text x="532" y="266">/home/macintosh/Documents</text>
</g>
<!-- connectors -->
<g stroke="#767676" fill="none" marker-end="url(#ar2)" stroke-dasharray="4 3">
<path d="M310 84 H516"/>
<path d="M310 118 H516"/>
<path d="M310 152 H516"/>
<path d="M310 186 H516"/>
</g>
<g stroke="#000" fill="none" marker-end="url(#ar2)">
<path d="M310 226 H516"/>
<path d="M310 262 H516"/>
</g>
<text x="413" y="78" class="lbl-sm" text-anchor="middle">bind, ro</text>
<text x="413" y="220" class="lbl-sm" text-anchor="middle">bind, rw</text>
<!-- hidden layer -->
<rect x="20" y="288" width="840" height="1" fill="#000"/>
<text x="20" y="300" class="lbl-sm">Untouched underneath: /usr /lib /etc /var /proc /sys /dev — hidden from the Finder, fully intact for the linker and package manager.</text>
</svg>
</div>
<figcaption>Fig. 2 — Presented layout over an unmodified FHS root</figcaption>
</figure>
<p>Hide the FHS directories from the Finder with a dotfile-style ignore list rather than by moving anything. The Finder
replacement decides what is visible; the kernel keeps its own opinion. Nothing on the system needs patching.</p>
<div class="note note--stop">
<span class="note__mark" aria-hidden="true">×</span>
<div>
<h4>Do not do this literally</h4>
<p>A real System Folder — with the OS actually living there and no <span class="mono">/usr</span> or
<span class="mono">/lib</span> at all — means a GoboLinux-style rebuild: patched dynamic linker, patched build
system, every package rebuilt against new paths, and permanent divergence from the upstream archive. That is a
distribution-year of work and it buys nothing the bind-mount presentation does not. Take the cosmetic route and
spend the year on the classic-app layer instead.</p>
</div>
</div>
</div>
</section>
<!-- ============ APPLICATIONS ============ -->
<section class="win" id="apps">
<div class="win__bar">
<span class="win__box" aria-hidden="true"></span>
<span class="win__spacer"></span>
<h2 class="win__title">4 — /Applications and AppImages</h2>
<span class="win__spacer"></span>
<span class="win__box win__box--zoom" aria-hidden="true"><i></i></span>
</div>
<div class="win__body">
<p class="lede">Drop a file in a folder; it becomes an application. AppImage is already a single-file bundle, so this maps
onto the Macintosh model almost for free.</p>
<figure class="figure">
<div class="figure__frame">
<svg viewBox="0 0 880 236" role="img" aria-label="Pipeline from dropping an AppImage into slash Applications through inotify, indexer, menu rewrite, to a running application" shape-rendering="crispEdges">
<defs>
<marker id="ar3" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto">
<path d="M0 1 L8 4.5 L0 8 Z" fill="#000"/>
</marker>
</defs>
<g fill="#fff" stroke="#000">
<rect x="10" y="52" width="132" height="58"/>
<rect x="176" y="52" width="132" height="58"/>
<rect x="342" y="52" width="150" height="58"/>
<rect x="526" y="52" width="150" height="58"/>
<rect x="710" y="52" width="160" height="58"/>
</g>
<g class="lbl" text-anchor="middle">
<text x="76" y="76">Drop file</text><text x="76" y="92" class="mono-t">/Applications</text>
<text x="242" y="76">Watcher</text><text x="242" y="92" class="mono-t">inotify IN_CLOSE_WRITE</text>
<text x="417" y="70">Indexer</text>
<text x="417" y="85" class="lbl-sm">extracts icon +</text>
<text x="417" y="97" class="lbl-sm">.desktop metadata</text>
<text x="601" y="70">Menu writer</text>
<text x="601" y="85" class="lbl-sm">rewrites a marked block</text>
<text x="601" y="97" class="mono-t">~/.mlvwmrc</text>
<text x="790" y="76">mlvwm Restart</text><text x="790" y="92" class="lbl-sm">application appears in menu</text>
</g>
<g stroke="#000" fill="none" marker-end="url(#ar3)">
<path d="M142 81 H172"/><path d="M308 81 H338"/><path d="M492 81 H522"/><path d="M676 81 H706"/>
</g>
<text x="10" y="30" class="lbl-hd">Hot path — under a second from drop to menu entry</text>
<path d="M10 38 H870" stroke="#000" fill="none" stroke-dasharray="3 3"/>
<!-- support boxes -->
<g fill="#fff" stroke="#000" stroke-dasharray="4 3">
<rect x="10" y="146" width="272" height="54"/>
<rect x="304" y="146" width="272" height="54"/>
<rect x="598" y="146" width="272" height="54"/>
</g>
<g class="lbl">
<text x="24" y="166">FUSE, both generations</text>
<text x="24" y="182" class="lbl-sm">ship libfuse2 and fuse3; fall back to</text>
<text x="24" y="194" class="mono-t">--appimage-extract-and-run</text>
<text x="318" y="166">Write persistence</text>
<text x="318" y="182" class="lbl-sm">live ISO needs an overlay partition or</text>
<text x="318" y="194" class="lbl-sm">/Applications is read-only</text>
<text x="612" y="166">Icon fidelity</text>
<text x="612" y="182" class="lbl-sm">scale PNG to 32×32 and dither to 1-bit</text>
<text x="612" y="194" class="lbl-sm">so modern icons match the era</text>
</g>
<text x="10" y="224" class="lbl-sm">Dashed boxes are supporting concerns, not pipeline stages.</text>
</svg>
</div>
<figcaption>Fig. 3 — The /Applications daemon</figcaption>
</figure>
<h3>Notes on implementation</h3>
<ul>
<li><b>Marked block, not full rewrite.</b> Bracket the generated menu with sentinel comments in <span class="mono">.mlvwmrc</span> so a user's hand edits outside the block survive regeneration.</li>
<li><b>Restart, not reload.</b> mlvwm predates runtime config reloading; the practical move is <span class="mono">Restart</span>, which preserves managed windows.</li>
<li><b>Classic applications land here too.</b> A System 7 application in <span class="mono">/Applications</span> gets the same treatment — the indexer just routes it to a different launcher. To the user there is one folder and one gesture.</li>
</ul>
</div>
</section>
<!-- ============ ARCHIVES ============ -->
<section class="win" id="archives">
<div class="win__bar">
<span class="win__box" aria-hidden="true"></span>
<span class="win__spacer"></span>
<h2 class="win__title">5 — Archives and Volumes</h2>
<span class="win__spacer"></span>
<span class="win__box win__box--zoom" aria-hidden="true"><i></i></span>
</div>
<div class="win__body">
<p class="lede">The whole problem here is the resource fork. Solve it by never letting the payload sit on a Linux
filesystem in the first place — go straight from archive to HFS image.</p>
<figure class="figure">
<div class="figure__frame">
<svg viewBox="0 0 880 268" role="img" aria-label="Pipeline converting sit, hqx and bin archives through unar and macutils into MacBinary, then into an HFS disk image via hcopy" shape-rendering="crispEdges">
<defs>
<marker id="ar4" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto">
<path d="M0 1 L8 4.5 L0 8 Z" fill="#000"/>
</marker>
</defs>
<g fill="#fff" stroke="#000">
<rect x="10" y="60" width="122" height="60"/>
<rect x="166" y="60" width="150" height="60"/>
<rect x="350" y="60" width="150" height="60"/>
<rect x="534" y="60" width="150" height="60"/>
<rect x="718" y="60" width="152" height="60"/>
</g>
<g class="lbl" text-anchor="middle">
<text x="71" y="84">Archive</text>
<text x="71" y="100" class="mono-t">.sit .hqx .bin</text>
<text x="241" y="78">Extract</text>
<text x="241" y="94" class="mono-t">unar</text>
<text x="241" y="108" class="lbl-sm">macutils for the crustier ones</text>
<text x="425" y="78">Both forks intact</text>
<text x="425" y="94" class="lbl-sm">data + resource, type/creator</text>
<text x="425" y="108" class="lbl-sm">preserved as AppleDouble</text>
<text x="609" y="78">Wrap</text>
<text x="609" y="94" class="mono-t">MacBinary</text>
<text x="609" y="108" class="lbl-sm">single-stream, fork-safe</text>
<text x="794" y="78">Install</text>
<text x="794" y="94" class="mono-t">hcopy -m → disk.hfs</text>
<text x="794" y="108" class="lbl-sm">emulator sees a normal volume</text>
</g>
<g stroke="#000" fill="none" marker-end="url(#ar4)">
<path d="M132 90 H162"/><path d="M316 90 H346"/><path d="M500 90 H530"/><path d="M684 90 H714"/>
</g>
<text x="10" y="34" class="lbl-hd">One gesture in the Finder; five programs underneath</text>
<path d="M10 42 H870" stroke="#000" fill="none" stroke-dasharray="3 3"/>
<!-- danger zone -->
<rect x="350" y="150" width="150" height="46" fill="#f0dcdc" stroke="#000"/>
<text x="425" y="170" class="lbl" text-anchor="middle">Never land here</text>
<text x="425" y="185" class="lbl-sm" text-anchor="middle">bare ext4 = forks lost</text>
<path d="M425 120 V146" stroke="#8f1d1d" fill="none" stroke-dasharray="3 3" marker-end="url(#ar4)"/>
<path d="M404 158 l42 30 M446 158 l-42 30" stroke="#8f1d1d" fill="none"/>
<text x="10" y="228" class="lbl-hd">Mounting existing media</text>
<path d="M10 236 H870" stroke="#000" fill="none"/>
<text x="10" y="256" class="lbl-sm">hfsutils for classic HFS · hfsfuse for HFS+ · dmg2img for .dmg · userspace for untrusted images, kernel driver only for volumes the system made itself</text>
</svg>
</div>
<figcaption>Fig. 4 — Archive to mountable volume</figcaption>
</figure>
<h3>Toolchain</h3>
<div class="tablewrap">
<table>
<thead><tr><th style="width:19%">Tool</th><th style="width:26%">Handles</th><th>Note</th></tr></thead>
<tbody>
<tr><td class="mono">unar / lsar</td><td>StuffIt 1–5, much of SITX, BinHex, MacBinary, Compact Pro</td><td>The Unarchiver's command-line tools. Already in the archive, actively maintained, and can emit resource forks rather than discarding them.</td></tr>
<tr><td class="mono">macutils</td><td><span class="mono">.hqx</span>, <span class="mono">.bin</span>, MacBinary streams</td><td><span class="mono">hexbin</span> and <span class="mono">macunpack</span>. Ancient, unglamorous, and still the answer for 1980s uploads that <span class="mono">unar</span> declines.</td></tr>
<tr><td class="mono">hfsutils</td><td>Classic HFS read/write</td><td><span class="mono">hmount</span>, <span class="mono">hcopy -m</span>, <span class="mono">humount</span>. Userspace, so no kernel exposure. This is how software gets <em>into</em> a volume.</td></tr>
<tr><td class="mono">hfsfuse</td><td>HFS+ / HFSX</td><td>Actively maintained FUSE driver. Read-oriented; treat it as the safe way to browse period media.</td></tr>
<tr><td class="mono">dmg2img</td><td><span class="mono">.dmg</span></td><td>Converts to a raw image the above tools can open.</td></tr>
</tbody>
</table>
</div>
<div class="note note--warn">
<span class="note__mark" aria-hidden="true">!</span>
<div>
<h4>Prefer userspace mounting — for the security reason, not the removal reason</h4>
<p><b>The in-kernel drivers survived.</b> <span class="mono">hfs</span> and <span class="mono">hfsplus</span> had
been orphaned since roughly 2014, and an effort to delete them outright ran through 2025. Maintainers stepped up
instead: as of the current tree both are marked <b>Maintained</b>, with three maintainers and a dedicated git tree.
Debian Ports carried much of the argument — without HFS, GRUB cannot boot PowerMacs. Any plan that assumed
imminent removal was wrong.</p>
<p><b>The security argument is the one that actually decides this.</b> These drivers have a long history of memory
corruption on malformed volumes, serious enough that Debian carries a bug titled “HFS/HFS+ are insecure.”
This system's whole purpose is mounting 30-year-old disk images of unknown provenance — hostile input parsed
in ring 0. A FUSE process can be sandboxed and dies harmlessly when it faults. That is the better design no
matter who maintains the kernel code, and unprivileged FUSE mounts suit a no-accounts live system better than a
setuid mount helper besides.</p>
<p><b>Where the kernel driver still earns its place:</b> trusted local volumes, and read-write HFS+, since
<span class="mono">hfsfuse</span> is read-oriented. Make it a per-case choice rather than a blanket rule —
userspace for anything the user just downloaded, kernel for volumes the system created itself.</p>
</div>
</div>
</div>
</section>
<!-- ============ CLASSIC ============ -->
<section class="win" id="classic">
<div class="win__bar">
<span class="win__box" aria-hidden="true"></span>
<span class="win__spacer"></span>
<h2 class="win__title">6 — Classic Applications</h2>
<span class="win__spacer"></span>
<span class="win__box win__box--zoom" aria-hidden="true"><i></i></span>
</div>
<div class="win__body">
<p class="lede">This section decides the project. Everything else is assembly; this is the part with a real constraint,
and the constraint is copyright rather than engineering.</p>
<div class="note note--go">
<span class="note__mark" aria-hidden="true">✓</span>
<div>
<h4>Verified: Executor is redistributable</h4>
<p>Cliff Matthews open-sourced Executor in 2008 under an <b>MIT-style license</b> (see <span class="mono">COPYING</span>
in the source tree). It needs <b>no Apple ROM and no Apple system software</b> — it reimplements the classic Mac
Toolbox the way Wine reimplements Win32, and installs its own synthetic system files on first run. It ships in your
ISO with no legal asterisk.</p>
<p>One caveat worth designing around: the built-in debugger is based on <b>cxmon, which is GPLv2+</b>, so a stock build
is effectively bound by the GPL for the whole binary. cxmon is optional and removable if you want a
non-copyleft build — but for a Linux distribution shipping under the GPL anyway, this is a non-issue. Build it in.</p>
</div>
</div>
<h3>The options, compared</h3>
<div class="tablewrap">
<table>
<thead>
<tr>
<th style="width:20%">Approach</th>
<th style="width:13%">Apple ROM</th>
<th style="width:15%">Apple system software</th>
<th style="width:15%">Shippable in the ISO</th>
<th>Compatibility</th>
</tr>
</thead>
<tbody>
<tr>
<td><b style="font-weight:400">Executor</b><br><span class="lbl-sm">MIT + optional GPL component</span></td>
<td><span class="chip chip--go">Not needed</span></td>
<td><span class="chip chip--go">Not needed</span></td>
<td><span class="chip chip--go">Yes</span></td>
<td>A subset. Many System 6 and 7-era applications run; many do not. Reimplementation coverage, not emulation completeness.</td>
</tr>
<tr>
<td><b style="font-weight:400">Advanced Mac Substitute</b><br><span class="lbl-sm">actively developed</span></td>
<td><span class="chip chip--go">Not needed</span></td>
<td><span class="chip chip--go">Not needed</span></td>
<td><span class="chip chip--go">Yes</span></td>
<td>Narrower today, but deliberately Apple-code-free and moving. The honest long-term bet; pair it with Executor rather than choosing.</td>
</tr>
<tr>
<td>Basilisk II</td>
<td><span class="chip chip--stop">Required</span></td>
<td><span class="chip chip--stop">Required</span></td>
<td><span class="chip chip--stop">No</span></td>