This answer states:
A mounted network share will have a
deviceId
which is why you can create a symlink to a mounted location.
So, if "a mounted network share will have a deviceId
", files mounted with sshfs
will have a physical device associated with them, like any other filesystem would do. I mounted a remote directory in the local system (Ubuntu 14.04) with
sshfs user@remotehost:/remote/directory /home/local/directory
In the output of mount
of the local system a corresponding line is correctly displayed:
user@remotehost:/remote/directory on /home/local/directory type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
For all the files in /home/local/directory/
, stat
outputs Device: 30h/48d
. But neither in /sys/dev/block
, nor in /sys/dev/char
there is such a local device with major number 3!
So, what kind of device is it where can I find it in my local system?