go-fuse icon indicating copy to clipboard operation
go-fuse copied to clipboard

Fix panic when `/dev/null` does not exist

Open bduffany opened this issue 1 year ago • 2 comments

Fixes an issue that the init() func in splice.go panics if /dev is not yet mounted.

This allows supporting go-based init binaries which set up all the filesystems on the machine, including both /dev as well as FUSE-mounted dirs.

bduffany avatar Jun 08 '23 16:06 bduffany

if possible, I'd prefer a gerrithub review.

hanwen avatar Jun 11 '23 09:06 hanwen

if possible, I'd prefer a gerrithub review.

Sorry, I am not comfortable with the permissions that Gerrithub is requesting from my GitHub account, and I don't see a way to log in without a GitHub link :confused:

bduffany avatar Sep 07 '23 23:09 bduffany

This has already been merged as https://github.com/hanwen/go-fuse/commit/b5c46276a19e02b7912f998e4ccee85330458f4d

rfjakob avatar Jan 23 '24 20:01 rfjakob