Quando você executa mount -t foo ...
ou usa uma entrada em fstab
com o sistema de arquivos foo
, mount
procura, na verdade, mount.foo
binário auxiliar. De man mount
no Ubuntu, por exemplo:
For most types all the mount program has to do is issue a simple mount(2) system call, and no detailed knowledge of the filesystem type is required. For a few types however (like nfs, nfs4, cifs, smbfs, ncpfs) ad hoc code is necessary. The nfs, nfs4, cifs, smbfs, and ncpfs filesystems have a separate mount program. In order to make it possible to treat all types in a uniform way, mount will execute the program /sbin/mount.TYPE (if that exists) when called with type TYPE. Since various versions of the smbmount program have different calling conventions, /sbin/mount.smbfs may have to be a shell script that sets up the desired call.
Então, não, o kernel é Jon Snow, mas mount
sabe procurar pelos comandos /sbin/mount.*
.