<div dir="ltr">Dang! That's what I just about to suggest, Matthew. G'luck man. I know you always write things down so it'd be great to hear what your final solution was.<div><br></div><div style>cheers everyone,</div>
<div style>--miguel</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 2:33 PM, Matthew Campbell <span dir="ltr"><<a href="mailto:dvdmatt@gmail.com" target="_blank">dvdmatt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Thanks Rae,</p>
<p>I tried hard coding the paths to no avail.</p>
<p>Matt<br>
</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Apr 4, 2013 11:49 PM, "Rae Yip" <<a href="mailto:rae.yip@gmail.com" target="_blank">rae.yip@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra">My only suggestion is do the usual shell environment debugging. Try adding debugging flags to the rcS script, make sure PATH as inherited from init includes where mount and mkdir is, verify script is executable, etc.</div>


<div class="gmail_extra"><br></div><div class="gmail_extra">Good luck,</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Rae.<br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 9:11 PM, Matthew Campbell <span dir="ltr"><<a href="mailto:dvdmatt@gmail.com" target="_blank">dvdmatt@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is an Arch available for the Pogoplug as well as debian, but then you lose their web interface, anywhere access, cloud storage and mirroring features.  Darned closed source benefits!  If it wasn't for those the world would be open.<br>



<br># cat /etc/inittab<br>::sysinit:/etc/init.d/rcS<br>::respawn:-/bin/sh<br>#::respawn:-/bin/sh<br>#tty2::askfirst:-/bin/sh<br>#::ctrlaltdel:/bin/umount -a -r<br><br>#<br></div><div class="gmail_extra"><div><br clear="all">


<div>
---------<br><b style="color:rgb(51,102,102)">Matthew Campbell</b><br><font size="1">Storage Solution Consultant<br>Storage Design and Engineering<br></font><font face="Verdana" size="1"><br></font><b><span style="color:rgb(51,102,102)">Kaiser Permanente</span></b><br>



<font face="Verdana" size="1">IMG-Systems Integration</font><font size="1"><br>99 S. Oakland<br>Pasadena, CA 91101<br></font><br><font size="1"><a>626-564-7228</a> (office)<br></font><font face="Verdana" size="1"><a>8-338-7228</a> (tie-line)<br>



<a value="+18186918895">818-314-9897</a> (mobile phone)<br>Green Center 3-North, 031W29</font><font size="1"><br></font>---------<br><b><a style="color:rgb(51,102,102)" href="http://kp.org/thrive" target="_blank">kp.org/thrive</a></b><br>



</div>
<br><br></div><div><div><div class="gmail_quote">On Thu, Apr 4, 2013 at 9:42 AM, Rae Yip <span dir="ltr"><<a href="mailto:rae.yip@gmail.com" target="_blank">rae.yip@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr">Is there an /etc/inittab? ArchLinux switched to systemd; any chance that's what you're running?<span><font color="#888888"><div><br></div><div>-Rae.</div></font></span></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 9:17 AM, Matthew Campbell <span dir="ltr"><<a href="mailto:dvdmatt@gmail.com" target="_blank">dvdmatt@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Thank you John for your thoughtful answer.<br><br>Unfortunately these are USB devices so I can't assume that they will be mounted as the same device from boot to boot which is why I started down the UUID route.<br>





<br># cat /proc/partitions<br>major minor  #blocks  name<br><br>  31        0       2048 mtdblock0<br>  31        1       3072 mtdblock1<br>  31        2       3072 mtdblock2<br>  31        3       8192 mtdblock3<br>  31        4     114688 mtdblock4<br>





   8        0 2930266584 sda<br>   8        1 2930265088 sda1<br>   8       32 2930266584 sdc<br>   8       33 2930265088 sdc1<br>   8       48    3913696 sdd<br>   8       49    3911680 sdd1<br>   8       16 1953514582 sdb<br>





   8       17 1953512534 sdb1<br><br></div>So it looks like they are showing up.  I can mount them once the boot sequence is complete by hand:<br><br># blkid<br>/dev/sdc1: UUID="408d60e4-358b-450f-a6f0-4c3fdde4e8ed" TYPE="ext3" <br>





