microsoft / microsoft/WSL

Feature Request-? :Why are the system CDROMs' not getting scanned into /dev

Open
#6,134 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

I just updated to wsl2 because I read that you now had full support for block devices. I was very disappointed to see that all my physical hard drives represented but neither of my dvd/bluray. one is on a sata and the other is usb . I know I can mount them with the drvfs driver but I would really love to see them as Linux devices for forensics and block work like using ddrescue ,dd ...etc. and a myriad of other uses. A little slow in my case would not be an issue.

CAUTION
( small rant not part of the request )
I guess I am a little confused because from what I read I thought that with the full kernel you would be implementing udev and pci buss scans like a real Linux machine or VM would (at least for USB), even if they are dummied through an abstract-translation/driver layer.

I am also confused because it looks like you are moving the whole project to basically a VM ( because we have to enable VirtualMachinePlatform ) which we have had for years and years which makes WSL2 convenient but redundant in many ways and not a whole lot different then just firing up virtualbox or one it's kin and using raw devices at least in that case I have access to any usb devices I care to use .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing WSL2's existing block-device and drvfs handling, with attention to SATA and USB optical drives. Done would mean CDROM/DVD/Blu-ray devices are exposed under /dev for block-level tools such as dd and ddrescue; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.