Comments (1)
This is on a Raspberry Pi 3, running Arch Linux ARM (armv7). Transcript:
java -cp ./build/libs/jnr-fuse-0.5.2-SNAPSHOT-all.jar ru.serce.jnrfuse.examples.HelloFuse
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.26
flags=0x001ffffb
max_readahead=0x00020000
INIT: 7.19
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 1, success, outsize: 40
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 13184
LOOKUP /hello
getattr /hello
NODEID: 2
unique: 2, success, outsize: 144
unique: 3, opcode: OPEN (14), nodeid: 2, insize: 48, pid: 13184
open flags: 0x20000 /hello
open[0] flags: 0x20000 /hello
unique: 3, success, outsize: 32
unique: 4, opcode: READ (15), nodeid: 2, insize: 80, pid: 13184
read[0] 4096 bytes from 0 flags: 0x20000
read[0] 12 bytes from 0
unique: 4, success, outsize: 28
unique: 5, opcode: FLUSH (25), nodeid: 2, insize: 64, pid: 13184
unique: 5, error: -38 (Function not implemented), outsize: 16
unique: 6, opcode: RELEASE (18), nodeid: 2, insize: 64, pid: 0
unique: 6, success, outsize: 16
after having invoked cat /tmp/mnth/hello
, which produces no content.
The same setup on the PC, also Arch (but x86_64) produces the "Hello World!", and the transcript is:
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.26
flags=0x001ffffb
max_readahead=0x00020000
INIT: 7.19
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 1, success, outsize: 40
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 16323
LOOKUP /hello
getattr /hello
NODEID: 2
unique: 2, success, outsize: 144
unique: 3, opcode: OPEN (14), nodeid: 2, insize: 48, pid: 16323
open flags: 0x8000 /hello
open[0] flags: 0x8000 /hello
unique: 3, success, outsize: 32
unique: 4, opcode: READ (15), nodeid: 2, insize: 80, pid: 16323
read[0] 4096 bytes from 0 flags: 0x8000
read[0] 12 bytes from 0
unique: 4, success, outsize: 28
unique: 5, opcode: GETATTR (3), nodeid: 2, insize: 56, pid: 16323
getattr /hello
unique: 5, success, outsize: 120
unique: 6, opcode: FLUSH (25), nodeid: 2, insize: 64, pid: 16323
unique: 6, error: -38 (Function not implemented), outsize: 16
unique: 7, opcode: RELEASE (18), nodeid: 2, insize: 64, pid: 0
unique: 7, success, outsize: 16
Java versions are almost the same: 1.8.0_162 (PC) vs 1.8.0_144-b01 (ARM).
Listing the directory produces the same transcript, as far as I see, but different results:
ARM:
$ ls -al /tmp/mnth
total 0
drwxr-xr-x 2 root root 0 Jan 1 1970 .
drwxrwxrwt 7 root root 200 Apr 6 21:42 ..
-r--r--r-- 1 root root 0 Jan 1 1970 hello
PC:
$ ls -al /tmp/mnth
total 0
drwxr-xr-x 2 root root 0 Jan 1 1970 .
drwxrwxrwt 21 root root 540 Apr 6 21:42 ..
-r--r--r-- 1 root root 12 Jan 1 1970 hello
from jnr-fuse.
Related Issues (20)
- Migrate to maven central from JCenter HOT 1
- Mounting the file system always blocks HOT 2
- How to set `birth_time` in `getattr` HOT 2
- Umount on Mac OS X doesn't work
- Java 9 module support HOT 1
- write throughput very low compared to read HOT 1
- Problem with samba share folders (jnr-fuse + winfsp) HOT 2
- Capturing SetSecurity events HOT 2
- Fix CVE-2014-4043 HOT 4
- Wrong dependency scopes in release 0.5.6 HOT 2
- GraalVM native image support
- Winfsp and jnr-fuse not working HOT 3
- Why not implement the inode interface provided by kernel fuse to replace the current path interface? HOT 5
- Program doesn't shut down properly in some cases on windows
- JVM crash with jnr-fuse and javafx
- WinFsp 1.12 doesn't pass the CI check
- Test failures on AWS Graviton (ARM, aarch64 GNU/Linux)
- Winfsp read callback random offset
- I can't get getxattr() working HOT 1
- -bash: cd : mydirectory: Input/output error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jnr-fuse.