/dev/sda1: UUID="062801fe-7225-4834-b27d-104e375c1bbc" TYPE="ext3" <br>/dev/sdb1: UUID="2858227358223FC4" LABEL="TOSHIBA EXT" TYPE="ntfs" <br>/dev/sdd1: UUID="0d295fe2-b6b9-4d8e-b035-d68ec6c0843e" TYPE="ext3" <br>





/tmp/.cemnt/sdb1: UUID="2858227358223FC4" LABEL="TOSHIBA EXT" TYPE="ntfs" <br><br></div>The question is:  On a Pogoplug Mobile device (arm/busybox) where in the boot sequence should I be attempting to mount the partitions?<br>





<br></div>I am not a busybox expert.  Others had success adding the lines to /etc/init.d/rcS but this does not appear to be working in my case.  Any other suggestions of where to look?<br><br># uname -a<br>Linux PogoplugMobile 2.6.31.8 #4 Tue Aug 23 13:00:50 PDT 2011 armv5tel GNU/Linux<br>





<br># busybox | head -n1<br>BusyBox v1.16.1 (2011-08-23 13:02:26 PDT) multi-call binary.<br><pre>Look on the bottom of the unit:  Model POGO-V4-A1-01
</pre>Matt<br><br></div><div class="gmail_extra"><br clear="all"><div>---------<br><b style="color:rgb(51,102,102)">Matthew Campbell</b><br><font size="1">Storage Solution Consultant<br>Storage Design and Engineering<br>





</font><font face="Verdana" size="1"><br></font><b><span style="color:rgb(51,102,102)">Kaiser Permanente</span></b><br><font face="Verdana" size="1">IMG-Systems Integration</font><font size="1"><br>99 S. Oakland<br>Pasadena, CA 91101<br>





</font><br><font size="1"><a>626-564-7228</a> (office)<br></font><font face="Verdana" size="1"><a>8-338-7228</a> (tie-line)<br><a value="+18186918895">818-314-9897</a> (mobile phone)<br>Green Center 3-North, 031W29</font><font size="1"><br>





</font>---------<br><b><a style="color:rgb(51,102,102)" href="http://kp.org/thrive" target="_blank">kp.org/thrive</a></b><br></div><div><div>
<br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 5:11 AM, John Kreznar <span dir="ltr"><<a href="mailto:jek@ininx.com" target="_blank">jek@ininx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





In a posting purporting to be from Matthew Campbell <<a href="mailto:dvdmatt@gmail.com" target="_blank">dvdmatt@gmail.com</a>><br>
but lacking a digital signature, it is written:<br>
<div><br>
> I am running into some problems trying to get my USB drives to mount<br>
</div>> automatically in a known location when my PogoPlug Mobile v4 boots. ...<br>
<div><br>
> It seems that busybox doesn't understand mounting by UUID<br>
<br>
</div>Would it be practical to mount by device name (e.g. /dev/sde1) instead<br>
of UUID?<br>
<br>
Do those devices appear in /proc/partitions at that stage of the boot?<br>
The mount man page says<br>
<br>
BUGS<br>
       ...<br>
<br>
       Mount by label or uuid will work only if your devices have the<br>
       names listed in /proc/partitions.  In particular, it may well<br>
       fail if the kernel was compiled with devfs but devfs is not<br>
       mounted.<br>
<span><font color="#888888"><br>
--<br>
OpenPGP key: <a href="http://ininx.com" target="_blank">http://ininx.com</a><br>
 John E. Kreznar <a href="mailto:jek@ininx.com" target="_blank">jek@ininx.com</a> 9F1148454619A5F08550 705961A47CC541AFEF13<br>
<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>
</blockquote></div>
</div></div></blockquote></div><br></div>