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

Re: Can woody-dpkg exclude directory subtrees from being installed?



On Wednesday 24 April 2002 12:30 pm, Bernhard R. Link wrote:
> * Marc Haber <debian-devel.lists.debian.org@marc-haber.de> [020424 21:00]:
> > a few months ago, it was discussed if dpkg could be configured to
> > leave directory subtrees from being installed. For example, our server
> > systems are missing man-db, so the entire /usr/share/man subtree is
> > wasted disk space. We could also live without /usr/share/doc on the
> > productive machines since we don't read docs there anyway.
> >
> > symlinking /usr/share/man to /dev/null doesn't seem to work, the
> > directory gets recreated on package installation.
>
> I do not know, if it still works, but under slink an solution
> is to put these dirs into ro-mounted paritions. ( Maybe the
> new dpkg outputs warnings or errors now, I never tried to
> install packages with ro-/usr by error again since thain. )
>
Perhaps toggling the ext2/3 immutable flag on /usr/share/{doc,man} would do 
the trick as well?


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: