Re: [ALFS Trac] #1742: Make some checks ensuring $(MOUNT_PT) is actually a mount point

"Ken Moffat" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
On Mon, Dec 23, 2024 at 05:59:08PM -0500, Eric Clothier wrote:
> On Mon, Dec 23, 2024, 12:53 jeremy wiig <
> [email protected]> wrote:
> 
> > On Mon, Dec 23, 2024 at 8:19 AM ALFS Trac
> > <[email protected]> wrote:
> > >
> > > #1742: Make some checks ensuring $(MOUNT_PT) is actually a mount point
> > > -----------------------------+-------------------------
> > >  Reporter:  Pierre Labastie  |       Owner:  alfs-log@…
> > >      Type:  defect           |      Status:  new
> > >  Priority:  normal           |   Milestone:
> > > Component:  jhalfs           |     Version:  GIT
> > >  Severity:  normal           |  Resolution:
> > >  Keywords:                   |
> > > -----------------------------+-------------------------
> > > Description changed by Pierre Labastie:
> > >
> > > Old description:
> > >
> > > > If $(MOUNT_PT) is not a mount point, some tests in the systemd suite
> > > > fail. This ticket is for discussion of the various checks and fixes
> > > > possible.
> > >
> > > New description:
> > >
> > >  If $(MOUNT_PT) is not a mount point, some tests in the systemd suite
> > fail.
> > >  This ticket is for discussion of the various checks and possible fixes.
> > >
> > > --
> > > --
> > > Ticket URL: <https://wiki.linuxfromscratch.org/alfs
> > /ticket/1742#comment:1>
> >
> > I disagree with forcing the user to use $LFS as a mount point. It is a
> > valid build strategy, and one I use often, to build to a regular
> > directory and not a mounted partition.
> > --
> > http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
> > Unsubscribe: See the above information page
> 
> I would also like to chime in and say that forcing $LFS/$MOUNT_PT to be a
> mount point could break some use cases. It would certainly make testing
> changes to the jhalfs system itself more complicated. As the system is now,
> adjusting the jhalfs system can be easily tested by pointing $LFS/$MOUNT_PT
> to a regular folder then examining the scripts generated. Forcing
> $LFS/$MOUNT_PT to be a mounted filesystem would mean having to keep a spare
> filesystem around for testing changes to jhalfs.

Maybe I'm missing the point (haven't used jhalfs in ages), but could
you not create a directory to work in, then (as root) bind it to
where it would be if it was a filesystem ?

ĸen
-- 
   Real Programmers use butterflies.
       (https://xkcd.com/378/)

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.