Yes, separate filesystems (mount points) can be different filesystem types.
/proc
is always a procfs
filesystem, and /sys
is always a sysfs
.
Transient filesystems (sometimes including /tmp
) are often tmpfs
,
and, in workgroup settings, it’s common for
the user’s home directories (and their work product directories)
to be nfs
or other remote (network/shared) filesystem types.
There isn’t any special management for the OS to do.
Up to a point, at the user level, all filesystems look alike,
in the sense that an ls
listing will look pretty much the same
in any directory.
Beyond that point, filesystems don’t interact.
Even between two filesystems (partitions) on the same physical disk,
of the same filesystem type, there’s no linkage1.
For example, moving a file from one filesystem (mount point) to another
always involves making a copy and deleting the original.
Doesn’t matter if they’re partitions on different disks.
Doesn’t matter if one of them is HDD and one is SSD.
Doesn’t matter if one is ext3
and one is btrfs
.
Doesn’t matter if one is internal (inside the computer case)
and one is external (a few inches outside, connected by a cable) —
or remote (accessed over the network).
Speaking of the network, it’s a little analogous to ssh
.
It reads from the keyboard
and sends the characters you type to the network.
Simultaneously,
it reads from the network and displays the results on the screen.
Or consider this: imagine you’re on the phone,
and you’re mediating a conversation
between the person on the other phone and another person in the room.
It’s no big deal.
________
1 except for symbolic links —
but they can cross filesystem boundaries.
3It's done with layers. The filesystem layer in built over the block device layer. You can use any suitable filesystem in the filesystem layer. You can use any suitable block device in that block device layer. Each mount point can have its own filesystem and device. – sawdust – 2017-06-03T04:02:52.170
@sawdust, that is a very interesting thing you pointed to, the filesystem layer and block device layer. How do they relate ? Any readings will be helpful. – Karim Manaouil – 2017-06-03T04:18:04.850
Don't know THAT much about file systems, but I assume the process would not be that different from copying files to an external FAT32 drive – Blaine – 2017-06-03T06:36:06.257
http://www.kevinboone.net/linux_kernel_file_0.html – sawdust – 2017-06-03T08:52:41.260
Why do you still use ext3 in 2017 when it's so simple to upgrade to ext4? – David Foerster – 2017-06-03T16:50:19.403
@DavidFoerster I'm no using ext3, it was just a random choice to illustrate the situation. – Karim Manaouil – 2017-06-04T00:10:34.783