Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > muc.lists.netbsd.tech.userlevel > #11931
| From | Robert Elz <kre@munnari.OZ.AU> |
|---|---|
| Newsgroups | muc.lists.netbsd.tech.userlevel |
| Subject | Re: Multiple null mounts with same parameters |
| Date | 2026-10-04 07:07 +0700 |
| Organization | Newsgate at muc.de e.V. |
| Message-ID | <25751.1791072476@jacaranda.noi.kre.to> (permalink) |
| References | <> <rmiy0ce76fp.fsf@s1.lexort.com> |
Date: Sat, 03 Oct 2026 18:41:46 -0400
From: Greg Troxel <gdt@lexort.com>
Message-ID: <rmiy0ce76fp.fsf@s1.lexort.com>
I was going to reply to Charlotte's message, but this is
a better intro:
| If someon has a scheme that mounts multiple things and unwinds the
| stack, why should they get an error if two things match?
As I might have written before, I suspect, I use LOTS of filesystems,
and what's more, I mount and unmount them all the time, and I also use
null mounts, generally to provide a read-only portal into a read-write
mount for some script that needs just read access to the files - like
every time I do any kind of build.
So, I have scripts just like what Greg mooted might exist somewhere,
make a null mount, do stuff (in this case mostly a build), unmount
the null mount. It would be irritating if that failed just because
a different build was happening at the same time - even worse if the
2nd mount was just treated as a no-on, in that case the 2nd build (which
might just be a quick one to test a change) might finish, and believing
it had mounted the null mount, unmount it - while the first one is
still running.
So, no problems with how things work, and no reason to change anything.
kre
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Back to muc.lists.netbsd.tech.userlevel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Multiple null mounts with same parameters Charlotte Koch <charlotte@NetBSD.org> - 2026-10-03 19:23 +0000
Re: Multiple null mounts with same parameters Greg Troxel <gdt@lexort.com> - 2026-10-03 18:41 -0400
Re: Multiple null mounts with same parameters Mouse <mouse@Rodents-Montreal.ORG> - 2026-10-03 19:52 -0400
Re: Multiple null mounts with same parameters Robert Elz <kre@munnari.OZ.AU> - 2026-10-04 07:07 +0700
Re: Multiple null mounts with same parameters Charlotte Koch <charlotte@NetBSD.org> - 2026-10-04 06:37 +0000
csiph-web