LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-11-2007, 08:07 AM   #1
MheAd
Member
 
Registered: Jun 2007
Distribution: Ubuntu 14.04
Posts: 186

Rep: Reputation: 36
Deleting files on a USB drive.


Hi,
I have this USB-based 160GB Seagate hard drive that is formated in NTFS and used as storage space both in my Linux (Fedora 7) and WinXP Sp2.

When I installed Fedora, I never needed to mount this device as it got directly recognised + mounted by the OS itself.

However, when I delete a certain file, or folder on the USB drive when I'm using Linux, it appears to be deleted, but once I boot in my Windows, the deleted files are still present on the drive, put in a ".Trash_username" folder, so I need to remove them once again, this time from Windows.

What I basically want to do is to make these files get permanently deleted even when I delete them from Linux and don't want them to reappear in a Windows-visable-only folder above.

Is there an enforce mount command or something else that can do this?

Thanks in advance.
 
Old 06-11-2007, 08:21 AM   #2
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
Hi.
You don't need any special mount options. The files are put there (in .Trash_username) because you don't use the permanent delete function. This is the same situation like in windows: you press del, and the file goes to recycle bin. In linux recycle bin is named Trash. In win when you move files to recyce bin, in reality you move the files to a hidden folder. You can see this folder in linux, but not in win. In linux this is the same. The files are moved to a hidden folder (.Trash_username), which you can't see from lin, but you can see in win. This is because win and lin use different approaches how to make a folder hidden.
If you want to delete a file permanently, both in win and lin, use this key combination: Shift+DEL. Pressing these 2 keys will result an immediate file deletion without moving anywhere.

Last edited by pusrob; 06-11-2007 at 08:23 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
can't open files inside mounted usb drive NanoFxJ Linux - Hardware 2 05-19-2005 07:59 AM
Got usb drive, what are these files? M$ISBS Linux - Hardware 26 04-24-2005 01:32 PM
USB Drive - Mounted OK, but files aren't recognized Dr3n Linux - Hardware 6 03-14-2005 06:00 PM
How do you burn iso files to usb cd-rw drive ??? pleasehelpme Linux - Newbie 0 12-20-2003 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration