https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197876
--- Comment #2 from j...@iki.fi --- Created attachment 153379 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153379&action=edit fix devfs_getattr() just enough to make it report sizes for GEOM providers This patch fixes the problems with GEOM provider size fields reported to user space via the [lf]stat() calls. Now the same example cases shown before look a whole lot better. Even the 16k sectorsize/st_blksize which previously was being falsely reported as 4k comes out just fine. /dev/mirror/root: st_dev: 1895890688 st_ino: 201 st_mode: 0x21a0 st_nlink: 1 st_uid: 0 st_gid: 5 st_rdev: 201 st_size: 2147483136 st_blocks: 4194303 st_blksize: 4096 st_flags: 0x0 st_gen: 0 st_btim: 1970-01-01 01:59:59.000000000 st_mtim: 2015-02-23 19:23:13.180258000 st_ctim: 2015-02-23 19:23:13.180258000 st_atim: 2015-02-23 19:25:07.508476106 /dev/ggate0: st_dev: 1895890688 st_ino: 177 st_mode: 0x21a0 st_nlink: 1 st_uid: 0 st_gid: 5 st_rdev: 177 st_size: 68719476736 st_blocks: 134217728 st_blksize: 16384 st_flags: 0x0 st_gen: 0 st_btim: 1970-01-01 01:59:59.000000000 st_mtim: 2015-02-23 19:43:48.037354325 st_ctim: 2015-02-23 19:43:48.037354325 st_atim: 2015-02-23 19:43:48.037354325 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"