OSFMount CLI - Physical drive created as "Not initialized"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DanD
    Junior Member
    • Jan 2019
    • 11

    #1

    OSFMount CLI - Physical drive created as "Not initialized"

    I've always created a logical drive but I wanted to switch to a physical drive to try OSFMount - Incorrect function. ShellExecuteEx failed option 1.

    Using command line below I seem to be getting "Not initialized" disk in "Disk management".

    Any suggestions? Thank you very much for your work!

    Code:
    C:\Program Files\OSFMount>osfmount.com -a -t vm -o physical,rw,hd,format:ntfs:"RAM Disk" -s 3G
    Creating device...
    OK
    Setting disk attributes...
    Done.
    Code:
    osfmount --version
    PassMark OSFMount Command Line Interface.
    Version V3.3 (Build 1000) - (Compiled Aug 11 2026)
    Code:
    osfmount -l
    [logical disks]
    
    [physical disks]
    \\.\PhysicalDrive2​
    Windows 26H2 Pro (23300.981​

    Click image for larger version

Name:	image.png
Views:	0
Size:	18.0 KB
ID:	60817​

    Click image for larger version

Name:	image.png
Views:	0
Size:	31.3 KB
ID:	60818​

    Seems to work fine if I do it through the desktop app - initialize, format, and even assign a preferred letter (this one not supported in CLI with "physical" option).

    Click image for larger version

Name:	image.png
Views:	0
Size:	19.8 KB
ID:	60819​

    ​



    ​

    ​
Working...