[EMAIL PROTECTED] schrieb:
> Hello Patrick,
>
> Patrick:
>   
>>  Now my question is .. do I have to adapt /etc/fstab at all? What also 
>> concerns me, is that 'mount' does not show any unionfs/aufs related 
>> stuff (I run-init'ed into the unionfs tho) .. is that normal? I am 
>> asking because common livecd's (knoppix, grml, etc.) always come up with 
>> a unionfs/aufs listed in the output of 'mount'.
>>     
>
> mount(8) shows /etc/mtab file.
> If the file didn't exist and you didn't install /sbin/mount.aufs, or you
> used -n option to you mount(8), then you need to create /etc/mtab
> manually.
>   
Err, I used -n and /etc/mtab exists. I dont get at all, what you're 
refering to. My initial question was, wether /etc/fstab needs adaption, 
since mount does not list anything unionfs related. But still it works 
fine since I run-init (switch_root - pivot_root with initrd) into the 
unified filesystems.
> I suggest you to execute this command just after mounting aufs.
>       # cp /proc/mounts /etc/mtab
> Additionally, if you use 'mount -o remount,... /your/aufs' later, it is
> recommended to install mount.aufs.
>
> Current aufs produces all branch paths to /proc/mounts.
> Therefore if you have a lot of branches, you may meet a limitation of a
> page which is usually 4k bytes. mount(8), /etc/mtab, /proc/mounts have
> this limitation.
> I will try sysfs and modify aufs entry in /proc/mounts in a few weeks.
>
>
> Junjiro Okajima
>
>   
As I said .. what I do is mount the rootfs .. then mount a new tmpfs .. 
then mount the unionfs (tmpfs overlays rootfs) .. then I run-init into 
the unified filesystems. Still mount doesnt show any unionfs/aufs 
related stuff (I tried with aufs and unionfs - same behavior). 'mount''s 
output is the same as if I wouldnt have used a unionfs at all .. (I also 
didnt change /etc/fstab, since I dont know wether it's required)... So 
what is wrong .. or to be more specific what is not wrong with it? :)


regards,
Patrick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to