Openbsd and ext4 reddit / BSD ---------------------------------------------------------------------- soyin · 2020-06-03 05:54 My external ext4 formatted linux drive is seen as ext2fs by openbsd. Mounting does not work because ext2 is not the same as the partition. Can openbsd mount ext4 or do I reformat this drive from ext4 to ext2? Or is there some extra flag I have overlooked? ---------------------------------------------------------------------- jggimi · 2020-06-03 15:31 An EXT4 filesystem can be mounted read-only. It must not use the filesystem's 64bit option. ---------------------------------------------------------------------- soyin · 2020-06-04 06:21 The ext4 partition was created on a 64bit Linux version. So does this mean it's a no-go? ---------------------------------------------------------------------- jggimi · 2020-06-04 11:13 No, 64bit is a formatting option. ---------------------------------------------------------------------- daemonpenguin · 2020-06-04 15:45 ext4 is just ext2 with extra features. If you mount the filesystem in read-only mode it should work and not corrupt existing data. You just won't be able to write files/changes back to the external drive. ---------------------------------------------------------------------- le_funny_yellow_dog · 2020-06-09 11:06 It can? I've tried to mount ext4 even as read-only to no avail. Nothing in the mount_ext2fs(8) manual telling me otherwise either. ---------------------------------------------------------------------- jggimi · 2020-06-09 11:32 Support was added in 2014 with OpenBSD 5.6. http://www.openbsd.org/56.html ---------------------------------------------------------------------- muthuh · 2023-08-15 21:04 When attempting an ext4-formatted partition via; \> doas mount -o ro /dev/sd2j /mnt \> mount\_ext2fs: /dev/sd2j on /mnt: specified device does not match mounted device '*dmesg*' reports: \> ext2fs: unsupported incompat features: 64bit So clearly formatted with the '*64bit*' option :/ P.S. Some useful commands: \- *sysctl | grep disknames* \- *doas fdisk * \- *disklabel *