-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main rfs #2079
Main rfs #2079
Conversation
pkg/flist/mounts.go
Outdated
@@ -12,6 +12,7 @@ import ( | |||
) | |||
|
|||
const ( | |||
fsTypeRfs = "fuse.rfs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not correct, this require a change to rfs
actually because it still identity itself as g8ufs
(that's something that is hard coded in the code) of course we can change that in rfs itself but I don't see why would we do that right now.
the idea was to be able to tell rfs
from overlay so as long as we can do that it's fine. so in other words there should be no difference in reading the rfs
from g8ufs
since they both use the pid as source mount
pkg/flist/mounts.go
Outdated
@@ -116,7 +117,7 @@ func (f *flistModule) resolve(path string) (g8ufsInfo, error) { | |||
return g8ufsInfo{}, err | |||
} | |||
|
|||
if info.FSType == fsTypeG8ufs { | |||
if info.FSType == fsTypeG8ufs || info.FSType == fsTypeRfs { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this means this is not deeded since both are defined as fuse.g8ufs
For testing the idea is that if u use
|
sublog.Info().Strs("args", args).Msg("starting rfs daemon") | ||
args = append([]string{"mount"}, append(args, mountpoint)...) | ||
cmd = f.commander.Command("rfs", args...) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add an else
case here so we return an error if the url extension is unknown
Issues