Re: GEOM is too verbose

From: Maxim Sobolev (sobomax_at_portaone.com)
Date: 07/31/04

  • Next message: Oliver Eikemeier: "Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)"
    Date: Sat, 31 Jul 2004 20:15:40 +0300
    To: Arne Schwabe <arne@rfc2549.org>
    
    

    Arne Schwabe wrote:

    > Maxim Sobolev <sobomax@portaone.com> writes:
    >
    >
    >>Poul-Henning Kamp wrote:
    >>
    >>
    >>>In message <410BB699.3060803@portaone.com>, Maxim Sobolev writes:
    >>>
    >>>
    >>>>Hi Poul,
    >>>>
    >>>>I use application that detects size of disk using binary search. On
    >>>>current each attempt to read beyond disk boundary causes message on
    >>>>console, which is annoying. Can you please turn them off, since
    >>>>apparently they serve no meaningful purpose.
    >>>
    >>>Why don't you just use ioctl(DIOC_MEDIASIZE) ?
    >>>or the diskinfo(8) program ?
    >>
    >>It is python program, so that ioctl() is out of question. Usage of
    >
    >
    > 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.

    -Maxim
    _______________________________________________
    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: Oliver Eikemeier: "Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)"

    Relevant Pages

    • Re: GEOM is too verbose
      ... >It is python program, so that ioctl() is out of question. ... >diskinfo is possible but is not portable across different unices. ...
      (freebsd-current)
    • Re: GEOM is too verbose
      ... Maxim Sobolev writes: ... > It is python program, so that ioctlis out of question. ... Hm python has ioctl support, ...
      (freebsd-current)
    • Re: GEOM is too verbose
      ... so that ioctl() is out of question. ... >>diskinfo is possible but is not portable across different unices. ...
      (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
      ... >> 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)