Does there exist any tool which can tell you what the fstab line for a mount should be? Ie. it looks at something which has been mounted manually and tells you the line which you would have to add to /etc/fstab
to have the same mount be persistent.
I understand that this might have to be a 'heuristic', or in other words a guess, as to options etc. But it seems like it would nonetheless be very useful.