NetBSD-Users archive

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

Re: disks, partitions, slices, etc.



ea1abz%gmail.com@localhost (Ramiro Aceves) writes:


>#        size    offset     fstype [fsize bsize cpg/sgs]
> d: 120164352         0     unused      0     0        # (Cyl.      0 - 119=
>210*)
> e: 120164289        63 Linux Ext2      0     0        # (Cyl.      0*- 119=
>210*)


>Se est=E1 creando un sistema de ficheros con 15020544 bloques de 4k y 37601=
>28 nodos-i



Looks like a NetBSD bug.

e2fsprogs picks up the DIOCGMEDIASIZE ioctl to check the size.

On FreeBSD this will return either the total disk size or the size
of a specific partition, depending on what device has been opened.

On NetBSD it returns the total disk size even for a partition.



Home | Main Index | Thread Index | Old Index