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

Tim Barbour trb at categorical.net
Wed Oct 1 12:41:53 CEST 2014


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 take
 > a look at how it is handled when using NFS in fileSystems:

I think your point is that NFS also needs to keep track of some state when
filesystems are mounted and unmounted.

 > https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/nfs.nix

I had a look at that file, but I could not see where it is handling the state.

 > Nice :-) Have you considered submitting your patch for 0.41 upstream? If
 > it doesn't get upstreamed too soon, I could include it as well while
 > cleaning up the mess^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^Hupdating
 > blivet/nixpart.

That would be great.

 > But as mentioned in the other mail, I'm working on nixpart 1.0 already,
 > which should get rid of the monkey patching with 0.17.
 > 
 > > I attach a tarball with patches for Blivet (note that the 0.41 patch is
 > > untested).
 > 
 > Yah, probably would make sense to test against 0.41, because I think we
 > shouldn't aim for old versions, especially in terms of nixpart.

Are you able to build a current Blivet to test with ? I just checked, and it
looks as if Blivet is up to about 0.65 now:

   https://apps.fedoraproject.org/packages/python-blivet

Tim
---
GPG public key available at: 
	 http://phasechangeit.com/~trb/gpg-key  or 
	 http://subkeys.pgp.net:11371


More information about the nix-dev mailing list