Opened 4 years ago

Last modified 4 years ago

#12157 new bug

DriveSetup recognises ext4 partition as ext2

Reported by: haiqu Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: Applications/DriveSetup Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Description says it all. I got this reading a raspbian image on a microSD card attached to USB if that helps.

Change History (6)

comment:1 Changed 4 years ago by korli

Component: File Systems/ext2Applications/DriveSetup
Owner: changed from korli to stippi

comment:2 Changed 4 years ago by pulkomandy

We have a single filesystem driver called "ext2" that also handles ext3, and some ext4 features. It will not allow you to mount a volume if unknown ext4 features are used (see http://cgit.haiku-os.org/haiku/commit/src/add-ons/kernel/file_systems/ext2?id=431a51cc9143c5abf87efa933964f9f8ea37045f).

So, DriveSetup says the filesystem driver used is "ext2". I'm not sure there is an easy way to differenciate ext3 and ext4 there?

comment:3 Changed 4 years ago by axeld

We could rename our driver to "ext", and only advertise a "Extended File System"?

comment:4 Changed 4 years ago by haiqu

comment:5 Changed 4 years ago by axeld

@haiqu: Since we do support ext2/3/4 this is obviously not where the problem is; thanks for looking this up, but if you'd think a bit about it, you should have known that this was just a waste of time.

The problem is that IIRC Haiku currently has no way to let the file system return a different "pretty" name for a mounted file system -- there is just one name per file system. This would have to be changed in order to support this distinction. Personally, I don't think it's worth it. Removing the "2" would help with that, as we at least wouldn't make any wrong reports.

comment:6 Changed 4 years ago by pulkomandy

(and yes, our ext"2" driver does check the feature bits).

Note: See TracTickets for help on using tickets.