On Tue, Jan 16, 2024 at 6:07 AM David Christensen <[email protected]> wrote: > > On 1/15/24 20:05, David Wright wrote: > > And I've never created any mount point under /mnt. For a one time > > copy, /mnt is handy; always there, I don't have to mkdir at all. > > What about when you need multiple temporary mount points? > > What about when you have an portable backup drive that you connect once > a week? And the drive is encrypted? And your backup system wants to > know where?
It depends on the standard you are following. /run/user/$uid is popular nowadays for systemd systems. In the past, it used to be /tmp. For systems I control, I set each user's TMPDIR to $HOME/tmp, so they can do what they want in their own area. Unlike /run, TMPDIR is not cleared at reboot, however. Also see <https://superuser.com/q/332610>. It covers a lot of the locations, like /tmp and /run. Jeff

