외규장각 도서 환수 모금 캠페인

휴지통 (recycle bin -Windows)

Posted 2007. 6. 8. 10:56, Filed under: Study/Computer Science
얼마전에 비트 디펜더를 설치하고 나서 이상하게 파일을 삭제하는게 느려졌다 -_-
그래서 다른 AV 프로그램과 충돌을 일으킨건가 해서 삭제한 했는데.. 그래도 계속 다른 모든 기능이 멀쩡하게 동작함에도 불구하고 파일 삭제가 굉장히 느린 것이었다.

왜 그런가 왜 그런가 계속 고민해 봤는데 shift + delete 로 완전히 삭제할 때는 별로 느리지 않은 데서 갑자기 번쩍! 이런..
휴지통이 가득 찼군 -_-;

근데 이건 너무하잖아.. 가득 찼으면 가득 찼다고 말을 해주던가 -_- 지혼자 꾸역꾸역 안에서 제일 오래된 파일을 찾아서 지우고 새로운거 넣고.. 너무 느리다 ㅋ

괜히 애꿎은 비트 디펜더만 지웠네.. 역시 뭐든지 원인을 알아내는게 가장 어렵구나.
어제 상대경로 변경하는 함수 디버깅할 때도 _chdir 때문인지는 모르고 괜히 ini 파일만 계속 쳐다보고 왜 안읽어지는지 고민했는데 ㅋ

다음은 휴지통 관련 위키피디아 글

Link

General

The recycle bin was introduced in Windows 95 as a means of keeping accidentally deleted files, users can then review what is in the recycle bin before removing files permanently. Before, undeletion was the only way to recover accidentally deleted files. Recycle Bin holds data that not only lists deleted files, but also the date, time and the path of those files. The recycle bin is opened like a regular Windows Explorer folder and the files are viewed similarly. Deleted files may be removed from the recycle bin by restoring them with a command.

The recycle bin's icon indicates whether or not something is in the recycle bin. If the icon is empty, there are no files in the recycle bin. If there are objects in the recycle bin on the icon, there are files in the recycle bin.

Prior to Windows Vista, the default configuration of the Recycle Bin was to hold 10% of the total capacity of the host hard disk drive. For example, on a hard drive with a capacity of 20 gigabytes, the recycle bin will hold up to 2 gigabytes. If the recycle bin fills up to maximum capacity, the oldest files will be deleted in order to accommodate the newly deleted files. If a file is too large for the recycle bin, the user will be prompted to permanently delete the file instead. The maximum possible size of the recycle bin is 3.99 gigabytes in all versions of Windows except Vista.

The same feature exists in other operating systems under a different name, for example in Apple's Mac OS and various Linux distributions, it is named 'Trash'. It was a feature of the Macintosh OS since the beginning. It is believed that the recycle bin was first invented by Xerox PARC.
The recycle bin was introduced in Windows 95 as a means of keeping accidentally deleted files, users can then review what is in the recycle bin before removing files permanently. Before, undeletion was the only way to recover accidentally deleted files. Recycle Bin holds data that not only lists deleted files, but also the date, time and the path of those files. The recycle bin is opened like a regular Windows Explorer folder and the files are viewed similarly. Deleted files may be removed from the recycle bin by restoring them with a command.

How the recycle bin works

Files stored in the Recycle Bin in its physical location are renamed as Dxy.ext where x represents the drive name such as "c", "d" and so on, y a sequential number starting at 0 and ext being the file's original file name extension. The file names are kept as is when viewed from the main recycle bin. A hidden file is created, without an extension, called "info2". This file stores the original files' paths and file names so when the file is removed from the recycle bin and returned to its original directory, the original file name is kept as is. When the file is "deleted" the space on the disk is designated to be erased over by whatever files then are saved on the disk. For instance, if you have a picture deleted on the recycling bin, it is still physically stored on the disk until other data is written over it. In other words, the data are not erased, but the address marking the data is.
(데이터 복구가 어느정도 가능한 이유)

Known issues

While the recycle bin is useful for hard drives, it does not recycle files from removable media. For instance, a file deleted from an SD card or a floppy disk will not be moved to the recycle bin.

Having a big disk and full recycle bin can considerably slow down deleting files. Right-clicking on recycle bin and selecting "empty recycle bin" resolves the issue easily.

(이게 바로 내가 겪었던 문제!!!! 해결책은 무지 단순 -_-; )

Also, the Recycle Bin icon cannot be deleted from the desktop like other icons. Deleting a registry key from the Windows Registry resolves this issue. The key varies with the version of the operating system. However in the Windows Vista operating system, the recycle bin can be deleted from the desktop.

Response : ,


Recent Posts

Recent Comments

Recent Trackbacks

Total hit (Today , Yesterday )

Admin Write Post