zsh-users
 help / color / mirror / code / Atom feed
From: Dan Nelson <dnelson@allantgroup.com>
To: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: setopt noclobber in /proc-filesystem
Date: Mon, 15 Aug 2005 09:58:54 -0500	[thread overview]
Message-ID: <20050815145854.GB46146@dan.emsphone.com> (raw)
In-Reply-To: <2005-08-15T13-09-25@devnull.michael-prokop.at>

In the last episode (Aug 15), Michael Prokop said:
> % 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?

sysctl -w kernel.hotplug=foo

-- 
	Dan Nelson
	dnelson@allantgroup.com


  reply	other threads:[~2005-08-15 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 11:14 Michael Prokop
2005-08-15 14:58 ` Dan Nelson [this message]
2005-08-15 21:54   ` Nikolai Weibull
2005-08-17 10:08   ` Michael Prokop
2005-08-17 10:19     ` Oliver Kiddle
2005-08-17 20:18       ` Michael Prokop
2005-08-17 20:51 ` Wayne Davison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050815145854.GB46146@dan.emsphone.com \
    --to=dnelson@allantgroup.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).