LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-04-2023, 05:09 AM   #1
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Rep: Reputation: 34
How does AUFS work when we delete a file and remount it into the union?


I'm using Porteus, which uses AUFS filesystem to mount modules into the union on the fly. I noticed that if I delete a file from the union (e.g /usr/bin/xfce4-taskmanager) it appears in /mnt/live/memory/changes/usr/bin as .wh.xfce4-taskmanager with zero byte. So far so good. However, if I try to mount a module with the same file/path, it doesn't appear in the union. Somehow the whiteout file has a higher priority in the stack. If I delete the whiteout file, then the real file (/usr/bin/xfce4-taskmanager) will automatically appear in the union. Also, if I manually copy (instead of mounting) the real file to the union, it appears normally and can be executed without any problem.

1- Is this the expected behavior?
2- Is there a way to set the whiteout files to have the lowest priority in the stack so that mounting files into the union will make them appear for the user?

Last edited by fulalas; 01-04-2023 at 06:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "make mrproper" does not work: fs/aufs/Makefile:3: fs/aufs/magic.mk No such file or directory vegetableChicken Linux - Newbie 1 04-30-2021 01:24 PM
Why does aufs not write down branches? nimajnebnima Linux - Newbie 1 09-02-2018 03:25 PM
Unable to make aufs union mounts read-write Beren Erchamion Linux - General 1 08-21-2015 03:57 AM
Adding another hdd, want to turn my /home RAID0 into JBOD. Could/should I use aufs? treewojima Linux - General 4 12-30-2010 06:34 AM
"errors=remount-ro" auto fsck, then remount-rw possible? Sepero Linux - Hardware 0 03-28-2007 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration