Open eightbitswide opened 5 months ago
currently our directory command is showing all files it finds
fatfs however does provide attributes data, which we are already using to see that an entry within a directory is a subdirectory. attributes can also have an AM_HID
value to indicate that the file is "hidden" and should not be shown in a normal directory view. additionally there is an AM_SYS
attribute for "system" entries - which I strongly suspect that would also apply to the "System Volume Information" folder.
what we should look to do is add support for an "a" flag on directory listings to show "all" entries, as a companion to our new "l" flag
we could also look to supplement our directory listing to reveal more of these flags, plus look to add commands that potentially allow adjusting of these attributes, as appropriate. this might just be setting files as "read only"
info on fatfs's file info object is here: http://elm-chan.org/fsw/ff/doc/sfileinfo.html
Despite trying every posted solution to preventing Windows from creating a "System Volume Information" folder, mine is instant on creating this folder every time my Agon SD card is presented to Windows. (I know, Ditch this crap OS and go back to Linux!)
Any chance we could have Agon's directory command skip listing this folder? It's a hidden folder and generally out of view from everything except my Agon which is pleased to allow it to reformat my directory listings in MODE 12 since it's so long.
The option would be to Ignore hidden folders maybe?
Jeff