-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 29 June 2003 10:28 am, Julian Opificius wrote:
> Thanks Fred, but as I said, rm doesn't work - even with the -f switch
> and escaping the forward slash(es).
> I don't think the C code will work - isn't that just what rm tries to
> do?
>
> If I do a rm -f "/dev/log" it just ignores me.
> If I do a rm -f -d "/dev/log" it ignores me.
> If I go one level higher, and do the same on the directory holding the
> offending "files":
> rm -f -d setiold it tells me it can't delete setiold as it's a
> directory. Yes I know it's a directory, that's why I said -d but it
> still ignores me.
I haven't really followed this thread...
Are you sure you want to remove /dev/log?
[mfratoni paradox slinky]$ file /dev/log
/dev/log: socket
[mfratoni paradox slinky]$ ll /dev/log
srw-rw-rw- 1 root root 0 Jun 4 19:51 /dev/log
> I've tried rmdir, but that won't work either - it tells me the
> directory isn't empty. If I use the --ignore-fail-on-non-empty switch
> it ignores me.
How about rm -rf directory? (remove, recursively, the directory and it's
contents, without prompting
- --
- -Michael
pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+/wyWn/07WoAb/SsRAgW2AJ92gEt66Jsux+GjnXojHBkM204bywCdHAxZ
riK2TyrYlEt4TPiGnbG1YvQ=
=jEZk
-----END PGP SIGNATURE-----
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list