Where are the files on the SD card?
-
I took the card out of my SBC and put it in my PC. There were folders on it that had the expected names, but they were empty for the most part. Is there something wacky going on?
-
@gnydick the SD card that we ship with Duet 3 boards has two partitions: a small FAT32 partition, which is used by a Duet in standalone mode, and a larger one that I believe uses the Linux ext4 format, which Windows cannot read. The virtual Duet SD card that SBC mode provides is a subfolder of the Linux partition and therefore not normally readable under Windows.
-
If you look at the SD card from a linux system like the Pi you can find the system config files in
/opt/dsf/sd
. -
@Phaedrux that, I know. I just wanted to back up the SBC real quick by yanking the card.
-
@dc42 I've 30 years of Linux, you can tell me exactly, or point me to pre-existing docs. What's the exact setup?
-
-
@dc42 sorry, that's not what I meant. you said that the virtual duet SD card in SBC mode is a subfolder of the linux partition.
You said "The virtual Duet SD card that SBC mode provides is a subfolder of the Linux partition"
The only Linux partition mentioned is one on the SD card in the 6HC. So i'm just making sure I understand, are you saying that a sub-folder from the Linux partition on the SDCard-6HC is mounted on the SDCard-SBC? (using some kind of VFS)
If it is that, it's an interesting/novel setup that I haven't seen used before, so I wanted to make sure I'm interpreting everything correctly.
-
@gnydick the Linux partition on the SD card is mounted on the Pi. Gcode commands that include filenames use folder /opt/dsf/sd as the root of the filesystem. For example, if you execute M32 "myjob.gcode" then when running standalone it will look for /gcodes/myjob.gcode and when running in SBC mode it will look for /opt/dsf/sd/gcodes/myjob.gcode within the Linux partition.
HTH David