Re: Is rename(2) atomic on FAT?

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

 



On Wed, Oct 23, 2019 at 11:56 PM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> Any atomicity that depends on journal commits cannot be considered to
> have atomicity in a boot context, because bootloaders don't do journal
> replay. It's completely ignored.

It depends on the bootloader. If you care about atomicity you need to handle
the journal.
There are also filesystems which *require* the journal to be handled.
In that case you can still replay to memory.

And yes, filesystem implementations in many bootloaders are in beyond
shameful state.

> If a journal is present, is it appropriate to consider it a separate
> and optional part of the file system?

No. This is filesystem specific.

-- 
Thanks,
//richard



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux