On 10-06-2024 06:57AM, Andrei Borzenkov wrote:
06.10.2024 09:24, -pj via openSUSE Users wrote:
On 10-06-2024 12:44AM, Andrei Borzenkov wrote:
06.10.2024 07:01, -pj via openSUSE Users wrote:
Then I have read this comment > openSUSE doesn't support F2FS, unless you recompile the kernel manually,
Huh?
bor@tw:~> /usr/sbin/modinfo f2fs filename: /usr/lib/modules/6.11.0-1-default/kernel/fs/f2fs/f2fs.ko.zst softdep: pre: crc32 license: GPL description: Flash Friendly File System ... suserelease: openSUSE Tumbleweed ... signer: openSUSE Secure Boot CA
Hi, machine here > :~> /usr/sbin/modinfo f2fs filename: /usr/lib/modules/6.11.0-1-default/kernel/fs/f2fs/f2fs.ko.zst softdep: pre: crc32 license: GPL description: Flash Friendly File System author: Samsung Electronics's Praesto Team alias: fs-f2fs suserelease: openSUSE Tumbleweed srcversion: 6934334EE838F391A7A22A5 depends: retpoline: Y intree: Y name: f2fs vermagic: 6.11.0-1-default SMP preempt mod_unload modversions sig_id: PKCS#7 signer: openSUSE Secure Boot CA sig_key: FA:BE:D8:BF:40:9A:5E:65 sig_hashalgo: sha256 signature:
Well, can you tell me why I am unable to mount the USB with f2fs in Dolphin? Message displayed > An error occurred while accessing 'mylabel', the system responded: The requested operation has failed: Error mounting /dev/sdc at /run/media/paul/mylabel: Filesystem type f2fs not configured in kernel.
Because f2fs is blacklisted by default
/usr/lib/modprobe.d/60-blacklist_fs-f2fs.conf
To disable blacklist
touch /etc/modprobe.d/60-blacklist_fs-f2fs.conf
Very very good to know of this. I commented out /etc/dracut.conf.d/f2fs.conf contents to > # ... # force_drivers+=" f2fs " # ... - I created file /etc/modprobe.d/60-unblacklist_fs-f2fs.conf with content of > # DO NOT EDIT THIS FILE! # # The f2fs file system is blacklisted by default because it isn't actively # supported by SUSE. f2fs # The filesystem can be un-blacklisted by running "modprobe f2fs". # See README.md in the suse-module-tools package for details. install f2fs /usr/lib/module-init-tools/unblacklist f2fs; /sbin/modprobe --ignore-install f2fs - Then passed > dracut --regenerate-all --force and powercycled. - There is a "DO NOT EDIT THIS FILE!" warning in the file. I have edited the file though now. Is this bad practice or incorrect way? File /usr/lib/modprobe.d is left without modification. /usr/lib/modprobe.d> cat 60-blacklist_fs-f2fs.conf # DO NOT EDIT THIS FILE! # # The f2fs file system is blacklisted by default because it isn't actively # supported by SUSE. blacklist f2fs # The filesystem can be un-blacklisted by running "modprobe f2fs". # See README.md in the suse-module-tools package for details. install f2fs /usr/lib/module-init-tools/unblacklist f2fs; /sbin/modprobe --ignore-install f2fs - Module appears to be loading > lsmod | grep f2fs f2fs 983040 0
Screenshot of Dolphin error message displayed > https://paste.opensuse.org/pastes/111552fe5806