Re: rm -rf /usr/somedir in maintainer scripts?
- To: debian-devel@lists.debian.org
- Subject: Re: rm -rf /usr/somedir in maintainer scripts?
- From: Tollef Fog Heen <tfheen@err.no>
- Date: Mon, 01 Oct 2012 08:51:37 +0200
- Message-id: <[🔎] 87r4pid6rq.fsf@qurzaw.varnish-software.com>
- Mail-followup-to: debian-devel@lists.debian.org
- In-reply-to: <87y5jr6wdl.fsf@windlord.stanford.edu> (Russ Allbery's message of "Sun, 30 Sep 2012 14:20:22 -0700")
- References: <m3zk495eut.fsf@neo.luffy.cx> <20120929103542.GB29905@elende> <20120929151722.GB30767@rep.kiev.ua> <m3lifs4zhf.fsf@neo.luffy.cx> <20120929155647.GC30767@rep.kiev.ua> <87fw605th5.fsf_-_@vostro.rath.org> <20120929231253.GB26771@rep.kiev.ua> <20120929232630.GC26771@rep.kiev.ua> <87d3145p62.fsf@vostro.rath.org> <20120930015739.GX28635@jadzia.comodo.priv.at> <87obknwgmq.fsf@vostro.rath.org> <87y5jrgy67.fsf@xoog.err.no> <87pq535k5u.fsf@vostro.rath.org> <87y5jr6wdl.fsf@windlord.stanford.edu>
]] Russ Allbery
> A package that wants to change a directory to a symlink (or vice versa) is
> a very special case, and one that runs afoul of dpkg support for the local
> system administrator moving and symlinking directories (something that can
> be quite useful if one screws up disk partitioning or runs out of disk
> space in the / or /usr partition, which admittedly is getting less common
> on typical servers and desktops but can still be an issue for smaller
> devices).
Now that we have well working bind mounts, we could actually deprecate
the old way and just tell people to use bind mounts instead. At least
if our non-Linux ports has decent support for it.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
Reply to: