Skip to content

Geometry setting code #4

Open
Open
@t-w

Description

@t-w

The main issue is that geometry setting in done in several places and stages:

  • opening/creating a device
    • read from a real device (is possible)
    • calculated or set standard (in case of, for instance, standard floppies)
  • for hard disks - the already set geometry is being overwritten by what is read from Rigid block,
    and it is done in adfDevMountHd()
    • geometry read (earlier) from a real hardware device is completely ignored, while it should be, at least, compared with what is in Rigid Block (and reported if different)

I would like to move all dealings with device geometry to opening a device - it should be set on any opened device (which can be that partitioned, formatted etc.).
While "mounting" a device is basically reading partition/volume information (if we move reading rigid block info).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions