Re: what is the root filesystem mounted as??

2011-12-20 Thread James Cameron
On Tue, Dec 20, 2011 at 02:34:33AM -0600, Jerry Vonau wrote:
> On Tue, 2011-12-20 at 19:09 +1100, James Cameron wrote:
> > Editing /etc/fstab on a laptop and comparing dmesg between boots shows
> > no change to how the ext4 filesystem is mounted.
> > 
> 
> As in it's mounted ext4 and not ext3? I didn't check the logs..

Yes, dmesg showed me it is mounted ext4 anyway.  I don't trust
/etc/mtab.

> > I suggest that /etc/mtab is created from /etc/fstab, and the root
> > filesystem was mounted by initrd before /etc/fstab is available, and
> > that /etc/fstab is ineffective.
> > 
> 
> I thought dracut would need to regenerate the initrd to pickup the new
> fstab settings before this would take effect. I've generated an image
> with the fix suggested in 11558 and the resulting image displays ext4
> when viewing mount's output. Is this a bug in mount? 

If you mean mount with no arguments, all this does is to read /etc/mtab,
and /etc/mtab is maintained by mount.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: what is the root filesystem mounted as??

2011-12-20 Thread Jerry Vonau
On Tue, 2011-12-20 at 19:09 +1100, James Cameron wrote:
> Editing /etc/fstab on a laptop and comparing dmesg between boots shows
> no change to how the ext4 filesystem is mounted.
> 

As in it's mounted ext4 and not ext3? I didn't check the logs..

> I suggest that /etc/mtab is created from /etc/fstab, and the root
> filesystem was mounted by initrd before /etc/fstab is available, and
> that /etc/fstab is ineffective.
> 

I thought dracut would need to regenerate the initrd to pickup the new
fstab settings before this would take effect. I've generated an image
with the fix suggested in 11558 and the resulting image displays ext4
when viewing mount's output. Is this a bug in mount? 

Jerry

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: what is the root filesystem mounted as??

2011-12-20 Thread James Cameron
Editing /etc/fstab on a laptop and comparing dmesg between boots shows
no change to how the ext4 filesystem is mounted.

I suggest that /etc/mtab is created from /etc/fstab, and the root
filesystem was mounted by initrd before /etc/fstab is available, and
that /etc/fstab is ineffective.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: what is the root filesystem mounted as??

2011-12-19 Thread Jerry Vonau
On Mon, 2011-12-19 at 23:32 -0600, Jerry Vonau wrote:
> On Mon, 2011-12-19 at 21:07 -0800, Hal Murray wrote:
> > On a XO-1, c2, running os883, Sugar 0.94.1
> > 
> > [murray@xo-0d-57-33 ~]$ more /etc/mtab
> > /dev/root / ext3 rw,noatime 0 0
> 
> Thank you, just as I suspected, mounted as ext3. The release notes for
> 11.2, http://wiki.laptop.org/go/Release_notes/11.2.0 states the
> filesystem should be using ext4 and 11.3 should be the same. Off to file
> a bug.
> 

Filed as http://dev.laptop.org/ticket/11558

Jerry

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: what is the root filesystem mounted as??

2011-12-19 Thread Jerry Vonau
On Mon, 2011-12-19 at 21:07 -0800, Hal Murray wrote:
> On a XO-1, c2, running os883, Sugar 0.94.1
> 
> [murray@xo-0d-57-33 ~]$ more /etc/mtab
> /dev/root / ext3 rw,noatime 0 0

Thank you, just as I suspected, mounted as ext3. The release notes for
11.2, http://wiki.laptop.org/go/Release_notes/11.2.0 states the
filesystem should be using ext4 and 11.3 should be the same. Off to file
a bug.

Jerry

 


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: what is the root filesystem mounted as??

2011-12-19 Thread Hal Murray
On a XO-1, c2, running os883, Sugar 0.94.1

[murray@xo-0d-57-33 ~]$ more /etc/mtab
/dev/root / ext3 rw,noatime 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw,size=50m 0 0
/tmp /tmp tmpfs rw,size=50m 0 0
vartmp /var/tmp tmpfs rw,size=50m 0 0
varlog /var/log tmpfs rw,size=20m 0 0
none /ofw promfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
gvfs-fuse-daemon /home/olpc/.gvfs fuse.gvfs-fuse-daemon 
rw,nosuid,nodev,user=olpc 0 0
/dev/mmcblk0p1 /media/Kingston vfat rw,nosuid,nodev,uhelper=udisks,uid=500,gid
=500,sh
ortname=mixed,dmask=0077,utf8=1,showexec,flush 0 0
[murray@xo-0d-57-33 ~]$ 

[murray@xo-0d-57-33 ~]$ df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/root  1048576748948299628  72% /
tmpfs   115728 0115728   0% /dev/shm
/tmp 5120016 51184   1% /tmp
vartmp   51200 8 51192   1% /var/tmp
varlog   20480   120 20360   1% /var/log
/dev/mmcblk0p1 8001536731840   7269696  10% /media/Kingston
[murray@xo-0d-57-33 ~]$ 


-- 
These are my opinions, not necessarily my employer's.  I hate spam.



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: what is the root filesystem mounted as??

2011-12-19 Thread Jerry Vonau
On Tue, 2011-12-20 at 15:52 +1100, fors...@ozonline.com.au wrote:
> closest i have installed is os880
> 

All images os874 or greater should be the same.

Jerry


> 
> > Hi All,
> > 
> > While testing the latest images for OLPC-AU, we've discovered that the
> > root filesystem is being mounted as ext3. I'm wounder if someone with
> > os883 installed could check what / is mounted as, without me having to
> > install the image. 
> > 
> > Thanks in advance,
> > 
> > Jerry  
> > 
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> > 
> > _
> > This mail has been virus scanned by Australia On Line
> > see http://www.australiaonline.net.au/mailscanning
> 


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


what is the root filesystem mounted as??

2011-12-19 Thread Jerry Vonau
Hi All,

While testing the latest images for OLPC-AU, we've discovered that the
root filesystem is being mounted as ext3. I'm wounder if someone with
os883 installed could check what / is mounted as, without me having to
install the image. 

Thanks in advance,

Jerry  

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel