Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: setopt noclobber in /proc-filesystem
- X-seq: zsh-users 9318
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: setopt noclobber in /proc-filesystem
- Date: Mon, 15 Aug 2005 09:58:54 -0500
- In-reply-to: <2005-08-15T13-09-25@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2005-08-15T13-09-25@xxxxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author