Hello everyone.
I have a hard disk drive which contains a single partition formatted with a UDF filesystem. I have problems mounting the filesystem onto my FreeBSD system. What do I do as a superuser:
I get:
The file definitely exists:
I also do this:
And get:
I do that mostly because I did not really get acquainted with FreeBSD well (but long time OpenBSD and Linux user), and do not know your variant of
The formatting of the partition I did myself via GNOME Disks utility on Fedora 41. The utility says that the UDF is version 2.01. The filesystem mounts OK inside Fedora and Windows 10. It does not on OpenBSD with a problems of the same nature (FS seen as MSDOS +
I am connecting the drive to the system via SATA-USB adapter. On connecting the drive I get these lines in system console:
What is the core problem here? Am I doing everything correctly? Should I create UDF filesystems via some other tool? Thank you.
I have a hard disk drive which contains a single partition formatted with a UDF filesystem. I have problems mounting the filesystem onto my FreeBSD system. What do I do as a superuser:
# mount_udf /dev/da0p1 /mnt
I get:
mount_udf: /dev/da0p1: Invalid argument
The file definitely exists:
# ls /dev/da0*
/dev/da0 /dev/da0p1
I also do this:
# gpart show da0
And get:
=> 34 976773101 da0 GPT (466G)
34 2014 - free - (1.0M)
2048 976771072 1 ms-basic-data (466G)
976773120 15 - free - (7.5K)
I do that mostly because I did not really get acquainted with FreeBSD well (but long time OpenBSD and Linux user), and do not know your variant of
disklabel
/lsblk
. As you can see, the system does not even see the filesystem as UDF. My FreeBSD is version 14.2 fresh installed. If I replace mount_udf
with mount_msdosfs
or mount -t udf
, the result is the same. I have thoroughly read bouth mount(8)
and mount_udf(8)
man pages.The formatting of the partition I did myself via GNOME Disks utility on Fedora 41. The utility says that the UDF is version 2.01. The filesystem mounts OK inside Fedora and Windows 10. It does not on OpenBSD with a problems of the same nature (FS seen as MSDOS +
Invalid argument
error message).I am connecting the drive to the system via SATA-USB adapter. On connecting the drive I get these lines in system console:
usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device JMicron External USB 3.0 (0x152d:0x0570)
usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device JMicron External USB 3.0 (0x152d:0x0570)
ugen0.7: <JMicron External USB 3.0> at usbus0
umass0 on uhub0
umass0: <JMicron External USB 3.0, class 0/0, rev 3.00/2.04, addr 6> on usbus0
umass0:12:0: Attached to scbus12
da0 at umass-sim0 bus 0 scbus12 target 0 lun 0
da0: <External USB3.0 0204. Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 201703310007F
da0: 400.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
What is the core problem here? Am I doing everything correctly? Should I create UDF filesystems via some other tool? Thank you.