This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: How can i remove a character special file
- From: Shameem Ahamed <shameem dot ahamed at yahoo dot com>
- To: libc-help-help at sourceware dot org, libc-help at sourceware dot org
- Date: Wed, 2 Sep 2009 10:36:44 +0530 (IST)
- Subject: Re: How can i remove a character special file
- References: <553277.37418.qm@web94703.mail.in2.yahoo.com>
One more update.
When i checked the dmesg, i am getting the below error
sda3: rw=0, want=13717156640, limit=40965750
attempt to access beyond end of device
The file is residing in sda3
Regards,
Shameem
----- Original Message ----
> From: Shameem Ahamed <shameem.ahamed@yahoo.com>
> To: libc-help-help@sourceware.org; libc-help@sourceware.org
> Sent: Wednesday, September 2, 2009 10:28:46 AM
> Subject: How can i remove a character special file
>
> Hi Friends,
>
> While doing some work, unknowingly i have created a character special file.
>
>
> ls -l test.pm
> c--xrw---- 8236 1629495357 1819488288 32, 103 May 24 2023 test.pm
>
>
> I am not able to delete this file using any method. I used the command unlink,
> system call unlink, and rm
>
> But it is giving me, operation not permitted error. I tried to reset the
> attributes, permission, ownership and still getting the same error.
>
> Please help me.
>
> Regards,
> Shameem