Skip to content
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

Mounting CDFS #1926

Closed
therealkenc opened this issue Apr 15, 2017 · 4 comments
Closed

Mounting CDFS #1926

therealkenc opened this issue Apr 15, 2017 · 4 comments
Labels

Comments

@therealkenc
Copy link
Collaborator

therealkenc commented Apr 15, 2017

  • Filesystem Improvements
    • Allow mounting of UNC paths
    • Enable CDFS support in drvfs
    • Correctly handle permissions for network file systems in drvfs
    • Add support for remote drives to drvfs
    • Enable FAT support in drvfs
  • Okay I'll bite. At considerable risk of demonstrating my overlooking the patently obvious, how does one mount CDFS on 16176? I put a random ISO 9660 disk in my drive and it lights up as D: in Windows natch, but no sign in WSL /mnt/d. I have restarted the WSL instance. Can't mount it by the usual Linux block device means, which isn't how I would expect it to work on WSL anyway. So, ...?

    And more generally, how are you managing disks coming and going? Which is really what has my curiosity piqued, as opposed to actually desiring to read anything off a plastic disk.

    @benhillis
    Copy link
    Member

    @therealkenc - good question. @SvenGroot has a blog post that will be releasing soon talking about the feature. Currently removable drives and network shares have to be mounted manually. Automatically mounting and unmounting drives as they appear in Windows is being considered in a future change. In the meantime here's some of the things you can do:

    Mounting DrvFs (including USB and CD)
    sudo mount -t drvfs D: /mnt/d

    Mounting network locations
    sudo mount -t drvfs '\\server\share' /mnt/share

    Volumes mounted on empty NTFS folders
    sudo mount -t drvfs 'C:\mountpoint' /mnt/myvolume

    @therealkenc
    Copy link
    Collaborator Author

    therealkenc commented Apr 16, 2017

    Awesome Ben; thank-you! [Everybody's Working for the Weekend 🎶.] Works perfectly as advertised. I suppose re-purpose this question to feature request: Add support for NETLINK_KOBJECT_UEVENT. I mean, how hard can it be? 😀

    @therealkenc
    Copy link
    Collaborator Author

    Looks like udfs.sys is also wired up, even though it isn't explicitly mentioned in the release notes. Very nicely played, @SvenGroot 💯.

    Unfortunately mrxdav.sys does not seem to take. Which spoiled my Inception experiment.

    @therealkenc
    Copy link
    Collaborator Author

    Closing as asked and answered. See the blog post for anyone who might land here in a search.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants