Skip to content

Auto-mount

Auto-mount is the fastest way to give SAS access to your files. It automatically mounts your drives into the container.

How It Works

Platform What Gets Mounted Container Path
Windows Each fixed drive (C:, D:, etc.) /mnt/c, /mnt/d, etc.
macOS Root filesystem /mnt/host
Linux Root filesystem /mnt/host

Enabling Auto-mount

  1. Open your desktop in edit mode
  2. In the Mount Configuration section, check Auto-mount fixed drives
  3. Review the preview table to see what will be mounted
  4. Save your desktop

Auto-mounted drives appear in the mount list with an Auto type badge. These are read-only entries — they cannot be individually edited or deleted. Disable auto-mount by unchecking the checkbox.

Accessing Files in SAS

/* Read a CSV from your home directory */
proc import datafile="/mnt/host/Users/yourname/Documents/data.csv"
    out=work.mydata dbms=csv replace;
run;
/* Read from D: drive */
proc import datafile="/mnt/d/Projects/data.csv"
    out=work.mydata dbms=csv replace;
run;