Oh, and for what its worth, the working example I setup on that blog post,
had a swap disk enabled on the external USB drive as well. It works very
nicely and all, but for convince I personally prefer to run my rootfs off a
NFS share.

The reason is simple. I can modify file 3 different ways like this.

1) directly from the BBB
2) from the NFS share host.
3) from a Windows 7( or any OS for that matter ) dev machine using Samba
and mapped network drives.

there is at least a 4th option, using WinSCP from a Windows machine, but I
prefer using "native" tool as much as possible. So I stick with mapped
network drives.


On Sat, Jun 14, 2014 at 5:47 PM, William Hermans <[email protected]> wrote:

> HI William, why not put the whole rootfs on an external USB drive ?
>
>
> http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-black-usb-boot/
>
> If anything is unclear feel free to ask here, as I've derided long time
> ago to disable comments on my blog site.
>
>
> On Sat, Jun 14, 2014 at 12:06 PM, William Pretty Security <
> [email protected]> wrote:
>
>> Hello All;
>>
>>
>>
>> I have been going thru uSD cards because I am using Cloud9 as a local IDE.
>>
>> The number of writes performed by Cloud9 seems to be trashing the uSD
>> card.
>>
>>
>>
>> So I thought I would re-install Cloud9 on an External flash drive.
>>
>>
>>
>> I modified /ext/fstab so that the drive is automatically mounted:
>>
>>
>>
>> proc /proc proc defaults 0 0
>>
>> /dev/mmcblk0p2      /              auto   errors=remount-ro   0   1
>>
>> /dev/mmcblk0p1      /boot/uboot    auto   defaults            0   0
>>
>> /dev/sda1           /media/disk1   vfat   auto,umask=0 0 0  <-----------
>>
>>
>>
>> So now if I go to /media I see:
>>
>>
>>
>> root@ubuntu-armhf:/media# ls -l
>>
>> total 28
>>
>> drwx------ 10 ubuntu ubuntu 16384 Jan  1  1970 BOOT
>>
>> drwxrwxrwx  3 root   root    8192 Jan  1  1970 disk1
>>
>> drwxr-xr-x  3 root   root    4096 Feb 10 17:38 rootfs
>>
>>
>>
>> What I need to know is, to access “/dev/sda1/media/disk1” do I just add
>> this to $PATH:
>>
>>
>>
>> PATH=$PATH:/media/disk1
>>
>>
>>
>> Thanks;
>>
>>
>>
>> Bill
>>
>>
>>
>>
>> http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book
>>
>>
>>
>> --
>> 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.
>>
>
>

-- 
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