fails: mount -t ufs -o ro,ufstype ufs2 /dev/sdc2 /mnt
I need to resave some old files originally created under freebsd on a byegone pc, into some fs that is more generic. Right now adding a freebsd install to the laptop I have available would not be practical.
Back in the day when I was using slackware 14.x, this worked. Code:
mount -t ufs -o ro,ufstype=ufs2 /dev/sdc2 /mnt Code:
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdc2, Code:
Module Size Used by If I am trying to mount ufs partitions in an outdated way, please tell me the correct current way. |
I haven't had to do that for a while.
https://www.kernel.org/doc/html/late...guide/ufs.html You might run lsblk -f on them. You may also look and see what you have on your machine Code:
ls /usr/lib/modules/6.7.9-arch1-1/kernel/fs |
Quote:
Code:
# ls /lib/modules/6.6.23/kernel/fs |
@mw.decavia
Can you post the output of? : Code:
# file -s /dev/sdc2 |
Quote:
Code:
# file -s /dev/sdc2 Code:
/lib/modules/5.15.19/kernel/fs/ufs/ufs.ko It appears the 15.0 version of ufs.ko on my pc, thinks every ufs file needs to be "ufstype=44bsd" regardless of the ufs types I know the partitions are (because I created them myself years ago). When trying to mount a partition I know is ufs2, it still wants me to mount it as "44bsd". And then there is no error. |
Nice, so solved?
|
Quote:
|
According to man mount
Code:
Mount options for ufs |
@marav , There used to be a third & maybe fourth selection .
ultrix JimL ;-) |
Quote:
regards Henrik |
All times are GMT -5. The time now is 10:02 AM. |