Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 19 Jan 2002 15:59:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 19 Jan 2002 15:59:20 -0500 Received: from 213-98-126-44.uc.nombres.ttd.es ([213.98.126.44]:64189 "HELO mitica.trasno.org") by vger.kernel.org with SMTP id ; Sat, 19 Jan 2002 15:59:09 -0500 To: Oliver Feiler Cc: linux-kernel@vger.kernel.org Subject: Re: Removing files in devfs In-Reply-To: <20020119094424.A239@gmxpro.net> X-Url: http://www.lfcia.org/~quintela From: Juan Quintela In-Reply-To: <20020119094424.A239@gmxpro.net> Date: 19 Jan 2002 21:54:57 +0100 Message-ID: Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "oliver" == Oliver Feiler writes: oliver> Hello, oliver> Is this behaviour supposed to be? oliver> 9:36 root@kiza /dev# l null oliver> crw-rw-rw- 1 root root 1, 3 Jan 1 1970 null oliver> 9:36 root@kiza /dev# rm null oliver> removing `null' oliver> 9:36 root@kiza /dev# l null oliver> ls: null: No such file or directory oliver> 9:36 root@kiza /dev# oliver> I have kernel 2.4.16 with devfs and on every other system I tried I oliver> only get "rm: cannot unlink `null': Operation not permitted" when trying to oliver> delete something in devfs. And I cannot see any differences as far as devfs is oliver> concerned on the systems I tried. devfs compiled in, mounted on boot time, oliver> same version of devfsd. oliver> Regards, oliver> Oliver Since 2.4.16-preX, you can't remove a {file,symlink} in devfs created by devfs :( That hit me hardly whith /dev/root. I had to remove the code that generate that link to get my system booting (where system is anything booting with mkinitrd + devfs). Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/