HardDisksManagement

From T2B Wiki
Revision as of 16:41, 19 October 2015 by STEPHANE GERARD stgerard@vub.ac.be (talk | contribs) (Created page with "= Specifying the disk that will used to boot the machine = The path is : <pre> /hardware/harddisks/<harddisk_name>/boot </pre> It is a boolean that is used to define the value...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Specifying the disk that will used to boot the machine

The path is :

/hardware/harddisks/<harddisk_name>/boot

It is a boolean that is used to define the value of DISK_BOOT_DEV. Have a look at the code of the template site/filesystems/layout :

...
variable DISK_BOOT_DEV ?= boot_disk();
variable DISK_BOOT_DEV ?= {
  if (exists('/hardware/harddisks/sda')) {
    return('sda');
...