From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28701 invoked from network); 15 Aug 2005 11:15:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 15 Aug 2005 11:15:19 -0000 Received: (qmail 70948 invoked from network); 15 Aug 2005 11:15:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 Aug 2005 11:15:11 -0000 Received: (qmail 21696 invoked by alias); 15 Aug 2005 11:15:03 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9316 Received: (qmail 21687 invoked from network); 15 Aug 2005 11:15:02 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 15 Aug 2005 11:15:02 -0000 Received: (qmail 69665 invoked from network); 15 Aug 2005 11:15:02 -0000 Received: from unknown (HELO vrs.michael-prokop.at) (81.223.126.153) by a.mx.sunsite.dk with SMTP; 15 Aug 2005 11:14:56 -0000 Received: from localhost (unknown [81.223.126.153]) by vrs.michael-prokop.at (Postfix) with ESMTP id A6756104E5 for ; Mon, 15 Aug 2005 13:14:56 +0200 (CEST) Date: Mon, 15 Aug 2005 13:14:55 +0200 From: Michael Prokop To: Zsh Users Subject: setopt noclobber in /proc-filesystem Message-ID: <2005-08-15T13-09-25@devnull.michael-prokop.at> Reply-To: Michael Prokop Mail-Followup-To: Zsh Users Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-URL: http://www.michael-prokop.at/ X-Operating-System: Debian GNU/Linux - 2.6.11-grml on a i686 X-Registered-Linux-User: 224337 X-Crypto: GnuPG/1.2.3 http://www.gnupg.org X-GPG-Key-ID: 0x37E272E8 X-GPG-Key: http://www.michael-prokop.at/gpg X-GPG-Fingerprint: 04AE E62C 9502 CD34 A7DA 857B D8DF 53FB 37E2 72E8 User-Agent: mutt-ng devel-r316 (Debian) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 Hello, % setopt noclobber % echo foo > /proc/sys/kernel/hotplug zsh: file exists: /proc/sys/kernel/hotplug Is there any chance to use option 'noclobber' but allow writing to /proc-filesystem anyway? I do know that there exists 'setopt clobber' ;-) and "echo ... >| /proc/..." as well but other users might not know this. I'd like to ship zsh on my live-cd-system with 'setopt noclobber' enabled but would like to avoid that users think the behaviour in /proc-fs is a bug. Any ideas? regards, -mika- -- ,'"`. http://www.michael-prokop.at/ ( grml.org -» Linux for texttool-users and sysadmins `._,' http://www.grml.org/