tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ioctl equivalent to DIOCGSECTORSIZE in FreeBSD?
Michael van Elst wrote:
> Currently you have several different methods, see sbin/fsck/partutil.c for an
> example.
Ok, so I use DIOCGDISKINFO first and fall back to DIOCGDINFO if it fails.
> You will need -current to use a filesystem except maybe for msdosfs.
I do not understand what you say here. For what do I _need_ -current?
I surely want to get the sector size on -current but it also has to work
on NetBSD-4 and -5.
ciao
Klaus
Home |
Main Index |
Thread Index |
Old Index