Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: unionfs help corner, Let's talk about it a bit.< Next Oldest | Next Newest >
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Sep. 19 2006,10:24 QUOTE

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
Back to top
Profile PM WEB ICQ MSN 
5 replies since Sep. 05 2006,07:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: unionfs help corner

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code