Hi Juergen,

El lunes, 2 de junio de 2014, Juergen Borleis <[email protected]> escribió:

> Hi Guillermo,
>
> On Thursday 29 May 2014 19:28:10 Guillermo Rodriguez Garcia wrote:
> > The mini2440 BSP ships with a platform-specific /etc/fstab file
> > which does not mount a tmpfs filesystem in /run. Options that
> > expect a tmpfs in /run will not work as expected.
> >
> > This patch:
> > - adds /run as a tmpfs
> > - bind mounts /var/run to /run
> > - bind mounts /var/tmp to /tmp
> > - Adds noauto to debugfs
> >
> > Signed-off-by: Guillermo Rodriguez <[email protected]
> <javascript:;>>
>
> I tried your patch. But...
>
> > ---
> >
> > diff --git a/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab
> > b/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab
> > index 22d061a..15464f4 100644
> > --- a/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab
> > +++ b/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab
> > @@ -7,11 +7,13 @@ proc /proc proc defaults 0 0
> >  devpts /dev/pts devpts defaults 0 0
> >  none /tmp tmpfs defaults,mode=1777,uid=0,gid=0 0 0
>    ^^^^^^^^^^^^^^^ here is a tmpfs..
>
> >  none /sys sysfs defaults 0 0
> > -debugfs /sys/kernel/debug debugfs defaults 0 0
> > +debugfs /sys/kernel/debug debugfs defaults,noauto 0 0
> >  usbfs /proc/bus/usb usbfs devgid=14,devmode=0660 0 0
> >
> >  # ramdisks
> > +none /run tmpfs defaults,mode=0755,uid=0,gid=0 0 0
> > +none /tmp tmpfs defaults,mode=1777,uid=0,gid=0 0 0
>    ^^^^^^^^^^^^^^^ ...and you add another one


Oops, my bad. Sorry for that.


>
> >  none /var/log tmpfs defaults,mode=0755,uid=0,gid=0 0 0
> > -none /var/run tmpfs defaults,mode=0755,uid=0,gid=0 0 0
> >  none /var/lock tmpfs defaults,mode=0755,uid=0,gid=0 0 0
> > -none /var/tmp tmpfs defaults,mode=1777,uid=0,gid=0 0 0
> > +/run /var/run bind bind 0 0
> > +/tmp /var/tmp bind bind 0 0
>
> On the other hand I checked the generic fstab from PTXdist itself and it
> seems
> it now does the job for us. So I would prefer to remove the BSP local fstab
> entirely instead of adapting it to current needs. Your opinion?


Yes, that would be fine too.

Thank you,

Guillermo Rodriguez



-- 
Guillermo Rodriguez Garcia
[email protected]

Reply via email to