MCPcopy Create free account
hub / github.com/asterinas/vostd / mount

Method mount

kernel/src/fs/path/mount.rs:72–84  ·  view source on GitHub ↗

Mounts a fs on the mountpoint, it will create a new child mount node. If the given mountpoint has already been mounted, then its mounted child mount node will be updated. The mountpoint should belong to this mount node, or an error is returned. It is allowed to mount a fs even if the fs has been provided to another mountpoint. It is the fs's responsibility to ensure the data consistency. Retur

(&self, fs: Arc<dyn FileSystem>, mountpoint: &Dentry)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

initFunction · 0.45
initFunction · 0.45
do_new_mountFunction · 0.45
initFunction · 0.45
mount_fs_atFunction · 0.45

Calls 8

newFunction · 0.85
mount_nodeMethod · 0.80
thisMethod · 0.45
type_Method · 0.45
keyMethod · 0.45
insertMethod · 0.45
writeMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected