Documentation for M21 in SBC mode
-
Hello,
I'm trying to mount USB flash disk as another GCode directory in SBC mode. I believe, that command M21 is what i need, but I can't find much about it. Documentation on GCode dictionary isn't exactly verbose.
From SBC side, I'm able to mount USB flash to directory inside /opt/dsf/sd/gcodes, which works fine, but I would like to mount it on the same level, as sd/ directory. I would like to have listed it in SD Card dropdown menu.
Can you please give me some additional documentation for M21 parameters? -
@chrishamm are usb flash drives mountable in SBC mode yet?
-
@Thugmek @Phaedrux Yes, it requires a recent DuetPi image, though. Also it's a good idea to check if the latest DSF packages are installed, recent ones should list external drives as SD card items.
M21 in SBC mode is just a wrapper for the
mount
utility, it could be used to mount network shares, for example. Possible examples are already documented on the G-codes dictionary page.