Hi , thanks for your prompt reply actually my project is on encryption of contents on pen drive .so initially we have to demonstrate that it's possible to steal data from the pen drive . that is what i am saying. without the knowledge of user, in background i will copy the data . and in phase 2 , we will implement encryption so that , even if its stolen , the data will be in encrypted form only. just showing the vulnerability in mass storage . i hope u understood what i am saying On Thu, Jan 13, 2011 at 11:09 PM, Greg KH <greg@xxxxxxxxx> wrote: > On Thu, Jan 13, 2011 at 10:16:37PM +0530, Umer Q wrote: >> Hi , >> I am doing a project on mass storage device . please answer my queries >> . I am a newbie in this area . >> >> 1) Once I open a file on a pen drive , its contents gets stored from >> pen drive to some buffer in hard disk . > > No they do not. > >> I would like to copy the contents of that buffer to a temp buffer ( >> which i create ) . How can I achieve this ? > > Why do you want to do this? > >> 2) How can I access these temporary buffers which i created and display the data > > Why not just open the file and read from it and display the data that > way? > > thanks, > > greg k-h > -- Umer -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html