Lonnie

At 12:31 26/01/2008 -0600, Lonnie Abelbeck wrote:
>Well, the unionfs "rw" overlay to the "ro" base mount is CF based,  but 
>most any files that are written-to on a constant basis are  mounted as 
>"tmpfs" which is a RAM based filesystem.

OK. So am I right in thinking that for development, I save files to /tmp 
like there's no tomorrow since those write's are actually made in RAM, and 
only save the program to eg. /usr/local/bin once it's debugged?

In other words, if I want stuff written to /var to survive a reboot, I must 
edit /etc/fstab to remove the line for /var, copy files from /var to 
/dev/hda2 somehow, reboot, and from then on, AstLinux will use hda2 to hold 
/var?

Here's what I have after adding /dev/hda2 as UnionFS:

======
pbx ~ # mount
rootfs on / type rootfs (rw)
/dev/root on /oldroot type ext2 (rw)
/dev/hda1 on /oldroot/cdrom type vfat 
(ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime)
none on /oldroot/mnt/asturo type tmpfs (ro)
none on / type unionfs (rw,dirs=/oldroot/mnt/asturw=rw:/oldroot/mnt/asturo=ro)
none on /proc type proc (rw)
none on /dev type tmpfs (rw)
none on /var type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
pbx ~ #
======

Thanks.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to