I am making a python script that in the case of EXT filesystem, will create symbolic links of some stuff, otherwise it will move the files.
How can I know the type of the filesystem of a directory?
What you probably should do is to just try to make the link and if it fails, copy.
It'll give you the advantage that you'll automatically support all file systems with soft links without having to do advanced detection or keeping an updated list of supported file systems.
Finding out if the current filesystem supports symbolic links