When the command format -t fat16 is used w

Project:JNode Core
Component:Code
Category:bug report
Priority:minor
Assigned:pgwiasda
Status:closed
Description

When the command format -t fat16 is used with hda instead of hda0
there is a classcast exception in
FatFileSystemType line 114.
The BlockDeviceAPI for the hda is from the type
BlockAligmentSupport so the cast to FSBlockDeviceAPI fails.

#1

Status:active» fixed

#2

This shouldn't happen now. All three format commands now use DeviceArgument with the appropriate API class, so using the wrong device type should give a command syntax error.

#1

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.