The disklabel sector is a not a machine-independent format, and it moves between different sectors on some machines.
You'll find we make no promises about this type of disk-portability. MBR or GPT label? Yes. Our own disklabels, unfortunately not. rgci...@disroot.org wrote: > dear all, > > to transfer files between an amd64 Linux, amd64 OpenBSD-current, and macppc > OpenBSD-current i have a USB drive. last night was the first time i tried to > use the drive on the macpcc. > > Dec 19 06:09:06 apbg4 /bsd: umass0 at uhub0 port 2 configuration 1 interface > 0 "BUFFALO SSD-PEU3" rev 2.10/1.10 addr 2 > Dec 19 06:09:06 apbg4 /bsd: umass0: using SCSI over Bulk-Only > Dec 19 06:09:06 apbg4 /bsd: scsibus4 at umass0: 2 targets, initiator 0 > Dec 19 06:09:06 apbg4 /bsd: sd0 at scsibus4 targ 1 lun 0: <BUFFALO, SSD-PEU3, > PMAP> serial.04110210357B1BD7B099 > Dec 19 06:09:06 apbg4 /bsd: sd0: 241216MB, 512 bytes/sector, 494010368 sectors > > the disklabel was not detected properly. this is the disklabel on macppc > OpenBSD-current (#638: Mon Dec 16): > > # /dev/rsd0c: > type: SCSI > disk: SCSI disk > label: SSD-PEU3 > duid: 0000000000000000 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 30750 > total sectors: 494010368 > boundstart: 0 > boundend: 494010368 > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > c: 494010368 0 unused > > i tried both USB ports of the Powerbook5,8. same results. > > this is the **correct** disklabel on amd64 OpenBSD-current (#637: Sun Dec 15): > > # /dev/rsd1c: > type: SCSI > disk: SCSI disk > label: SSD-PEU3 > duid: 0000000000000000 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 30750 > total sectors: 494010368 > boundstart: 0 > boundend: 494010368 > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > c: 494010368 0 unused > i: 494006272 2048 ext2fs > > > partition can be mounted properly on amd64 Linux and OpenBSD. > > > IIRC the drive was initialized / created on Linux. > > > i have other USB drives (whole disk, msdos format) that work properly across > all > 3 machines. > > > what am i missing here? looking forward to some pointers. > > > yorosiku ~ >