Here's the result of the "stat filename" command -

r...@microknoppix:/media/sdc2/Windows-98/windows# stat SendTo
  File: `SendTo'
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 822h/2082d      Inode: 155231      Links: 1
Access: (0777/drwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2010-09-11 05:34:46.000000000 +0000
Modify: 2010-09-11 05:34:33.000000000 +0000
Change: 2010-09-11 05:34:33.000000000 +0000
r...@microknoppix:/media/sdc2/Windows-98/windows#

I still cannot remove this folder from the NTFS partition.

I am trying to carefully archive data from a corrupted system and
running under Knoppix 6.01 CD so I can safely do this.



On 9/10/10, website reader <[email protected]> wrote:
> Sorry for misleading the general reader, I DO understand that "." and
> ".." are in the file structure.
>
> There IS some type of hidden file in the folder.
>
> I tried using the "stat filename" command to locate the inode and then
> use the "find . -inum inode# -exec rm -i -d -r * \;" command but it
> still won't delete the folder.
>
> Is there any lower level command that can actually go in and remove that
> inode?
>
>
>
> On 9/10/10, Ron Braithwaite <[email protected]> wrote:
>> On Sep 10, 2010, at 10:54 PM, website reader wrote:
>>
>>> I am unable to delete two files on a hard-drive that originally was in
>>> a ntfs partition.
>>> The files are named "." and ".."
>>>
>>> Trying to use the rm -r -f command fails as does the rmdir command.  I
>>> tried renaming them but that fails too.
>>>
>>> I really need to remove these two files, how can I tell the linux OS
>>> that they are not being used as a folder relocation command and
>>> actually remove them?
>>
>> Well, the reason you can't remove them is that "." is your current
>> directory
>> and ".." is the parent directory.
>>
>> May I suggest reading:
>>
>> http://www.cyberciti.biz/tips/understanding-unixlinux-file-system-part-i.html
>>
>> -Ron
>> _______________________________________________
>> PLUG mailing list
>> [email protected]
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to