Computers recognize different file systems. My question is, where exactly does this information get stored in a memory device (the specific location if any). Or does it not get stored anywhere & rather an operating system tests the system (memory device) against a known set of file systems (like ext3, ntfs, etc) ?
With reference to the above, If I copy every bit (first to the last) from a memory device to another one, of the same memory size (say two similar flash drives) will the later one be a total clone? Will the cloned device automatically inherit the file system?
If the clone cannot be obtained by bit-by-bit copying what else is required?
I believe this question is supposed to be somewhere else in SE, but I’m not sure of that place.
EDIT :
I am working with a 8085 microprocessor here, so not really looking for softwares on cloning.
Every time a new block device shows up, the operating system generally tests a bunch of filesystem drivers against it, and when one of them matches, starts it up and hooks it up to whatever internal systems it needs to have to work for the user. In general, if you copy block-by-block from one raw device to another, it will be an exact clone of the original.