著者: Hendrik Boom 日付: To: dng 題目: Re: [DNG] usrmerge
On Thu, Aug 01, 2024 at 04:33:23PM +0200, Lorenz via Dng wrote: > Hi,
>
> Il giorno gio 1 ago 2024 alle ore 04:06 Marc Shapiro via Dng
> <dng@???> ha scritto:
> >
> > What, exactly does the usrmerge package do?
>
> it turns /bin, /lib, /lib64 , /sbin into symlinks to their /usr/
> counterparts; it also takes care of
> moving the content of such directories.
> The replacement is not atomic, so I suggest to do the move alone, separated
> from other dpkg operations.
>
> >
> > If /usr is already in root, and not mounted from elsewhere, is the usrmerge package still required?
> unfortunately, yes; usrmerge is not merging usr into root if they are
> separate partitions,
> althought I think the layout with a separate usr will be no longer possible
> after te merge..
So a good precaution is, when I repartition anyway,
to make sure the entire /usr filesystem is part of /
and is not a separate partition mounted on /usr.