Lines Matching refs:volume
749 ? "The selected boot volume doesn't support disabling "
751 : "No boot volume selected!");
769 // #pragma mark - boot volume menu
1164 Directory* volume = (Directory*)item->Data();
1168 save_previous_syslog_to_volume(volume);
1178 add_boot_volume_item(Menu* menu, Directory* volume, const char* name)
1182 if (volume == sBootVolume->RootDirectory()) {
1187 if (volumeInfo->SetTo(volume, "system/packages") == B_OK)
1209 stateItem->SetData(volume);
1214 if (volume == sBootVolume->RootDirectory()) {
1228 item->SetData(volume);
1231 if (volume == sBootVolume->RootDirectory()) {
1247 Directory* volume;
1248 while (gRoot->GetNextNode(cookie, (Node**)&volume) == B_OK) {
1250 if (volume != sBootVolume->RootDirectory() && !is_bootable(volume))
1254 if (volume->GetName(name, sizeof(name)) == B_OK) {
1255 add_boot_volume_item(menu, volume, name);
1264 // no boot volume found yet
1265 menu->AddItem(item = new(nothrow) MenuItem("<No boot volume found>"));
1358 Menu* menu = new(nothrow) Menu(STANDARD_MENU, "Save syslog to volume ...");
1371 Directory* volume = static_cast<Directory*>(node);
1373 if (gRoot->GetPartitionFor(volume, &partition) != B_OK)
1383 if (volume->GetName(name, sizeof(name)) != B_OK)
1398 item->SetData(volume);
1598 // Add boot volume
1599 menu->AddItem(item = new(std::nothrow) MenuItem("Select boot volume/state",
1621 item->SetLabel("Cannot continue booting (Boot volume is not valid)");