Sponsored Content
Operating Systems Linux Not able to remove virus from a pen drive Post 302402609 by catchchinu1 on Wednesday 10th of March 2010 07:25:52 AM
Old 03-10-2010
Not able to remove virus from a pen drive

Hello Friends,

My pendrive (FAT32 filesystem) consist of following files+viruses.

Code:
-rwxr-xr-x 1 chinmay root        0 2010-03-10 01:29 autorun.inf
dr-xr-xr-x 2 chinmay root     4096 2010-03-09 23:51 Docs
-rwxr-xr-x 1 chinmay root  4726162 2010-03-08 15:02 java_ee_sdk-5_03-javadocs.zip
-rwxr-xr-x 1 chinmay root 46191338 2008-03-20 18:18 jdk-1_5_0-doc.zip
-rwxr-xr-x 1 chinmay root 54898268 2008-03-20 18:25 jdk-6-doc.zip
drwxr-xr-x 2 chinmay root     4096 2010-03-09 17:41 jvm my notes
-rwxr-xr-x 1 chinmay root  1070753 2006-01-01 08:20 New Folder .exe
dr-xr-xr-x 3 chinmay root     4096 2010-03-10 01:29 recycler
-r-xr-xr-x 1 chinmay root  1070753 2006-01-01 08:20 regsvr.exe
-r-xr-xr-x 1 chinmay root   103781 2008-01-28 11:44 xo8wr9.exe


Am facing a problem while formatting my pendrive on Windows XP, it says unable to format. Then I used 'attrib' to change the properties of files, and then 'del' but still not able to remove them.

Then i tried to remove the same files on my linux (Fedora10, OpenSuse11.1) m/c, but still its not able to remove them, terminal hangs out while unmounting the drive.

On Fedora 12, It deletes all the files, unmounts the drive, but when i mount it again, it shows all the files. Smilie

- One thing i dont understand why linux is not able to remove these exe files.

Pls help.

Thanks in advance.

Last edited by pludi; 03-10-2010 at 08:27 AM.. Reason: code tags, please...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

USB pen drive support

Hello, I need information or tooling for using my USB pen drive (DANE-ELEC) in a unix environment. Until now I only get the "format window" in the unix machine but after giving OK for running the format, it never stops and I have to stop it manually. Seems that what I need is format my... (0 Replies)
Discussion started by: Argento73
0 Replies

2. Debian

linux on 128MB pen drive?

hello, I want to install minimal linux on 128MB pen drive. distro is debian. what all should i need? (2 Replies)
Discussion started by: yogesh_powar
2 Replies

3. BSD

FreeBSD pen drive issue....

Hi there, I am using freebsd 7.0 and I am facing a lot of issues with it. The cd installed fine. I opted for the gnome desktop and tht too installed (though the refresh rates were wrong and the resloution got messed up). After some configurations the desktop was working fine. Then came the... (5 Replies)
Discussion started by: jedidiah
5 Replies

4. Filesystems, Disks and Memory

USB Pen Drive & Hard Disk

Hi Guys, I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies

5. Shell Programming and Scripting

how to run a script when pen drive is inserted

Hi, I need to run a script whenever a pen drive is connected to my ubuntu machine. The script is to be run from local disk and with privileges of current user. How do I achieve this? Thanks. (1 Reply)
Discussion started by: friendlyweb
1 Replies

6. Linux

How to Install Linux os from USB pen drive

can any body tell simple steps to install linux from pen drive (4gb) fat32 ( with out dvd rom ) (3 Replies)
Discussion started by: seshumohan
3 Replies

7. SCO

how to access data in a pen drive in sco openserver 6

Does anybody know the commands to access the data from a pen drive in a SCO Openserver 6. What are the parameters to the mount command for accessing the USB port:confused: (9 Replies)
Discussion started by: jksah
9 Replies

8. Red Hat

making pen drive bootable

Anyone can plz tell me how to make pendrive bootable.unetbootin dont have option for red hat (0 Replies)
Discussion started by: shamapraveen
0 Replies

9. SCO

Sco unix 5.0 copy file to pen drive

I have a server unix Sco 5.0 and copy some backup files to flopy drive using command "Tar", but i like copy this files to pen drive, is possible ? my know about Sco is less. Tks (1 Reply)
Discussion started by: ger2112
1 Replies

10. Solaris

How to mount USB pen drive?

Hiii, Please let me know the steps for mounting my USB pendrive in solaris 10 platform. Thanks & Regards, Bhargav P (5 Replies)
Discussion started by: bhargav90
5 Replies
S3QLLOCK(1)							       S3QL							       S3QLLOCK(1)

NAME
s3qllock - Make trees on an S3QL file system immutable SYNOPSIS
s3qllock [options] <directory> DESCRIPTION
S3QL is a file system for online data storage. Before using S3QL, make sure to consult the full documentation (rather than just the man pages which only briefly document the available userspace commands). The s3qllock command makes a directory tree in an S3QL file system immutable. Immutable trees can no longer be changed in any way whatso- ever. You can not add new files or directories and you can not change or delete existing files and directories. The only way to get rid of an immutable tree is to use the s3qlrm command. s3qllock can only be called by the user that mounted the file system and (if the file system was mounted with --allow-other or --allow-root) the root user. This limitation might be removed in the future (see issue 155). RATIONALE
Immutability is a feature designed for backups. Traditionally, backups have been made on external tape drives. Once a backup was made, the tape drive was removed and locked somewhere in a shelf. This has the great advantage that the contents of the backup are now permanently fixed. Nothing (short of physical destruction) can change or delete files in the backup. In contrast, when backing up into an online storage system like S3QL, all backups are available every time the file system is mounted. Nothing prevents a file in an old backup from being changed again later on. In the worst case, this may make your entire backup system worthless. Imagine that your system gets infected by a nasty virus that simply deletes all files it can find -- if the virus is active while the backup file system is mounted, the virus will destroy all your old backups as well! Even if the possibility of a malicious virus or trojan horse is excluded, being able to change a backup after it has been made is generally not a good idea. A common S3QL use case is to keep the file system mounted at all times and periodically create backups with rsync -a. This allows every user to recover her files from a backup without having to call the system administrator. However, this also allows every user to accidentally change or delete files in one of the old backups. Making a backup immutable protects you against all these problems. Unless you happen to run into a virus that was specifically programmed to attack S3QL file systems, backups can be neither deleted nor changed after they have been made immutable. OPTIONS
The s3qllock command accepts the following options: --debug activate debugging output --quiet be really quiet --version just print program version and exit EXIT STATUS
s3qllock returns exit code 0 if the operation succeeded and 1 if some error occurred. SEE ALSO
The S3QL homepage is at http://code.google.com/p/s3ql/. The full S3QL documentation should also be installed somewhere on your system, common locations are /usr/share/doc/s3ql or /usr/local/doc/s3ql. COPYRIGHT
2008-2011, Nikolaus Rath 1.11.1 August 27, 2014 S3QLLOCK(1)
All times are GMT -4. The time now is 08:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy