NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/57921: swapon: Do not overwrite Linux swap header



> On Feb 10, 2024, at 12:40 PM, matthew green <mrg%eterna23.net@localhost> wrote:
> 
> i'm confused.  we skip the first PAGE_SIZE bytes on block devices,
> ie, any mbr or gpt accessed for this would be a block device.

Wait, what?  Why would we do this?  The block device specified for swap should be a partition, I don’t see any reason whatsoever to skip any part of a partition assigned swap duty.

-- thorpej



Home | Main Index | Thread Index | Old Index