From owner-freebsd-fs@FreeBSD.ORG Mon Aug 6 18:45:04 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963761065670 for ; Mon, 6 Aug 2012 18:45:04 +0000 (UTC) (envelope-from dudinskyj@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4B5188FC14 for ; Mon, 6 Aug 2012 18:45:04 +0000 (UTC) Received: by ghrr13 with SMTP id r13so1239435ghr.13 for ; Mon, 06 Aug 2012 11:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5Em6za4YCp5OUmhlBVSE7uRhmh30a5YO3L6PUnqG+KA=; b=fOE2qfdh+wmh4ZSAIkR2J76C8xNaH08Ygn4bgfGGLgtpH7S3H+s6CbFsVA3zazjatV es8BgNZXKIUsSVeW/4fRlJc7S9mCQA9sIVxzY/FlntU6CJn48htzdhc2yp7l7PK/F/ZR 9zlYPzwv8a6V0ZHzWgHi4BGyfOyPdX2fnfyRESGUWIWBjp4Yb/TpJ8vFV7xWnFfEpSp5 36u8GVDbWRMdEVN8tZKLy4SPv30Wg7ZdUd8ahNqn5LNmoDhBolWU4LfjMXu7oVSnyFJq P10Vswgoj8Z/IDXYcZzj7GXoINwRH5yjLuOfWdCMjxgJQGDzJNNCRjFEZ0DNiWczocxj +u1w== MIME-Version: 1.0 Received: by 10.60.172.101 with SMTP id bb5mr20428048oec.44.1344278703697; Mon, 06 Aug 2012 11:45:03 -0700 (PDT) Received: by 10.182.24.168 with HTTP; Mon, 6 Aug 2012 11:45:03 -0700 (PDT) Date: Mon, 6 Aug 2012 21:45:03 +0300 Message-ID: From: Oleksandr Dudinskyi To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to use VOP_IOCTL? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2012 18:45:04 -0000 Hi, I am the GSoC student I need some advice in my project. http://wiki.freebsd.org/SummerOfCode2012/UDFImplementation I want to use function VOP_IOCTL() in my project, but not very informative man, introduced me to the confusion. Specifically I don't know which of the flags use. In NetBSD after call this function, request proceeds to function cdioctl () in sys/dev/scsipi/cd.c . Where the command( one of the VOP_IOCTL parameters) is selection. Could you tell me how to reach this logic in Freebsd(call cdioctl () in sys/cam /scsi/scsi_cd.c)? Or share some articles on the topic. -- Thank you, Oleksandr Dudinskyi.