Re: GEOM is too verbose

From: Daniel O'Connor (doconnor_at_gsoft.com.au)
Date: 08/01/04

  • Next message: Daniel O'Connor: "Re: GEOM is too verbose"
    To: freebsd-current@freebsd.org
    Date: Sun, 1 Aug 2004 13:27:20 +0930
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Sun, 1 Aug 2004 02:45, Maxim Sobolev wrote:
    > > Hm python has ioctl support, where is the problem?
    >
    > Really? Anyway, I doubt that name of this ioctl is the same on the
    > different unices, so that binary search is still the best from the
    > portability POV.

    You could always try the ioctl and fall back to a binary search if you get
    EINVAL.

    - --
    Daniel O'Connor software and network engineer
    for Genesis Software - http://www.gsoft.com.au
    "The nice thing about standards is that there
    are so many of them to choose from."
      -- Andrew Tanenbaum
    GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (FreeBSD)

    iD8DBQFBDGog5ZPcIHs/zowRAnH2AKCHiMcvN/sy/YppZeOeEOZYhZumcwCggev1
    16+zzkfS7BzkJ4EzCMuhxS4=
    =gTET
    -----END PGP SIGNATURE-----
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Daniel O'Connor: "Re: GEOM is too verbose"

    Relevant Pages

    • So how do I get the length of a volume on W2K
      ... is no IOCTL I can make to find the size of the volume. ... volumes returns extents that include the mirror or parity extent, ... mirror volumes and spanned volumes. ... or is the binary search my only option? ...
      (microsoft.public.development.device.drivers)
    • Re: GEOM is too verbose
      ... I doubt that name of this ioctl is the same on the ... >> different unices, so that binary search is still the best from the ... working code for perfection sake is not one of them. ...
      (freebsd-current)
    • Re: GEOM is too verbose
      ... >> Hm python has ioctl support, ... I doubt that name of this ioctl is the same on the ... You could always try the ioctl and fall back to a binary search if you get ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)
    • Re: Is it time for remove (crap) ALSA from kernel tree ?
      ... can't handle is the data argument of ioctl(), so the most it could do ... The point in this thread was I think about emulating an OSS sound ... device through a fuse fs. ... ioctl support, which simply can't be done without weird userspace ...
      (Linux-Kernel)
    • Re: GEOM is too verbose
      ... >>It is python program, so that ioctl() is out of question. ... > Hm python has ioctl support, ...
      (freebsd-current)