Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 19 Oct 2004 10:53:23 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: su - coreutils? Message-ID: <20041019145323.GD15589@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <406C7928 DOT 9070708 AT fangorn DOT ca> <20040402073643 DOT GI2598 AT cygbert DOT vinschen DOT de> <406D6453 DOT 20104 AT fangorn DOT ca> <20040402141222 DOT GA14036 AT cygbert DOT vinschen DOT de> <20040402160030 DOT GD1144 AT coc DOT bosbc DOT com> <406DAD0C DOT 6090402 AT fangorn DOT ca> <4172D969 DOT 8040107 AT x-ray DOT at> <20041018105734 DOT GB26101 AT cygbert DOT vinschen DOT de> <41745DAB DOT F33CEF55 AT dessent DOT net> <20041019093309 DOT GA882 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041019093309.GA882@cygbert.vinschen.de> User-Agent: Mutt/1.4.1i On Tue, Oct 19, 2004 at 11:33:09AM +0200, Corinna Vinschen wrote: >On Oct 18 17:19, Brian Dessent wrote: >> Corinna Vinschen wrote: >> >> > I don't think it's necessary. Since sync is a noop, it doesn't hurt >> > to call it. I would go a step further. Just omit sync from the >> > Cygwin release of coreutils. >> >> Perhaps it should be linked to /bin/true on the off chance that if some >> script wants to call the sync command, it will continue to work. If a >> symlink is used it would even go a bit further to underline the fact >> that it's a no-op if someone lists it with ls -l - "this always returns >> true, it does nothing." > >That sounds like a good idea to me. I don't see why having sync.exe a symlink (which won't work in a .bat file) is a big win over having it be a no-op. I don't think anyone is going to actually notice if sync works or not when they call it. Anyone who relies on the behavior of sync is sort of skating on thin ice anyway aren't they? cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/