Project

General

Profile

Bug #2788

ioctl GSLICEINFO: Not working for vnode slice

Added by mneumann over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Kernel
Target version:
-
Start date:
02/12/2015
Due date:
% Done:

0%


Description

Execution of "newfs_msdos /dev/vn0s2" results in the following error:

newfs_msdos: ioctl (GSLICEINFO): Inappropriate ioctl for device
newfs_msdos: /dev/vn0s2: can't get slice info

Complete example that fails:

truncate -s 1G disk
cat <<EOS | fdisk -p disk -B -f -
p 1 165 63 2080387
p 2 12 2000450 88000
a 1
EOS

vnconfig vn0 disk
newfs_msdos /dev/vn0s2

When run on /dev/vn0, newfs_msdos works as expected.

Also available in: Atom PDF