That's not correct. I use it on Debian and it works fine.Void-linux & debian-linux and mint-linux have not even read access to freebsd-ufs.
mount -t ufs -o ufstype=ufs2
I didn't know I had this on Debian & derivatives. Thanks!That's not correct. I use it on Debian and it works fine.
Just domount -t ufs -o ufstype=ufs2
root@lenovo:~# mount -t ufs -o ufstype=ufs2 /dev/sda11 /mount
mount: /mount: WARNING: device write-protected, mounted read-only.
root@lenovo:~# ls /mount
bin COPYRIGHT entropy gpt11 lib media net rescue sbin tmp var
boot dev etc home libexec mnt proc root sys usr
root@lenovo:~#
That's a lot of partitions! What do you do with so many of them?/dev/sda11
Windows 10 and Lenovo used up 5 of them before I ever got started. Then I keep at least 4 FreeBSD installs up and running for MATE, a minimal plasma5-plasma DE, the full kde5 meta-package, and a headless server. Then I need at least 1 Debian boot manager install, so I can use grub2 to boot them all. Other than that I play around with Ubuntu and Linux Mint just to see what they've done with Debian. Best server platform IMO is easily the headless BSD, but I also like BSD with MATE, out of an old fondness for SCO Openserver 5, which was the first server I ever used which came with an X-windows console out of the box.You're welcome.
That's a lot of partitions! What do you do with so many of them?
% zcat /proc/config.gz|grep -i ufs
CONFIG_SCSI_UFSHCD=m
CONFIG_SCSI_UFSHCD_PCI=m
# CONFIG_SCSI_UFS_DWC_TC_PCI is not set
CONFIG_SCSI_UFSHCD_PLATFORM=m
CONFIG_SCSI_UFS_CDNS_PLATFORM=m
# CONFIG_SCSI_UFS_DWC_TC_PLATFORM is not set
CONFIG_SCSI_UFS_BSG=y
CONFIG_SCSI_UFS_CRYPTO=y
CONFIG_UFS_FS=m
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set
No idea what any of that means, but I get the same thing here, but can't seem to mount a UFS partition usingI have no problem mounting r/w an UFS (v2) under an openSUSE Tumbleweed with default kernel 5.12.9-1 bundled with 20210606 snapshot.
Kernel's config:
Code:% zcat /proc/config.gz|grep -i ufs CONFIG_SCSI_UFSHCD=m CONFIG_SCSI_UFSHCD_PCI=m # CONFIG_SCSI_UFS_DWC_TC_PCI is not set CONFIG_SCSI_UFSHCD_PLATFORM=m CONFIG_SCSI_UFS_CDNS_PLATFORM=m # CONFIG_SCSI_UFS_DWC_TC_PLATFORM is not set CONFIG_SCSI_UFS_BSG=y CONFIG_SCSI_UFS_CRYPTO=y CONFIG_UFS_FS=m CONFIG_UFS_FS_WRITE=y # CONFIG_UFS_DEBUG is not set
mount -t ufs -o ufstype=ufs2 /dev/sda2 /mnt
What is that supposed to do?And with# modprobe ufs
before trying to mount?
Can you show me the command you used to mount the UFS partition? And did you need to install anything first or was support already built in?I have no problem mounting r/w an UFS (v2) under an openSUSE Tumbleweed with default kernel 5.12.9-1 bundled with 20210606 snapshot.
Can you show me the command you used to mount the UFS partition? And did you need to install anything first or was support already built in?
CONFIG_UFS_FS=m
CONFIG_UFS_FS_WRITE=y
# modprobe ufs
# mount -t ufs -o ufstype=ufs2 /dev/sdb1 ~/mnt
% lsmod|grep ufs
ufs 94208 0
1 # The ufs file system is blacklisted by default because it isn't actively
2 # supported by SUSE, not well maintained, or may have security vulnerabilites.
3 # To enable autoloading the ufs file system module, comment out the
4 # "blacklist ufs" statement below. ENABLE AT YOUR OWN RISK.
5 #
6 # File system modules loaded at installation time of the suse-module-tools package
7 # are not blacklisted. This is achieved by commenting out the blacklist
8 # line in the post-installation script. To prevent the post-installation
9 # script from modifying this file, delete the line containing "THIS FILE MAY
10 # BE MODIFIED" at the bottom.
11 blacklist ufs
12 # __THIS FILE MAY BE MODIFIED__
AFAIAC Linux is just a mess. FreeBSD is so much simpler and cleaner.The counter intuitiveness comes from the numerous GNU/Linux distributions having their own kernel configuration but once you know what the kernel supports (either via loadable modules or builded ones directly onto the kernel) things got clearer.
As what bsduck already stated, modprobe(8), lsmod(8), rmmod(8) and modinfo(8) are tools to do what we're used to on FreeBSD with (by order) kldload(8), kldstat(8) and kldunload(8).
man ext2fs
, "It currently implements most of the features required by ext3 and ext4 file systems. Support for Extended Attributes in ext4 is experimental. Journalling and encryption are currently not supported." I use ext2fs at my own risk to share files between the two systems, but, just like Machiaveli said above about the Linux ufs module, I couldn't recommend it for anything critical.Is it still relevant ? I read somewhere that this support has been dropped since FreeBSD 10.PS: You can also read-write linux-XFS partition from freebsd.