From owner-freebsd-fs@FreeBSD.ORG Tue Aug 3 09:46:45 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82DEF16A4CE; Tue, 3 Aug 2004 09:46:45 +0000 (GMT) Received: from inetmg01.sony.com.sg (inetmg01.sony.com.sg [202.42.154.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2760F43D49; Tue, 3 Aug 2004 09:46:43 +0000 (GMT) (envelope-from ravi.nanjundappa@ap.sony.com) Received: from avgw02b.sony.com.sg (avgw02b [43.68.8.23]) by inetmg01.sony.com.sg (8.11.7+Sun/8.11.6) with SMTP id i739pYI19097; Tue, 3 Aug 2004 17:51:35 +0800 (SGT) Received: from unknown(43.68.8.1) by avgw02b.sony.com.sg via csmap id 0bb22bce_e533_11d8_8d13_0002b3cb4edc_9241; Tue, 03 Aug 2004 17:54:01 +0800 (SGT) Received: from sapsgssdibh01.ap.sony.com (bh01.ap.sony.com [43.68.15.23]) by seagw01.sony.com.sg (8.11.6+Sun/8.11.6) with ESMTP id i739d3E03626; Tue, 3 Aug 2004 17:39:03 +0800 (SGT) Received: from sapinsardexc01.sard.in.sony.com.sg (SAPINSARDEXC01 [43.88.102.8]) by sapsgssdibh01.ap.sony.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id P3XJ78G7; Tue, 3 Aug 2004 17:46:32 +0800 Received: from [43.88.102.67] (RAVIN [43.88.102.67]) by sapinsardexc01.sard.in.sony.com.sg with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 37T3D81P; Tue, 3 Aug 2004 15:28:13 +0530 From: ravi To: Robert Watson In-Reply-To: References: Content-Type: text/plain Organization: SONY-SARD Message-Id: <1091526793.4761.44.camel@ravin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 03 Aug 2004 15:23:14 +0530 Content-Transfer-Encoding: 7bit cc: Brian Fundakowski Feldman cc: Raja Guha cc: Dan Nelson cc: freebsd-fs@freebsd.org cc: Aniruddha Bohra cc: Andrey Simonenko Subject: Regarding writing to /proc entries X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 09:46:45 -0000 Hi, The README file in /sys/fs/procfs directory says that we can send the control messages to note or ctl files for any process . But when we execute the command echo hup > /proc/curproc/note OR echo attach > /proc/2/ctl the following error message comes on the terminal . $ echo hup > /proc/curproc/note /proc/curproc/note: Operation not supported and $ echo attach > /proc/2/ctl /proc/2/ctl: Operation not supported What is the reason for this ? Is it not possible to write the control words or control messages to the process entries under /proc ? Please reply to this mail . Regards, N Ravi