Steve Traugott

Results 42 comments of Steve Traugott

I've been avoiding gerrithub because it is not clear from https://github.com/hanwen/go-fuse/blob/master/CONTRIBUTING and https://review.gerrithub.io/static/intro.html what permissions I need to grant to gerrithub in order to contribute, and I'd prefer to not...

> you can pick 'reviewer' option which shouldn't require handing out push access. I think that's what I did on 06 Nov -- it's sitting there waiting for your review/approval,...

@rfjakob Thanks, hadn't seen the comment thread. I'd say whichever one of us gets to it first should go for it. My earliest chance may not be until this weekend.

@rfjakob Oh! I hadn't realized you'd switched to the fs API -- I've still been looking at your 1.8.0 code. Oh, this is excellent. Thank you. @hanwen I'm tilting at...

I just now realized that recent versions of gocryptfs are also now showing a `?` in place of the inode number for the mounted filesystem's root directory "." entry. I've...

Checking the ./example directory, looks like the symptom is limited to the fs API. Examples using nodefs instead do show an inode number for the root node: | example |...

The inode number "1" in the above nodefs examples comes from [this stanza](https://github.com/hanwen/go-fuse/blob/0f728ba15b38579efefc3dc47821882ca18ffea7/fuse/nodefs/fsmount.go#L78) in fsmount.go: ```go if out.Ino == 0 { out.Ino = nodeId } ``` I don't see anything...

I see a few possible solutions: 1. Simplest would be to wrap the [out.Ino assignment](https://github.com/hanwen/go-fuse/blob/24a1dfe6b4f8d478275d5cf671d982c4ddd8c904/fs/bridge.go#L563) in the following if statement. - This would avoid overwriting a non-zero Ino when it's...

> Could we call Getattr on the root node to populate stableAttr ? Unless I'm misunderstanding something, we can't say `rootNode.stableAttr.Ino = 42` from inside Getattr because stableAttr isn't exported....

> I meant, could bridge call getattr once on mount That then would be an option (4), calling Inode.Getattr() from someplace during mount and using the resulting `out` values to...