Re: Is file deleted imidiately after firing rm command?

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

 



Dipti Pawar wrote:

Hi
As u wrote that there will be some delay before the changes gets propagated
to disk.
Can u please explain me the reason for this?
man mount | more +/Options

     -o     Options are specified with a -o flag followed by a comma  sepa-
rated string of options. Some of these options are only useful when they appear in the /etc/fstab file. The following options apply to any file system that is being mounted (but not every file system actually honors them - e.g., the sync option today
             has effect only for ext2, ext3 and ufs):

async All I/O to the file system should be done asyn-
                    chronously.

             defaults
Use default options: rw, suid, dev, exec, auto, nouser,
                    and async.

try it with sync to find out.

Once its unlinked, its forgotten. For most purposes, thats the same as it not existing. Forensic tools might recover it, but dont wait too long, the next write might reuse those blocks.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux