Package Details: nullfs-dkms-git 0.17.r0.g31c635b-1

Git Clone URL: https://aur.archlinux.org/nullfs-dkms-git.git (read-only, click to copy)
Package Base: nullfs-dkms-git
Description: A virtual black hole file system that behaves like /dev/null (DKMS)
Upstream URL: https://github.com/abbbi/nullfsvfs
Licenses: GPL2
Conflicts: nullfs-dkms
Provides: nullfs
Submitter: crabvk
Maintainer: crabvk
Last Packager: crabvk
Votes: 1
Popularity: 0.000097
First Submitted: 2021-04-30 12:07 (UTC)
Last Updated: 2023-11-11 19:36 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

crabvk commented on 2024-02-21 08:55 (UTC) (edited on 2024-02-21 08:56 (UTC) by crabvk)

@retnag
It should just work, maybe a reboot is required, idk for sure.
But in order to use nullfs in /etc/fstab you should add nullfs to /etc/mkinitcpio.conf MODULES:

MODULES=(nullfs)

And re-create the ramdisk off cause:

mkinitcpio -P

retnag commented on 2024-02-20 12:28 (UTC)

Am I missing something? After installing the package, I can't use nullfs.

sudo mount -t nullfs none /var/log/hugefiles                   
mount: /var/log/hugefiles: unknown filesystem type 'nullfs'.
       dmesg(1) may have more information after failed mount system call.

I tried running modprobe nullfs like it says on the README, but again, the module can't be located.

I also tried mounting via fstab: none /nullfs nullfs auto - same error.

Are there extra steps besides building and installing, that we need to make?

dreieck commented on 2021-05-18 21:16 (UTC)

Error reported on 2021-05-17 reported and fixed upstream.

dreieck commented on 2021-05-17 18:15 (UTC)

Build of the DKMS module fails because warnings are treated as errors:

[...]
/var/lib/dkms/nullfs/0.3.r2.g802930f/build/nullfs.c:383:19: error: initialization of ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, u32,  unsigned int)’ {aka ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, unsigned int,  unsigned int)’} from incompatible pointer type ‘int (*)(const struct path *, struct kstat *, u32,  unsigned int)’ {aka ‘int (*)(const struct path *, struct kstat *, unsigned int,  unsigned int)’} [-Werror=incompatible-pointer-types]
  383 |     .getattr    = nullfs_getattr,
      |                   ^~~~~~~~~~~~~~
/var/lib/dkms/nullfs/0.3.r2.g802930f/build/nullfs.c:383:19: note: (near initialization for ‘nullfs_dir_inode_operations.getattr’)
cc1: some warnings being treated as errors

The option -Wno-error should be added somewhere