Re: [oe] udev auto-mount not doing fsck

2014-04-10 Thread Denys Dmytriyenko
On Thu, Apr 10, 2014 at 05:47:02PM -0400, Brian Hutchinson wrote: > On Thu, Apr 10, 2014 at 2:00 PM, Brian Hutchinson wrote: > > > On Thu, Apr 10, 2014 at 12:56 PM, Denys Dmytriyenko wrote: > > > >> Brian, > >> > >> Be careful, with your eUSB storage device cold-plugged (available on boot) > >> yo

Re: [oe] udev auto-mount not doing fsck

2014-04-10 Thread Brian Hutchinson
On Thu, Apr 10, 2014 at 2:00 PM, Brian Hutchinson wrote: > On Thu, Apr 10, 2014 at 12:56 PM, Denys Dmytriyenko wrote: > >> Brian, >> >> Be careful, with your eUSB storage device cold-plugged (available on boot) >> you may run into a race condition, if you initially mount your rootfs in >> read-onl

Re: [oe] udev auto-mount not doing fsck

2014-04-10 Thread Brian Hutchinson
On Thu, Apr 10, 2014 at 12:56 PM, Denys Dmytriyenko wrote: > Brian, > > Be careful, with your eUSB storage device cold-plugged (available on boot) > you may run into a race condition, if you initially mount your rootfs in > read-only mode and then re-mount in read-write mode during boot. One of t

Re: [oe] udev auto-mount not doing fsck

2014-04-10 Thread Denys Dmytriyenko
On Thu, Apr 10, 2014 at 11:12:22AM -0400, Brian Hutchinson wrote: > On Thu, Apr 10, 2014 at 10:48 AM, Koen Kooi wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Brian Hutchinson schreef op 10-04-14 15:10: > > > OK an update. I decided to stub the automount.rules for the mome

Re: [oe] udev auto-mount not doing fsck

2014-04-10 Thread Brian Hutchinson
On Thu, Apr 10, 2014 at 10:48 AM, Koen Kooi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Brian Hutchinson schreef op 10-04-14 15:10: > > OK an update. I decided to stub the automount.rules for the moment to > > try and get things working the old way and I'm seeing some curious > >

Re: [oe] udev auto-mount not doing fsck

2014-04-10 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Hutchinson schreef op 10-04-14 15:10: > OK an update. I decided to stub the automount.rules for the moment to > try and get things working the old way and I'm seeing some curious > behavior. The target is running Yocto 1.5 so it is a fairly rece

Re: [oe] udev auto-mount not doing fsck

2014-04-10 Thread Brian Hutchinson
OK an update. I decided to stub the automount.rules for the moment to try and get things working the old way and I'm seeing some curious behavior. The target is running Yocto 1.5 so it is a fairly recent distro. I made an entry in /etc/fstab for my eUSB with the sixth column set to 2. On reboot f

[oe] udev auto-mount not doing fsck

2014-04-09 Thread Brian Hutchinson
Hi, I have a custom board that has a eUSB NAND attached (its a little circuit board with a header Micron e230). With the udev-extraconf package installed, udev looks like it automatically mounts my device via the automount.rules (calling mount.sh) on boot. I'd like udev to fsck this device befor