I'm wondering, if it is possible for a new block device (e.g. SCSI/USB data disk device) connected, to show up somewhere else, than in the /dev
directory?
Btw, let's not consider symlinks appearing in /dev/disk
nor /dev/block
.
NOTE: I've already read an answer to What does /dev/sda for linux mean, but I'm still unsure about my question.
In recent systems, a special virtual filesystem (
devtmpfs
) is mounted on/dev
:You can mount
devtmpfs
elsewhere and whatever's in/dev
will appear there too:Alternately, you could use
udev
to populate another directory in addition to/dev
.Aside from such tricks, nope. The devtmpfs filesystem is automatically populated by the kernel. Wherever that filesystem is mounted, the devices will show up there.