Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

Advanced users • Re: mass-storage gadget: is stall=0 required due to limitations?

$
0
0
I've not tried mount -o loop with a partitioned image but I'd expect that not to work as you might expect (the loop device will start with the partition table etc not with the first partition's data).
You should be able to use -o loop,offset=nnnnn option, where nnnn is the address of the start of the partition in bytes. You can use offset=$((sec * 512)), in a script or on the command line, where sec is the starting sector number when using 512 byte sectors.

Statistics: Posted by rpdom — Sat Jan 17, 2026 11:44 pm



Viewing all articles
Browse latest Browse all 8621

Trending Articles