J'utilise Windows 10's Ubuntu Bash shell. It maps the C drive fine as /mnt/c.
J'ai other local physical disque durs, mounted in Windows as E: and F:
Comment tell Bash to mount these drives too (ideally automatically at /mnt/e and /mnt/f, but manual mounting is fine)? "sudo fdisk -l" doesn't seem to work (cannot open /proc/partitions), so Je ne suis pas sûr how to find their names, otherwise I'd just use a regular mount command.
Windows 10 Ubuntu Bash Shell: How Do I Mount Other Windows Drives?
Re: Windows 10 Ubuntu Bash Shell: How Do I Mount Other Windows Drives?
Good news, it is now possible to mount USB media (including formatted as FAT) and network shares with drvfs on Windows 10:
Mount removable media: (e.g. D:)
```
$ sudo mkdir /mnt/d
$ sudo mount -t drvfs D: /mnt/d
```
To safely unmount
```
$ sudo umount /mnt/d
```
Vous pouvez aussi mount network shares without smbfs:
```
$ sudo mount -t drvfs '\\server\share' /mnt/share
```
You need au moins Build 16176 so you might have to opt-in to the Windows Insider programm and then update Windows. Source: [https://blogs.msdn.microsoft.com/wsl/2017/04/18/file-system-improvements-to-the-windows-subsystem-for-linux/]( 3 )
Mount removable media: (e.g. D:)
```
$ sudo mkdir /mnt/d
$ sudo mount -t drvfs D: /mnt/d
```
To safely unmount
```
$ sudo umount /mnt/d
```
Vous pouvez aussi mount network shares without smbfs:
```
$ sudo mount -t drvfs '\\server\share' /mnt/share
```
You need au moins Build 16176 so you might have to opt-in to the Windows Insider programm and then update Windows. Source: [https://blogs.msdn.microsoft.com/wsl/2017/04/18/file-system-improvements-to-the-windows-subsystem-for-linux/]( 3 )