[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RO /usr idea..



On Tue, 2 Mar 1999, Jules Bean wrote:

> It would be good, IMO, to make dpkg support a RO /usr partition.

[snip]

> Any comments?

Apt already supports this...
you just need to have the following lines in your apt.conf:

DPkg {
   Options {"--force-downgrade";}
   Pre-Invoke {"mount -o remount,rw /usr";};
   Post-Invoke {"mount -o remount,ro /usr";};
   Run-Direcotry "/";
}


(NB: you need apt >= 0.3.0)

-- 
- Vincent RENARDIAS  vincent@{{ldsol,pipo}.com,{debian,openhardware}.org} -
- Debian/GNU Linux:   http://www.openhardware.org    Logiciels du soleil: -
- http://www.fr.debian.org   Open Hardware:   http://www.linux-kheops.com -
---------------------------------------------------------------------------
-"Microsoft est à l'informatique ce que le grumeau est à la crépe..."     -


Reply to: