Re: Alignment of disk-I/O from userland.

From: Mark Valentine (mark_at_valentine.me.uk)
Date: 10/07/03

  • Next message: Garrett Wollman: "Re: Alignment of disk-I/O from userland."
    Date: Mon, 6 Oct 2003 23:20:06 +0000
    To: wollman@khavrinen.lcs.mit.edu (Garrett Wollman), phk@phk.freebsd.dk
    
    

    > From: wollman@khavrinen.lcs.mit.edu (Garrett Wollman)
    > Date: Mon 6 Oct, 2003
    > Subject: Re: Alignment of disk-I/O from userland.

    > I believe that the Standard allows practically arbitrary restrictions
    > on what may be done with devices (since most devices, aside from ttys,
    > are outside the scope of the Standard anyway). It says that read()
    > may fail if:
    >
    > [ENXIO] A request was made of a nonexistent device, or the request
    > was outside the capabilities of the device.

    Hmm, but it doesn't say:

      [EDOOFUS] A request was made of a nonexistent device, or the request
               was outside the capabilities of the device driver writer.

    It would be reasonable to enforce such restrictions on a raw device if
    we still had block devices around, but it doesn't seem reasonable now.

                    Cheers,

                    Mark.

    -- 
    "Tigers will do ANYTHING for a tuna fish sandwich."
    "We're kind of stupid that way."   *munch* *munch*
      -- <http://www.calvinandhobbes.com>
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Garrett Wollman: "Re: Alignment of disk-I/O from userland."

    Relevant Pages

    • Re: Verbal Communication Skills
      ... And it's also why DEL is 0x7F, as the original ASCII standard ... mentioning that ASCII dates back to the days before glass TTYs were ... Most TTYs could print actual characters at line speed, ...
      (alt.sysadmin.recovery)
    • Re: did man walk on the moon...and creationism.
      ... scope in the right direction. ... Standard stuff, man, standard stuff. ... that, and set the system to take pix as necessary, and review the pix in the ... astronomers kept a close eye on all the Apollo missions. ...
      (talk.origins)
    • Re: did man walk on the moon...and creationism.
      ... scope in the right direction. ... Standard stuff, man, standard stuff. ... that, and set the system to take pix as necessary, and review the pix in the ... astronomers kept a close eye on all the Apollo missions. ...
      (talk.origins)
    • Re: did man walk on the moon...and creationism.
      ... scope in the right direction. ... Standard stuff, man, standard stuff. ... that, and set the system to take pix as necessary, and review the pix in the ... astronomers kept a close eye on all the Apollo missions. ...
      (talk.origins)
    • Re: Declaration statement
      ... as declarations appearing at file and block scope... ... other declaration overrides it -- because the rules of the C ... way, and in the days before the first C standard (ANSI X3.159-1989, ... different C compilers had different rules. ...
      (comp.lang.c)