Re: Problem in scull




hide1713@xxxxxxxxx wrote:

HI everyone
I'm reading ldd and trying to use scull. when i try "cat somefile >
/dev/scull0" ,it told me "write error: No space left on device",I'm not
sure if i must allocate space for scull first. Anyone please tell me
why?

In scull_write try putting some printKs and see where you are getting
returned with errors.
scull write is assigned in scull_fops in main.c. Is your somefile size
exceeding SCULL_P_BUFFER?

.



Relevant Pages

  • Re: Problem in scull
    ... I'm reading ldd and trying to use scull. ... when i try "cat somefile> ... sure if i must allocate space for scull first. ...
    (comp.os.linux.development.system)
  • Re: Problem in scull
    ... I'm reading ldd and trying to use scull. ... when i try "cat somefile> ... sure if i must allocate space for scull first. ...
    (comp.os.linux.development.system)
  • Problem in scull
    ... I'm reading ldd and trying to use scull. ... when i try "cat somefile> ... sure if i must allocate space for scull first. ...
    (comp.os.linux.development.system)