Hi William,

Thank you for the reply.  I understand that when used as a USB slave, there 
will be no security for the portion of the file system that appears as a 
thumb drive.  

Is it possible to plug the BBB in as a slave device and have the PC see the 
SD card instead of the default BeagleBone Getting Started location?

Ted



On Sunday, May 10, 2015 at 8:15:49 AM UTC-7, William Hermans wrote:
>
> If you wish to use only to the ethernet or serial aspect of the driver you 
> may disable g_multi and then . . .
>
>
>    1. enable g_ether for ethernet over USB
>    2. enable g_serial for serial over USB
>
> Note: only one gadget ( g_* ) driver can be used at a time. Hence g_ multi 
> to encompass all 3 drivers in one.
>
>
> Disabling one driver, and then enabling another *can* be tricky depending 
> on which init daemon you're using. If you're using SYSV, then simply using 
> modprobe can / should work. To make the change persistent across reboots, 
> put the driver ( name ) into /etc/modules. As for systemd, I'll leave that 
> up to you, and your search engine of choice. As an exercise.
>
>
> Search terms:
>
>    1. g_multi
>    2. g_mass_storage
>    3. g_ether
>    4. g_serial
>    
> Now, if using a Windows host, and wishing to change what directory / 
> partition the BBB is pointing to, you have a couple problems. First, 
> Windows has no idea how to read Linux file systems -  Out of the box. 
> Second, Since the only real common file system shared between Linux, and 
> Windows  is of type FAT( which probably means FAT 32 and exFAT as well ). 
> Well the FAT filesystem has no concept of file permissions. Which means 
> such a file system / partition can not be set as read only, or have files 
> accessible only by certain users. e.g. a potential security issue.
>
> On Sat, May 9, 2015 at 2:09 PM, Ted <[email protected] <javascript:>> 
> wrote:
>
>> When the BBB is plugged into a host PC via USB it appears as a removeable 
>> drive that points to /boot/uboot.  It is possible to configure the BBB to 
>> point somewhere else when used as a slave device?
>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to