Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unionfuse - how to setup fstab

Featured Replies

Hello, when I am using unionfs on RPi, in /etc/fstab I change this

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    defaults          0       2
/dev/mmcblk0p2  /               ext4    defaults,noatime  0       1

to this

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    ro                0       2
/dev/mmcblk0p2  /               ext4    ro,noatime        0       1
mount_unionfs   /home           fuse    defaults          0       0
mount_unionfs   /etc            fuse    defaults          0       0
mount_unionfs   /var            fuse    defaults          0       0
mount_unionfs   /media          fuse    defaults          0       0
none            /tmp            tmpfs   defaults          0       0

 

 

1. But on OrangePi Zero there is in fstab is just this

UUID=28c1cfce-xxxx-xxxx-xxxx-92472adc14bf / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0
/var/swap none swap sw 0 0

 

2. And in RPi I must append ro in /boot/cmdline.txt file. Where should I append it in Armbian?

 

 

How should I change it on OPi?
Many thanks

  • Author

I would like to use unionfs-fuse because my project on RPi is based on this, but now I ported to OPi and I am not able to refactor it for overlayfs.

hi peter,

you can copy the same fstab on opi, without the boot partition (remember to create the correct partitions for unionfs and copy there the current contents of etc and var).

 

why you are using unionfs for home and media?, i think that is better if your app stop to write on home and use some folder on tmp (but this is only my opinion)

 

the cmdline.txt of the opi is the /boot/boot.cmd on opi, but i'm not sure that works as the opi, the opi bootloader is different, and you have find the correct row.

 

by the way i've some trouble with the opi (i can do it on rpi) if i need to restore the the system (for example to install some other package). It is useful in development stage.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.