[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Deletion of files from usb-key



"Douglas A. Tutty" <dtutty@porchlight.ca> writes:

> Again note that you used /dev/sdd not /dev/sdd1

        # dosfsck /dev/sdd1
        dosfsck 2.11, 12 Mar 2005, FAT32, LFN
        /dev/sdd1: 168 files, 75979/124860 clusters

        # mkdosfs /dev/sdd1
        mkdosfs 2.11 (12 Mar 2005)

        # mkdosfs -I /dev/sdd1
        mkdosfs 2.11 (12 Mar 2005)

        $ mount /media/usb-key

        $ ls /media/usb-key | tail
        unknown-006.png
        unknown-007.png
        unknown-008.png        
        ...

 I didn't realize you ran these commands on a partition rather than
 the device, but in any case, after doing it and mouting, the files
 remain.

> You won't be able to remove files from /dev/hdd1 by doing things to
> /dev/hdd.  You _will_ be able to corrupt the file system but it is
> FAT so it could show up as an inability to remove files.
> 
> Try:
> 
> # dd if=/dev/zero of=/dev/hdd

        # dd if=/dev/zero of=/dev/sdd
        [nothing: hang]


-- 
 
       Haines Brown, KB1GRM

	 
        



Reply to: