In fs_copy, make sure to open the destination with the O_CREAT flag, otherwise some filesystems that require that flag for creating a file (fs_ext2) will fail to copy.
In fs_copy, make sure to open the destination with the O_CREAT flag, otherwise some filesystems that require that flag for creating a file (fs_ext2) will fail to copy.

DreamcastSDK/kos,DreamcastSDK/kos,DreamcastSDK/kos