Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-06 Thread Tim Barbour
Wout Mertens writes: FWIW, btrfs and ZFS also do non destructive writes, they're Copy on Write. As a bonus you get unlimited instant snapshots and lots of other wonderful things. I prefer btrfs as it has more of a desktop focus and feature set as well as being in the kernel, but

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-06 Thread Wout Mertens
On Mon, Oct 6, 2014 at 8:04 AM, Tim Barbour t...@categorical.net wrote: One nice property of NILFS is that every write results in a new checkpoint, which makes it very cheap to check whether a filesystem has been modified (other than via low-level disk-editing). On btrfs you can look at the

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-06 Thread Tim Barbour
Wout Mertens writes: On Mon, Oct 6, 2014 at 8:04 AM, Tim Barbour t...@categorical.net wrote: One nice property of NILFS is that every write results in a new checkpoint, which makes it very cheap to check whether a filesystem has been modified (other than via low-level disk-editing).

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-05 Thread Nicolas Pierron
On Tue, Sep 30, 2014 at 1:08 PM, Tim Barbour t...@categorical.net wrote: NILFS2 is a log-structured filesystem which is now in the Linux kernel source tree, and supported by GRUB2. It should appeal to NixOS users because it avoids destructive update (changing a file produces a new version of

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-05 Thread Wout Mertens
FWIW, btrfs and ZFS also do non destructive writes, they're Copy on Write. As a bonus you get unlimited instant snapshots and lots of other wonderful things. I prefer btrfs as it has more of a desktop focus and feature set as well as being in the kernel, but ZFS is more mature. Wout. On Oct 5,

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-05 Thread Tim Barbour
Nicolas Pierron writes: Looking at the details of NILFS2, I saw that it does a linear search within directories. This is far from ideal for the /nix/store as this directory is HUGE. This might have a noticeable cost at the start-up of a computer / programs. Ouch! I missed that bit. I

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-10-01 Thread Tim Barbour
aszlig writes: On Tue, Sep 30, 2014 at 09:08:41PM +1000, Tim Barbour wrote: The most serious problem is that NILFS2 needs to update /etc/mtab when mounting a filesystem, so that it can store information about the [...] I don't have any experience with NILFS2 yet, but you might want to

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-09-30 Thread Mateusz Kowalczyk
On 09/30/2014 12:08 PM, Tim Barbour wrote: NILFS2 is a log-structured filesystem which is now in the Linux kernel source tree, and supported by GRUB2. It should appeal to NixOS users because it avoids destructive update (changing a file produces a new version of the file). I have installed

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-09-30 Thread aszlig
Good morning, On Tue, Sep 30, 2014 at 12:29:12PM +0100, Mateusz Kowalczyk wrote: Looks to me that all the scary-looking block in the blivet package does is replace hardcoded paths with paths to the nix-store that nix provides it with, a common practice. I think if you build and try to run the

Re: [Nix-dev] NILFS2, NixOS, nixpart and Blivet

2014-09-30 Thread aszlig
On Tue, Sep 30, 2014 at 09:08:41PM +1000, Tim Barbour wrote: The most serious problem is that NILFS2 needs to update /etc/mtab when mounting a filesystem, so that it can store information about the nilfs_cleanerd process associated with the mounted filesystem. If it cannot write to /etc/mtab,