[Peeweelinux] possible (tiny) problem with peewee script ?

[email protected] [email protected]
Tue, 10 Sep 2002 13:35:04 +1000


Hi all,

just wondering if someone could confirm something for me.

I have modified (butchered is probably the correct term) some of Adis'
peewee scripts to create some extra load options so that peewee
creates/populates some partitions etc. that are specific to a project I am
working on.

in the <peewee_path>/Embedded_Build/scripts directory there is a
pwl_target_functions script that contains a function called
func_rd_fstab_ro_root_rd
which creates the /etc/fstab entry for the project option that allows you
to create a ro root partition with multiple ramdisks.

now in the original pwl_target_functions that ships with peewee, the line
marked with a <<------- below reads:
${rd_boot}2       /            ext2    defaults,ro

I think it should read as below. The root partition is definitely the first
partition. Anyone else come across this ?

######################################################################
#
# func_rd_fstab_ro_root_rd
#
# This function creates the fstab file for the read-only root target
# layout. It contains multiple partitions.
#

func_rd_fstab_ro_root_rd () {
    cat <<-EOF
        ${rd_boot}1       /            ext2    defaults,ro        <<-------
        /dev/ram2       /dev         ext2    defaults
        /dev/ram3       /etc         ext2    defaults
        /dev/ram4       /home        ext2    defaults
        none            /proc        proc    defaults
EOF
}

It's no big deal, just took me 1/2 hour to work out what was going on when
mount reported / being mounted on /dev/hdc2 and /dev/hdc2/ only having
a/home filesystem :)

anyway, hope this stops someone else from doubting their sanity :)
Happy PeeWeeing.


Delaney.



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[email protected]

**********************************************************************