| PLEX86 | ||
|
How to remove files created by 'mknod' kernel version 2.4.21Hi all, I cannot delete files created by 'mknod'. I used a subdir in my home directory (NFS mounted) as a staging area for Linux filesystem contents that were used as inputs to mkfs.* utilities. Now I am done and want to get rid of all the files, for example, in ....-dev. MYHOST ~-staging-area % ls -l dev total 4 crw------- 1 root root 5, 1 Jun 2 21:18 console crw-rw---- 1 root root 5, 64 Jun 2 21:18 cua0 crw-rw---- 1 root root 5, 65 Jun 2 21:18 cua1 brw-rw---- 1 root root 3, 0 Jun 2 21:18 hda brw-rw---- 1 root root 3, 1 Jun 2 21:18 hda1 ..... crw------- 1 root root 4, 66 Jun 2 21:18 ttyS2 crw------- 1 root root 4, 67 Jun 2 21:18 ttyS3 crw-r--r-- 1 root root 1, 9 Jun 2 21:18 urandom crw-rw-rw- 1 root root 1, 5 Jun 2 21:18 zero Wanted: framebuffer tool BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (change the framebuffer device to whichever you use) Compile with... MYHOST ~-staging-area % sudo rm -ri dev rm: descend into directory `dev'? y rm: remove character special file `dev-mem'? y rm: cannot remove `dev-mem': No such file or directory rm: remove character special file `dev-kmem'? y rm: cannot remove `dev-kmem': No such file or directory rm: remove character special file `dev-null'? y rm: cannot remove `dev-null': No such file or directory rm: remove character special file `dev-zero'? y rm: cannot remove `dev-zero': No such file or directory alsa, 2.6.12 and via82xx Hello For acpi purposes, I upgraded my system to the kernel 2.6.12 (I downloaded the pristine sources from kernel.org and... MYHOST ~-staging-area % sudo unlink dev-zero unlink: cannot unlink `dev-zero': No such file or directory MYHOST ~-staging-area % sudo debugfs . debugfs 1.32 (09-Nov-2002) .: Attempt to read block from filesystem resulted in short read while opening filesystem debugfs: open dev dev: Attempt to read block from filesystem resulted in short read while opening filesystem debugfs: open . .: Attempt to read block from filesystem resulted in short read while opening filesystem debugfs: rm dev-zero rm: Filesystem not open So, how do you remove files created by 'mknod'?
|
||||
Linux groups from Newsgroups The #1 Usenet Provider on the Internet
robust OpenLDAP installation using replication in production env |
||||