Skip to contentSkip to conversation

Don't look for a partition map on a floppy

PATCH Robert Mabee 1 participant 1 message Jun 16, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 2 lines

Minix floppies are partitioned.

Facts are such inconvenient things.

I'm still looking for a way to iterate through partitions without incurring the floppy timeout, something like this:
for dev in *; do
if ! regexp "\(fd[0-9]\)" $dev; then
for part in ($dev,*); do

I can see how to change the *-expansion logic so * wouldn't read partmaps (since it only matches devices anyway) and so (hd0,*) would only access hd0.