Re: Preventing writes to the underlying directory when a mounted filesystem disappears

Charles Curley <[email protected]> Mon, 27 Jul 2026 10:57:45 -0600
Newsgroups gmane.linux.debian.user
Organization occasionally
Message-ID <[email protected]>
On Mon, 27 Jul 2026 16:46:25 +0100
Joe <[email protected]> wrote:

> But you can't just pick a random USB stick out of a box of them and
> get it mounted where the logging daemon will find it

mount /dev/sdXY /wherever/I/want/it

And you can automate that sort of thing by adding it to /etc/fstab:

LABEL=installer /media/installer vfat rw,noauto,user,exec,async,lazytime,noatime 0 0