AUFS and BLK_DEV_LOOP

Moderator: Forum moderators

Post Reply
Dry Falls
Posts: 80
Joined: Thu Jul 29, 2021 7:40 pm
Has thanked: 22 times
Been thanked: 43 times

AUFS and BLK_DEV_LOOP

Post by Dry Falls »

@ozsouth
Hi. I had used your DOTconfig from k6.1.38 to build k6.1.42 with the exception of:

Code: Select all

CONFIG_AUFS_FS=y
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
# CONFIG_AUFS_HNOTIFY is not set
# CONFIG_AUFS_EXPORT is not set
# CONFIG_AUFS_XATTR is not set
CONFIG_AUFS_FHSM=y
# CONFIG_AUFS_RDU is not set
# CONFIG_AUFS_DIRREN is not set
CONFIG_AUFS_SHWH=y
# CONFIG_AUFS_BR_RAMFS is not set
CONFIG_AUFS_BR_FUSE=y
CONFIG_AUFS_POLL=y
CONFIG_AUFS_BR_HFSPLUS=y
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set

as suggested in the aufs documentation.
Just built k6.1.58 with the additional change in

Code: Select all

CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=42
...
CONFIG_BLK_DEV_RAM_COUNT=42

and now the init script loads all the sfs modules I would want just like it used to.
This may not be the approved way of doing things, but it works.

df

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: AUFS and BLK_DEV_LOOP

Post by ozsouth »

@Dry Falls - excellent. DOTconfigs are not easy to understand, but with enough research we can customise effectively.

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2627 times
Contact:

Re: AUFS and BLK_DEV_LOOP

Post by rockedge »

@Dry Falls Good stuff!

I will also try out some of these adjustments to the DOTconfig with another compile of a full real time version of 6.1.38-rt13 and to get AUFS better integrated in 6.5.2-rt8 and further newer kernel versions patched for both AUFS and full real time.

porteux
Posts: 12
Joined: Tue Apr 04, 2023 9:55 pm
Been thanked: 6 times

Re: AUFS and BLK_DEV_LOOP

Post by porteux »

@Dry Falls, do you mind pointing out where exactly you found this aufs documentation?

Thanks!

Dry Falls
Posts: 80
Joined: Thu Jul 29, 2021 7:40 pm
Has thanked: 22 times
Been thanked: 43 times

Re: AUFS and BLK_DEV_LOOP

Post by Dry Falls »

Hi porteux. Yes, when building the kernel, the kit downloads aufs<version number> directory and aufs-utils. The first has a documentation folder with Readme. The more general information with configuration options is in the aufs-utils Readme. Everything else is in the manpage which should be included in your kernel-modules/zdrive sfs.

Sorry I didn't see your post sooner.
df

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2627 times
Contact:

Re: AUFS and BLK_DEV_LOOP

Post by rockedge »

@porteux I have the documentation for AUFS 6.6 ready as a compressed file!

Attachments
aufs_Documentation.tar.xz
decompress to use
(23.9 KiB) Downloaded 18 times
porteux
Posts: 12
Joined: Tue Apr 04, 2023 9:55 pm
Been thanked: 6 times

Re: AUFS and BLK_DEV_LOOP

Post by porteux »

Thanks a lot, guys! :)

Post Reply

Return to “Kernels”