Zucca


Group: Members
Posts: 524
Joined: Feb. 2006 |
 |
Posted: Sep. 19 2006,10:24 |
 |
I tried to create a tmpfs partrtion over /bin using unoinfs:
Code Sample | $ sudo mkdir /tmpbin && sudo mount -t tmpfs /tmpbin -o rw,size=256M,nouser,exec /tmpbin && sudo mount -t unionfs -o dirs=/tmpbin=rw:/bin=ro unionfs /bin |
Last command gave me some errors:Quote | mount: wrong fs type, bad option, bad superblock on unionfs, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
|
And dmesg | tail showed me only two revelant lines:Quote | [4296879.137000] unionfs: hidden directory '/bin' is not a valid branch [4296879.137000] unionfs_read_super: error while parsing options (err = -22)
|
But as I do this: Code Sample | sudo mkdir /mount1 sudo mount -t tmpfs tmpfs -o rw,size=512k,nouser,exec /mount1 sudo mkdir /mount2 sudo mount -t tmpfs tmpfs -o rw,size=1024k,nouser,exec /mount2 sudo mkdir /unionmount sudo mount -t unionfs -o dirs=/mount2=rw:/mount1=ro unionfs /unionmount | It works just fine. And when doing df -h it really worked.
See where I'm going? Yes. I want to 'lock' my system even if someone installs a program to my computer it will be there only until next reboot.
I tried this with my Xubuntu Live-CD. Any help?
-------------- Do you have it? - http://dy.fi/mak
|