paulguy
Member
So, I'm trying to use an AUFS union on / so I don't end up filling the nand when I install stuff, so I created an 8 gig ext2 image on my SD card, at /media/mmcblk1p1/unionfs.img using default settings.
I then mount it on /media/union, since nothing seems to be mounted there anyway:
I then try to mount the union on /:
When I write any files, they go to NAND, though. They don't appear in /media/union, I only see lost+found there. It appears as mounted when I execute mount. It also can't be unmounted like this, though I am probably doing this wrong:
I just get "Inappropriate ioctl for device".
I've searched around for information, and couldn't find anything, so I'm wondering if I'm doing something wrong or something is just screwed up.
I then mount it on /media/union, since nothing seems to be mounted there anyway:
Code:
mount -t ext2 -o loop /media/mmcblk1p1/unionfs.img /media/union
I then try to mount the union on /:
Code:
mount -t aufs -o br=/media/union=rw:/=ro none /
When I write any files, they go to NAND, though. They don't appear in /media/union, I only see lost+found there. It appears as mounted when I execute mount. It also can't be unmounted like this, though I am probably doing this wrong:
Code:
umount.aufs /
I just get "Inappropriate ioctl for device".
I've searched around for information, and couldn't find anything, so I'm wondering if I'm doing something wrong or something is just screwed up.