Re: [ALFS Trac] #1742: Make some checks ensuring $(MOUNT_PT) is actually a mount point
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
#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: |
-----------------------------+-------------------------
Comment (by Pierre Labastie):
There have been several messages on alfs-discuss to tell that having lfs
in a regular directory is actually a use case. This discussion originated
in ticket #1739, where I also expressed the same view. I moved the
conversation here because ticket #1739 has a different subject.
As has also been answered in that ticket and in mails, it is possible to
mount a directory onto itself, so that having lfs in a regular directory
would be possible even if a mount point is enforced.
But now the question is what should we do if $(MOUNT_PT) is not a mount
point: just warn and ask the user whether .s.he wants to continue, or stop
and tell user to rerun after mounting $(MOUNT_PT)? And at which stage
should this be done? in the initial run of jhalfs (before configuration or
just after), or when running the Makefile in $(MOUNT_PT)/jhalfs, or...
--
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1742#comment:2>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page