![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
Let’s say you want to test a drive that is mounted on /tmp… you just cd into that directory and you can use my example.
You can use
> df -h
or
$> mount
to check how your drive is mounted in the OS Most ”default ” installations will have 1-4 partitions and / being partition 3 or 4.
So if you look at the mount command and / is /dev/sdX3 (where X can be a-z depending on how many drives you have connected) and no other mounts are in the output then every directory under / is on that drive… so you can run my example from your home-directory if you fancy that.
If I can at least help on stranger on the internet… well, then I have helped one stranger on the internet 😂