Commit d4e0fcb
committed
feat: chdir/getcwd, FAT32 directory flags, and CWD fixes
- Add kernel.Chdir call for changing/querying the current working directory
- Populate directory.file.flags with FAT32 attributes byte
- Initialize cwd_cluster to root cluster on volume mount
- Use unfiltered fat32_read_dirent (hidden filtering moved to userland)
- Add _use_cwd path in directory open for empty-path CWD resolution1 parent ef5ff5c commit d4e0fcb
7 files changed
Lines changed: 531 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
626 | 628 | | |
627 | 629 | | |
628 | 630 | | |
| 631 | + | |
629 | 632 | | |
630 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
631 | 641 | | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
632 | 651 | | |
633 | 652 | | |
634 | 653 | | |
| |||
868 | 887 | | |
869 | 888 | | |
870 | 889 | | |
871 | | - | |
| 890 | + | |
872 | 891 | | |
873 | | - | |
874 | | - | |
875 | 892 | | |
876 | 893 | | |
877 | | - | |
878 | | - | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
879 | 897 | | |
880 | 898 | | |
881 | 899 | | |
| |||
888 | 906 | | |
889 | 907 | | |
890 | 908 | | |
891 | | - | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
892 | 925 | | |
893 | 926 | | |
894 | 927 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
| 1292 | + | |
1292 | 1293 | | |
1293 | 1294 | | |
1294 | 1295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments