* [Buildroot] Strange behavior in mount with tmpfs
@ 2011-05-02 2:12 Carlos Alberto Diaz Gonzalez O.
2011-05-02 2:34 ` Baruch Siach
0 siblings, 1 reply; 3+ messages in thread
From: Carlos Alberto Diaz Gonzalez O. @ 2011-05-02 2:12 UTC (permalink / raw)
To: buildroot
Hi Everybody,
I?m testing buildroot for a personal project and is a really good tool
thanks to all people that is doing it possible.
At this moment I?m testing in a virtual machine a filesystem built
with buildroot , but I?m observing an odd behavior when I try to mount
some tmpfs all of these are being mounted in the /tmp, although my
fstab is configured to mount in other way this filesystems
Maybe someone in this list can help me to find an answer to fix it or
a way to correct it. The version used to build my environment was the
buildroot-2011.02.
# cat /etc/fstab
# /etc/fstab: static file system information.
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/sda5 / ext3 rw,noauto 0 1
/dev/sda6 /etc ext3 rw,auto,nodev,noexec,remount 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /var/run tmpfs rw,size=128k,nodev,nosuid 0 0
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /var/log tmpfs rw,size=20m,nodev,nosuid 0 0
tmpfs /var/lock tmpfs rw,nodev,nosuid 0 0
# mount
rootfs on / type rootfs (rw)
none on /sys type sysfs (rw,nosuid,nodev,noexec)
none on /proc type proc (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw)
none on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda5 on / type ext3 (rw,errors=continue,data=ordered)
/dev/sda6 on /etc type ext3 (rw,errors=continue,data=ordered)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
Regards
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Strange behavior in mount with tmpfs
2011-05-02 2:12 [Buildroot] Strange behavior in mount with tmpfs Carlos Alberto Diaz Gonzalez O.
@ 2011-05-02 2:34 ` Baruch Siach
2011-05-02 3:02 ` Carlos Alberto Diaz Gonzalez O.
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2011-05-02 2:34 UTC (permalink / raw)
To: buildroot
Hi Carlos,
On Sun, May 01, 2011 at 09:12:03PM -0500, Carlos Alberto Diaz Gonzalez O. wrote:
> Hi Everybody,
> I?m testing buildroot for a personal project and is a really good tool
> thanks to all people that is doing it possible.
> At this moment I?m testing in a virtual machine a filesystem built
> with buildroot , but I?m observing an odd behavior when I try to mount
> some tmpfs all of these are being mounted in the /tmp, although my
> fstab is configured to mount in other way this filesystems
Are your /var/run, /var/tmp, etc, all symlink to /tmp? This should explain
what you see.
baruch
> Maybe someone in this list can help me to find an answer to fix it or
> a way to correct it. The version used to build my environment was the
> buildroot-2011.02.
>
> # cat /etc/fstab
> # /etc/fstab: static file system information.
> # <file system> <mount pt> <type> <options> <dump> <pass>
> /dev/sda5 / ext3 rw,noauto 0 1
> /dev/sda6 /etc ext3 rw,auto,nodev,noexec,remount 0 0
> proc /proc proc defaults 0 0
> devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
> sysfs /sys sysfs defaults 0 0
> tmpfs /var/run tmpfs rw,size=128k,nodev,nosuid 0 0
> tmpfs /var/tmp tmpfs defaults 0 0
> tmpfs /var/log tmpfs rw,size=20m,nodev,nosuid 0 0
> tmpfs /var/lock tmpfs rw,nodev,nosuid 0 0
>
> # mount
> rootfs on / type rootfs (rw)
> none on /sys type sysfs (rw,nosuid,nodev,noexec)
> none on /proc type proc (rw,nosuid,nodev,noexec)
> udev on /dev type tmpfs (rw)
> none on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
> fusectl on /sys/fs/fuse/connections type fusectl (rw)
> /dev/sda5 on / type ext3 (rw,errors=continue,data=ordered)
> /dev/sda6 on /etc type ext3 (rw,errors=continue,data=ordered)
> tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
> tmpfs on /tmp type tmpfs (rw)
> tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
> tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] Strange behavior in mount with tmpfs
2011-05-02 2:34 ` Baruch Siach
@ 2011-05-02 3:02 ` Carlos Alberto Diaz Gonzalez O.
0 siblings, 0 replies; 3+ messages in thread
From: Carlos Alberto Diaz Gonzalez O. @ 2011-05-02 3:02 UTC (permalink / raw)
To: buildroot
Hi Baruch
Thanks for your help, yes you have reason it was related with the system links.
Thanks
Regards
2011/5/1 Baruch Siach <baruch@tkos.co.il>:
> Hi Carlos,
>
> On Sun, May 01, 2011 at 09:12:03PM -0500, Carlos Alberto Diaz Gonzalez O. wrote:
>> Hi Everybody,
>> I?m testing buildroot for a personal project and is a really good tool
>> thanks to all people that is doing it possible.
>> At this moment I?m testing in a virtual machine a filesystem built
>> with buildroot , but I?m observing an odd behavior when I try to mount
>> some tmpfs all of these are being mounted in the /tmp, although my
>> fstab is configured to mount in other way this filesystems
>
> Are your /var/run, /var/tmp, etc, all symlink to /tmp? This should explain
> what you see.
>
> baruch
>
>> Maybe someone in this list can help me to find an answer to fix it or
>> a way to correct it. The version used to build my environment was the
>> buildroot-2011.02.
>>
>> # cat /etc/fstab
>> # /etc/fstab: static file system information.
>> # <file system> <mount pt> ? ? <type> <options> ? ? ? ? <dump> <pass>
>> /dev/sda5 ? ? ? / ? ? ? ? ? ? ?ext3 ? rw,noauto ? ? ? ? 0 ? ? ?1
>> /dev/sda6 ? ? /etc ? ? ? ? ? ext3 ? ? rw,auto,nodev,noexec,remount 0 ?0
>> proc ? ? ? ? ?/proc ? ? ? ? ?proc ? ? defaults ? ? ? ? ?0 ? ? ?0
>> devpts ? ? ? ? ? ? ? ?/dev/pts ? ? ? devpts ? defaults,gid=5,mode=620 ? 0 ? ? ?0
>> sysfs ? ? ? ? /sys ? ? ? ? ? sysfs ? ?defaults ? ? ? ? ?0 ? ? ?0
>> tmpfs /var/run ? ? ? ?tmpfs ? rw,size=128k,nodev,nosuid ?0 ? 0
>> tmpfs /var/tmp ? ? ? ?tmpfs ? defaults ? ? ? ?0 ? 0
>> tmpfs /var/log ? ? ? ?tmpfs ? rw,size=20m,nodev,nosuid ?0 ? 0
>> tmpfs /var/lock ? ? ? tmpfs ? rw,nodev,nosuid ?0 ? 0
>>
>> # mount
>> rootfs on / type rootfs (rw)
>> none on /sys type sysfs (rw,nosuid,nodev,noexec)
>> none on /proc type proc (rw,nosuid,nodev,noexec)
>> udev on /dev type tmpfs (rw)
>> none on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
>> fusectl on /sys/fs/fuse/connections type fusectl (rw)
>> /dev/sda5 on / type ext3 (rw,errors=continue,data=ordered)
>> /dev/sda6 on /etc type ext3 (rw,errors=continue,data=ordered)
>> tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
>> tmpfs on /tmp type tmpfs (rw)
>> tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
>> tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
>
> --
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~. .~ ? Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> ? - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-02 3:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-02 2:12 [Buildroot] Strange behavior in mount with tmpfs Carlos Alberto Diaz Gonzalez O.
2011-05-02 2:34 ` Baruch Siach
2011-05-02 3:02 ` Carlos Alberto Diaz Gonzalez O.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox