Date: Mon, 28 Oct 2002 16:46:39 -0800 (PST) From: Nate Lawson <nate@root.org> To: current@freebsd.org Subject: DIOCGDINFO, DIOCGSLICEINFO fail Message-ID: <Pine.BSF.4.21.0210281642040.85194-100000@root.org>
next in thread | raw e-mail | index | archive | help
World and kernel from today. newfs_msdos, disklabel both fail on these ioctls. ------------------------------ moe# uname -a FreeBSD moe 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Mon Oct 28 15:23:20 PST 2002 nate@moe:/usr/obj/usr/src/sys/MOEPRO i386 moe# ls -l /sbin/disklabel -r-xr-xr-x 1 root wheel 166184 Oct 28 07:47 /sbin/disklabel moe# fdisk da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=4471 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=4471 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 49994217 (24411 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 39/ head 254/ sector 63 The data for partition 2 is: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> moe# disklabel da0s1 disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device [Another drive, fdisk'd for an msdos fat32 partition] moe# newfs_msdos /dev/da0s4 newfs_msdos: ioctl (GSLICEINFO): Inappropriate ioctl for device newfs_msdos: /dev/da0s1: can't get slice info -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210281642040.85194-100000>