Re: .bash_history deleted



Quoting Eduard Bloch <edi@xxxxxx>:




I have seen this several times in the past, still having no idea how this happens. For a while I suspected bash_completion but I think I saw this also without bash_completion. Finally I am suspecting the filesystem journaling doing weird things, since it it mostly happened after crashes with JFS and XFS, but (almost? not sure) never with Ext3.


This is normal behaviour for journaled filesystems like XFS and JFS, because they only journal the metadata. However, this shouldn't delete the file, only fill it with garbage or zeros.

Cheers,

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: which to use: ext3, JFS, XFS, ReiserFS? [Was: new userquestion: debian on a Thinkpad T61]
    ... So when does the journaling begin? ... Perhaps on the next write once it is mounted as ext3? ... the filesystem is still mounted ext2. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Options for synchronising filesystems
    ... > Have a look at dragonfly BSD for this. ... They are working on a journaling ... > filesystem that will do just that. ... To unsubscribe, ...
    (freebsd-isp)
  • Re: [PATCH 0/4] jbd: possible filesystem corruption fixes
    ... fail to write a metadata buffer to block B in the journal ... reboots and mount the filesystem ... Actually, the journal checksum in ext4/jbd2 detects this kind of error, ... abort journaling ...
    (Linux-Kernel)
  • Re: Ahh, thats better...
    ... Vista and use that partition to store my virtual machine harddrives. ... TxF (transactional NTFS journaling) would be nice if it was actually ... It's a pain removing meta files from the filesystem. ... the pointers to the actual file data could be lost. ...
    (rec.games.computer.ultima.dragons)
  • Re: EXT2 and Windows: WAS Re: FC5 fails to boot after install
    ... support ext3 journaling, but can still read it fine, and can write to it ... Is there a particular issue known when using this driver? ... but I'm more concerned about disk and filesystem ... And one reason to doubt a third-party driver is simply that it isn't ...
    (Fedora)