Giter VIP home page Giter VIP logo

Comments (6)

abbbi avatar abbbi commented on July 28, 2024 1

https://negativo17.org/repos/multimedia/epel-7/SRPMS/nullfsvfs-kmod-0.8-2.el7.src.rpm

Provides a good spec file, too.

Shamelessly adding it, thanks @scaronni

from nullfsvfs.

abbbi avatar abbbi commented on July 28, 2024

No idea, i only know how to propperly package it for debian related distributions :)
But note that there is already an rpm package from the centos project's getpagespeed repository:

https://centos.pkgs.org/8/getpagespeed-x86_64/kmod-nullfsvfs-0.0.1-3.el8.x86_64.rpm.html

So maybe that work has been done already and you can have a look how those packages are built.

from nullfsvfs.

abbbi avatar abbbi commented on July 28, 2024

Maybe @dvershinin wants to upstream his work :)

from nullfsvfs.

Le-Syl21 avatar Le-Syl21 commented on July 28, 2024

Thx for the very quick answer :-D

I've install: https://negativo17.org/repos/multimedia/epel-8/x86_64/kmod-nullfsvfs-0.8-2.el8.x86_64.rpm

the install success whitout any problem but when I want to use it, I have this:

insmod: ERROR: could not insert module /usr/lib/modules/4.18.0-305.12.1.el8_4.x86_64/extra/nullfsvfs/nullfs.ko: Invalid module format

But it's maybe more a question for @scaronni ???

Thx again

from nullfsvfs.

Le-Syl21 avatar Le-Syl21 commented on July 28, 2024

OK so in Docker the module must be on host (Ubuntu LTS for me), not in container (UBI8):

root@ubuntu:/nullfsvfs-master# make
make -C /lib/modules/5.4.0-81-generic/build M=/root/nullfsvfs-master modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-81-generic'
CC [M] /root/nullfsvfs-master/nullfs.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /root/nullfsvfs-master/nullfs.mod.o
LD [M] /root/nullfsvfs-master/nullfs.ko
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-81-generic'
root@ubuntu:
/nullfsvfs-master# insmod nullfs.ko
root@ubuntu:~/nullfsvfs-master# docker run --privileged -it redhat/ubi8 bash
[root@fc257cc67e6f /]# mkdir /fake
[root@fc257cc67e6f /]# mount -t nullfs none /fake
[root@fc257cc67e6f /]# mount | grep fake
none on /fake type nullfs (rw,relatime)
[root@fc257cc67e6f /]# df -h | grep fake
none 382G 39G 344G 10% /fake
[root@fc257cc67e6f /]#

EasyWin Thx everybody

from nullfsvfs.

abbbi avatar abbbi commented on July 28, 2024

The added spec file works at least on RHEL 8.4, the only redhat based system i have available now for testing, see README.md for how to build rpm package from source.

from nullfsvfs.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.