hey check out my crappy iso :)

Thomas Krennwallner krennwallner at aon.at
Mon May 7 23:08:08 PDT 2001


On Mon May 07, 2001 at 09:39:04PM +0000, the boisterous
Bryan Dumm <bryan at bcpub.com>
wrote to me:
> would it be like 
> mount -t ramfs ramfs /etc
> cp -a /etc /etc

no, more like
mount -t ramfs ramfs /tmp
cp -a /etc/* /tmp
umount /tmp
mount -t ramfs ramfs /etc

but I see what's the problem, I don't know but I think that ramfs is destroyed
after umounting? with ramdisks, it's somethink like this:

dd if=/dev/zero of=/dev/ramx bs=1k count=yyy
mke2fs -vm0 -i 1024 /dev/ramx yyy
mount -n -t ext2 /dev/ramx /tmp
cp -a /etc/* /tmp
umount /tmp
mount -n -t ext2 /dev/ramx /tmp

If ramfs is destroyed after umounting, then ramfs is unusable for overmounting.
But is then ramfs that what we want?

So long
Thomas

-- 
  ___
_/___\     Obviously we do not want to leave zombies around. 
 ( ^ >      - W. Richard Stevens
 /   \     
(__\/_)_

-- 
Unsubscribe: send email to alfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message





More information about the alfs-discuss mailing list