All of lore.kernel.org
 help / color / mirror / Atom feed
* aufs missing in kernel 4.4
@ 2016-03-31 10:07 Hongxu Jia
  2016-03-31 10:31 ` Hongxu Jia
  0 siblings, 1 reply; 3+ messages in thread
From: Hongxu Jia @ 2016-03-31 10:07 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: openembedded-core@lists.openembedded.org

Hi Bruce,

In kernel 4.1, it supports aufs:
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.1/tree/fs/aufs?h=standard/base

But it does not exist in kernel 4.4:
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.4/tree/fs?h=standard/base

It caused ISO's rootfs is readonly.

In meta/recipes-core/initrdscripts/files/init-live.sh:
-----------------
174     elif grep -q -w "aufs" /proc/filesystems; then
175         union_fs_type="aufs"
[snip]
204         "aufs")
205             mkdir -p /rootfs.ro /rootfs.rw
206             if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
207                 rm -rf /rootfs.ro /rootfs.rw
208                 fatal "Could not move rootfs mount point"
209             else
210                 mount -t tmpfs -o rw,noatime,mode=755 tmpfs /rootfs.rw
211                 mount -t aufs -o "dirs=/rootfs.rw=rw:/rootfs.ro=ro" 
aufs $ROOT_MOUNT
212                 mkdir -p $ROOT_MOUNT/rootfs.ro $ROOT_MOUNT/rootfs.rw
213                 mount --move /rootfs.ro $ROOT_MOUNT/rootfs.ro
214                 mount --move /rootfs.rw $ROOT_MOUNT/rootfs.rw
215             fi
216             ;;
-----------------

Would you please update kernel 4.4 to support aufs?

//Hongxu



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aufs missing in kernel 4.4
  2016-03-31 10:07 aufs missing in kernel 4.4 Hongxu Jia
@ 2016-03-31 10:31 ` Hongxu Jia
  2016-03-31 12:06   ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Hongxu Jia @ 2016-03-31 10:31 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: openembedded-core@lists.openembedded.org

On 03/31/2016 06:07 PM, Hongxu Jia wrote:
> Hi Bruce,
>
> In kernel 4.1, it supports aufs:
> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.1/tree/fs/aufs?h=standard/base 
>
>
> But it does not exist in kernel 4.4:
> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.4/tree/fs?h=standard/base 
>
>
> It caused ISO's rootfs is readonly.
>
> In meta/recipes-core/initrdscripts/files/init-live.sh:
> -----------------
> 174     elif grep -q -w "aufs" /proc/filesystems; then
> 175         union_fs_type="aufs"
> [snip]
> 204         "aufs")
> 205             mkdir -p /rootfs.ro /rootfs.rw
> 206             if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
> 207                 rm -rf /rootfs.ro /rootfs.rw
> 208                 fatal "Could not move rootfs mount point"
> 209             else
> 210                 mount -t tmpfs -o rw,noatime,mode=755 tmpfs 
> /rootfs.rw
> 211                 mount -t aufs -o 
> "dirs=/rootfs.rw=rw:/rootfs.ro=ro" aufs $ROOT_MOUNT
> 212                 mkdir -p $ROOT_MOUNT/rootfs.ro $ROOT_MOUNT/rootfs.rw
> 213                 mount --move /rootfs.ro $ROOT_MOUNT/rootfs.ro
> 214                 mount --move /rootfs.rw $ROOT_MOUNT/rootfs.rw
> 215             fi
> 216             ;;
> -----------------
>
> Would you please update kernel 4.4 to support aufs?

Or with Robert's patch in mailing list also could fix this issue.

[OE-core] [PATCH 1/1] linux-yocto 4.4: enable overlayfs

//Hongxu

>
> //Hongxu
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aufs missing in kernel 4.4
  2016-03-31 10:31 ` Hongxu Jia
@ 2016-03-31 12:06   ` Bruce Ashfield
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2016-03-31 12:06 UTC (permalink / raw)
  To: Hongxu Jia; +Cc: openembedded-core@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 2120 bytes --]

On Thu, Mar 31, 2016 at 6:31 AM, Hongxu Jia <hongxu.jia@windriver.com>
wrote:

> On 03/31/2016 06:07 PM, Hongxu Jia wrote:
>
>> Hi Bruce,
>>
>> In kernel 4.1, it supports aufs:
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.1/tree/fs/aufs?h=standard/base
>>
>> But it does not exist in kernel 4.4:
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.4/tree/fs?h=standard/base
>>
>> It caused ISO's rootfs is readonly.
>>
>> In meta/recipes-core/initrdscripts/files/init-live.sh:
>> -----------------
>> 174     elif grep -q -w "aufs" /proc/filesystems; then
>> 175         union_fs_type="aufs"
>> [snip]
>> 204         "aufs")
>> 205             mkdir -p /rootfs.ro /rootfs.rw
>> 206             if ! mount -n --move $ROOT_MOUNT /rootfs.ro; then
>> 207                 rm -rf /rootfs.ro /rootfs.rw
>> 208                 fatal "Could not move rootfs mount point"
>> 209             else
>> 210                 mount -t tmpfs -o rw,noatime,mode=755 tmpfs /
>> rootfs.rw
>> 211                 mount -t aufs -o "dirs=/rootfs.rw=rw:/rootfs.ro=ro"
>> aufs $ROOT_MOUNT
>> 212                 mkdir -p $ROOT_MOUNT/rootfs.ro $ROOT_MOUNT/rootfs.rw
>> 213                 mount --move /rootfs.ro $ROOT_MOUNT/rootfs.ro
>> 214                 mount --move /rootfs.rw $ROOT_MOUNT/rootfs.rw
>> 215             fi
>> 216             ;;
>> -----------------
>>
>> Would you please update kernel 4.4 to support aufs?
>>
>
> Or with Robert's patch in mailing list also could fix this issue.
>
> [OE-core] [PATCH 1/1] linux-yocto 4.4: enable overlayfs


If you read that very same thread ... aufs is already planned and queued.
There were
issues upstream that have now been sorted out.

Cheers,

Bruce


>
>
> //Hongxu
>
>
>
>> //Hongxu
>>
>>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

[-- Attachment #2: Type: text/html, Size: 4642 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-31 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 10:07 aufs missing in kernel 4.4 Hongxu Jia
2016-03-31 10:31 ` Hongxu Jia
2016-03-31 12:06   ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.