LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FUSE: what version is in my system? (https://www.linuxquestions.org/questions/linux-newbie-8/fuse-what-version-is-in-my-system-906501/)

stf92 10-05-2011 03:43 AM

FUSE: what version is in my system?
 
Hi: I have these files in my system:

/lib/modules/2.6.21.5/kernel/fs/fuse/fuse.ko
/lib/modules/2.6.21.5-smp/kernel/fs/fuse/fuse.ko.

Also, the sources. How could I know what version this FUSE is? I ask because trying to download NTFS-3G from SlackBuilds, it says in the page: "This package requires FUSE 2.6.0 or later to guarantee full data safety". My distro is Slackware 12.0.

lithos 10-05-2011 03:49 AM

I think you can try this:
Code:

$ which postfix
/usr/sbin/postfix
$rpm -qai postfix
Name        : postfix                      Relocations: (not relocatable)
Version    : 2.2.11                            Vendor: Comodo Trustix
Release    : 5tr                          Build Date: Wed May 23 10:42:33 2007
Install Date: Mon Jul 16 10:36:38 2007      Build Host: tsl305build.comodo.net
Group      : Trustix Official              Source RPM: postfix-2.2.11-5tr.src.rpm
Size        : 4386012                          License: IBM Public Licence
Signature  : DSA/SHA1, Fri May 25 09:07:06 2007, Key ID 8bc084cec2bd224b
Packager    : Comodo Trustix <http://www.trustix.com>
URL        : http://www.postfix.org
Summary    : The Postfix mailer daemon
Description :
Postfix is an alternative to the sendmail mailer daemon. Postfix attempts
to be fast, easy to administer, and secure, while at the same time being
sendmail compatible enough to not upset existing users.

This version comes with the following additional features:
- SASL to support user authentication.
- PCRE features, you need the postfix-pcre package.
- dynamic maps to loading additional features at run time.
  Just install some additional postfix-foo packages.

but with "fuse" not postfix

stf92 10-05-2011 05:58 AM

Code:

root@darkstar:~# which fuse
which: no fuse in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)
root@darkstar:~# rpm -qai fuse
root@darkstar:~#

Also:
Code:

root@darkstar:~# locate -i -r /fuse
/lib/modules/2.6.21.5/kernel/fs/fuse
/lib/modules/2.6.21.5/kernel/fs/fuse/fuse.ko
/lib/modules/2.6.21.5-smp/kernel/fs/fuse
/lib/modules/2.6.21.5-smp/kernel/fs/fuse/fuse.ko
/usr/include/linux/fuse.h
/usr/bin/fuser
/usr/man/man1/fuser.1.gz
/usr/src/linux-2.6.21.5/Documentation/filesystems/fuse.txt
/usr/src/linux-2.6.21.5/fs/fuse
/usr/src/linux-2.6.21.5/fs/fuse/dev.c
/usr/src/linux-2.6.21.5/fs/fuse/Makefile
/usr/src/linux-2.6.21.5/fs/fuse/dir.c
/usr/src/linux-2.6.21.5/fs/fuse/file.c
/usr/src/linux-2.6.21.5/fs/fuse/inode.c
/usr/src/linux-2.6.21.5/fs/fuse/fuse_i.h
/usr/src/linux-2.6.21.5/fs/fuse/control.c
/usr/src/linux-2.6.21.5/include/linux/fuse.h
/usr/src/linux-2.6.21.5/include/config/fuse
/usr/src/linux-2.6.21.5/include/config/fuse/fs.h
root@darkstar:~#

and
Code:

root@darkstar:~# grep -irl /fuse /var/log/packages/
/var/log/packages/procps-3.2.7-i486-2
/var/log/packages/kernel-source-2.6.21.5_smp-noarch-2
/var/log/packages/kernel-modules-smp-2.6.21.5_smp-i686-2
/var/log/packages/kernel-headers-2.6.21.5_smp-i386-2
/var/log/packages/kernel-modules-2.6.21.5-i486-2
/var/log/packages/devs-2.3.1-noarch-25
root@darkstar:~#

In the latter code window, you can see there is not a package whose name includes the 'fuse' string. FUSE seems to be supported by the kernel, according to these lists, but there is no package bearing the name 'fuse'. Neither do I find any reference to the version in /usr/src/linux-2.6.21.5/fs/fuse/, which holds the sources, nor in fuse.txt. Fuser has nothing to do with FUSE.

What would happen if I install FUSE 2.7.3 from Slackbuilds, which is for Slackware 12.0? I will download it and see what is in the package. Perhaps there I'll find a clue.

EDIT: insmod gives
Code:

root@darkstar:/usr/src/linux-2.6.21.5/fs/fuse# insmod fuse
insmod: can't read 'fuse': No such file or directory

Note: I could as well just have asked how does one know a kernel module version number, if it has one.

andrewthomas 10-05-2011 06:14 AM

Quote:

Originally Posted by stf92 (Post 4490459)

What would happen if I install FUSE 2.7.3 from Slackbuilds, which is for Slackware 12.0?

This seems like what you should do.

stf92 10-05-2011 06:22 AM

I'm am a little afraid, but I'll install it and see what happens. I do not think it can damage my ext2 FS, and have not critical files in NTFS.


All times are GMT -5. The time now is 11:00 AM.