Support changing 9p mount tag at runtime
- Dominant language
- JavaScript
- Stars
- 23.5k
- Forks
- 1.9k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 7
Description
It would be helpful to be able to change the name of the 9p file share.
https://github.com/copy/v86/blob/4eb1e5035e91490c5aeebab45553d5043cd84b95/lib/9p.js#L82
For dynamically generating mount tags:
```javascript
/**
* @param {string} mountTagName
*/
function genMountTagArray(mountTagName) {
/**
* @type {Number[]}
*/
let _mountTagArray;
Array.from(mountTagName).forEach(function(char) {
_mountTagArray.push(char.charCodeAt(0));
});
return _mountTagArray;
};
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at lib/9p.js around line 82, where the mount tag is defined, and trace how that value is used when the 9p share is mounted. Define the runtime behavior from the issue's requested mount-tag change and verify that a share can be renamed after initialization without breaking existing mounts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100