Skip to content

changing mount point from /mnt/c to /c #1918

@raymod2

Description

@raymod2

Years of using MSYS and MSYS2 has ingrained the habit of referring to the C: drive as "/c" but Bash on Windows uses "/mnt/c". A good solution is using a bind mount:

mkdir -p /c
sudo mount -o bind /mnt/c /c

However, this requires root and needs to be run every time you open a bash window. I tried using /etc/fstab for a persistent mount but I couldn't get it to work:

sudo sh -c "echo '/mnt/c /c none bind' >> /etc/fstab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions