Score:0

Understanding WSL 2 & Ubuntu in NTFS

in flag

I am trying to understand the File System for Windows with WSL 2 and Ubuntu distro. When looking at the root '/" of the file system, Ubuntu operating system is installed in the /mnt directory. However, the my user for Ubuntu is in the "/home" directory. Why is this and how does this work? Also where is WSL2 located? Is WSL2 its' own directory?

Sorry, I am new to the software engineering world and just trying to understand.

Thank you!

Nmath avatar
ng flag
I think you might be confused. The operating system is installed to `/` - this is the "root" directory. User folders are always under `/home/username` - This is not unique to WSL or even Ubuntu. This is standard POSIX/UNIX directory structure. You may want to research "UNIX filesystem" or "UNIX directory structure".
Nmath avatar
ng flag
For WSL-specific directory info, see: https://askubuntu.com/q/831361
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.