Opened 9 years ago

Closed 4 years ago

#12157 closed bug (fixed)

DriveSetup recognises ext4 partition as ext2

Reported by: haiqu Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: File Systems/ext2 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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 (9)

comment:1 by korli, 9 years ago

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

comment:2 by pulkomandy, 9 years ago

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 by axeld, 9 years ago

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

comment:5 by axeld, 9 years ago

@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 by pulkomandy, 9 years ago

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

comment:7 by diver, 4 years ago

Probably fixed in hrev54157.

comment:8 by diver, 4 years ago

Component: Applications/DriveSetupFile Systems/ext2
Owner: changed from stippi to nobody

comment:9 by pulkomandy, 4 years ago

Milestone: UnscheduledR1/beta2
Resolution: fixed
Status: newclosed

Marking as closed, please complain if it still doesn't work.

Note: See TracTickets for help on using tickets.