Re: CFT: new BSD-licensed sort available

看板FB_current作者時間14年前 (2012/03/17 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/19 (看更多)
On 03/14/2012 15:14, Jonathan Anderson wrote: > In fact, the runtime behaviour of the Debian "alternatives" system is simpler than that: > http://segfault.in/2010/04/using-the-debian-alternatives-system/ > > The custom Perl script with a config file is used to set up symlinks, which at runtime are... well, just symlinks. For instance, /usr/bin/vim is a symlink to /etc/alternatives/vim, which is itself a symlink to a binary like vim.gtk (example shamelessly stolen from the linked page, since I no longer have any Debian boxes to check for myself on :). No magic binaries or argv[0] fu. This sounds like a good solution to more than one problem. Does anyone know why they indirect through 2 sets of symlinks? That article doesn't touch on the "why?" only the what. Doug -- This .signature sanitized for your protection _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1FO-cI0k (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FO-cI0k (FB_current)