Operations on files in JME

Operations on files in JME

Post by Brzez » Mon, 23 Jan 2006 10:46:21


Hi.

Is there any way to open file which size is bigger than free memory?
because whenever I`m trying open any file, it looks like whole file is
being read into RAM... :/

and another question: is there any solution to open file in similar way as
by JSE:RandomAccessFile?

of course both questions concerns JME.


Thanks for help.


Pozdrawiam
Brzezi
--
[ E-mail: XXXX@XXXXX.COM ][ ]
[ Ekg: #3781111 ][ ]
[ LinuxUser: #249916 ][ ]
 
 
 

1. Favorite Add on's/Add in's for FrontPage 2002

2. [AppArmor 32/45] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames

n Thu, 2007-10-25 at 23:40 -0700, XXXX@XXXXX.COM wrote:

There's a slight problem (other than HCH not liking it) with this
approach of passing the open file in iattr: for special files, the
struct file pointer makes no sense to the filesystem, since it is always
opened by the generic functions.

This wasn't a problem with ftruncate(), because that one only works on
regular files, but fchmod/fchown/futimes will work on special files as
well, and the filesystem interpreting file->private_data could cause
nasty bugs.

So I think the correct solution (which was suggested by Trond and
others) is to define an f_op->fsetattr() method, which interested
filesystems can define.

Miklos


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

3. [AppArmor 34/41] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames.

4. [AppArmor 32/44] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames

5. I/O operation, file operation behaviou

6. [AppArmor 32/44] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames

7. [AppArmor 32/44] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames

8. [AppArmor 32/45] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames

9. Did I choose right: JME client vs. WAP web browser?

10. Which is better for JME devel: Netbeans or Eclipse?

11. jme driver loses connection after resuming from suspend

12. Deploying JME app and accessing OTA as a 3rd party apps

13. scope of JME

14. Recommendations for good JME/J2ME resources?

15. Solver in add-ins folder, but not in add-ins under tools menu