Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #266066

Re: /mnt usage

From Jeffrey Walton <noloader@gmail.com>
Newsgroups linux.debian.user
Subject Re: /mnt usage
Date 2024-01-16 14:30 +0100
Message-ID <HWRFT-3u4o-11@gated-at.bofh.it> (permalink)
References <HWKuJ-3pCD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 16, 2024 at 6:07 AM David Christensen
<dpchrist@holgerdanske.com> 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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

/mnt usage David Christensen <dpchrist@holgerdanske.com> - 2024-01-16 06:50 +0100
  Re: /mnt usage <tomas@tuxteam.de> - 2024-01-16 07:10 +0100
    Re: /mnt usage Cindy Sue Causey <butterflybytes@gmail.com> - 2024-01-16 13:50 +0100
  Re: /mnt usage Jeffrey Walton <noloader@gmail.com> - 2024-01-16 14:30 +0100
  Re: /mnt usage hw <hw@adminart.net> - 2024-01-16 15:00 +0100
    Re: /mnt usage Tom Furie <tom@furie.org.uk> - 2024-01-16 16:20 +0100
  Re: /mnt usage David Wright <deblis@lionunicorn.co.uk> - 2024-01-17 02:00 +0100

csiph-web