Classes and disk_config

Torsten Schlabach tschlabach at gmx.net
Tue Jun 19 15:26:09 CEST 2007


Hi!

Just a quick check:

Does a higher priority class' file in disk_config *replace* a lower 
priority one or is there some kind of interitance, so the two will get 
blended?

To illustrate my question:

Assume I have a machine which has two classes, i.e.:

     mymachine)
         echo "FAIBASE LOCALBASE" ;;

I have two files in config/disk_config:

FAIBASE:

disk_config disk1
primary  /             150-300      rw,errors=remount-ro ; -c -j ext3
logical  swap          40-500      rw
logical  /var          90-1000     rw                   ; -m 5  -j ext3
logical  /tmp          50-1000     rw                   ; -m 0 -j ext3
logical  /usr          200-4000    rw                   ; -j ext3
logical  /home         50-         rw,nosuid            ; -m 1 -j ext3


LOCALBASE:

disk_config disk1
primary  /             150-300      rw,errors=remount-ro ; -c -j ext3
logical  swap          40-500      rw
logical  /home         50-         rw,nosuid            ; -m 1 -j ext3

Will this have the desired result, i.e. set up the machine with only /, 
swap and /home or might this lead to some combination of the two files?

Regards,
Torsten



More information about the linux-fai mailing list