lkml.org 
[lkml]   [2002]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Removing files in devfs
From
Date
>>>>> "oliver" == Oliver Feiler <kiza@gmx.net> 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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.059 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site