Skip to content

Conversation

ericvh
Copy link
Contributor

@ericvh ericvh commented Dec 18, 2024

Destigmatize darwin cpud by enabling it
without filesystem mounts or
private namespace.

WIP: need to add nfs mounts and chroot in order for this to really be cpu and not just an ssh clone

Signed-off-by: Eric Van Hensbergen [email protected]

Destigmatize darwin cpud by enabling it
without filesystem mounts or
private namespace.

Later can add nfs mounts, binds, and chroot in.

Signed-off-by: Eric Van Hensbergen <[email protected]>
@ericvh ericvh requested a review from rminnich December 18, 2024 22:52
// It also requires that CPU_NONCE exist.
func (s *Session) Namespace() error {
return fmt.Errorf("CPUD: 9p mounts are only valid on Linux:%w", os.ErrNotExist)
//return fmt.Errorf("CPUD: 9p mounts are only valid on Linux:%w", os.ErrNotExist)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unclear on what the reason for this is. Why is it not an error? Why is the error commented out, if nil is OK?

package server

import (
"fmt"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure of the point of this file? Is it for Darwin? Will it fool people into thinking things work? Just trying to understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants