On Mon, Feb 04, 2019 at 05:38:56PM +0100, Stanislav Brabec wrote: > > If we will keep the fstype lists in the code than we can use it as > > the first attempt, if the name is not in the list than use your > > heuristic. > > It makes sense. Note that source path may be a relative path without any '/'. It's very unusual, but possible. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com