On Mon, May 30, 2011 at 01:39:47PM -0500, Jonathan Nieder wrote:
> Jonathan Nieder wrote:
>
> > Osamu, the idea of this request is to document Bug#628458 (if the
> > sysadmin replaces a directory like /opt with a symlink, dpkg removes
I think you can do it in combination with dpkg-divert
> > it after the last package using it is removed) and to encourage use of
> > bind mounts in section 9.3 "Data storage tips" to avoid this and
> > similar complications.
>
> A small correction: the relevant dpkg report is Bug#182747, not
> Bug#628458. Sorry for the noise.
>
I see. It is interesting point. bind mount is simpler and thus better
solution. ("can be done" is not always the best thing to do. KISS is
the golden rule.)
9.3.10. Expansion of usable storage space by mounting another partition
--> add "bind mount" reference
9.3.11. Expansion of usable storage space using symlink
--> add warning to /opt etc. (It works until base-files are updated.)
In general, random tweaking system provided files works until it get
updated.
Similar case is changing permission of system file. You need
dpkg-statoverride to do it.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]