Re: mouting some filesystems readonly (was: Re: /usr/etc)
On Wed, Dec 20, 2000 at 05:54:01PM +0100, Arthur Korn wrote:
> Bernhard R. Link schrieb:
> > I have an old slink-box at home with /usr readonly. dpkg
> > just relizes, that it can not write and install nothing, but there was
> > no damage, when I forgot to remount it before installing. (Hey, an dpkg
> > asking to remount would be just cool).
>
> You can tell apt (in /etc/apt/apt.conf, don't know the exact
> parameter anymore) to remount /usr rw before installation and
> ro again after installation. I did this with potato-pre? and it
> worked great.
Probably DPkg::Pre-Invoke and DPkg::Post-Invoke.
--
- mdz
Reply to: