512 hardcoded into scan_ffs(8)

2012-11-02 Thread Jan Stary
Looking at the source of scan_ffs, 512 is hardcoded all over the place. Would it be an improvement to have that configurable, for the newer disks with bigger size?

Re: 512 hardcoded into scan_ffs(8)

2012-11-02 Thread Theo de Raadt
Looking at the source of scan_ffs, 512 is hardcoded all over the place. Would it be an improvement to have that configurable, for the newer disks with bigger size? No. ffs information is layed out on the disk in 512 byte chunks.