Disk mounting is given priority unless a partition in /etc/fstab is specifically marked as something to not mount, via the 'noauto' option. If a partition can't mount, that's considered a sufficient reason to stop the boot process.
It is, however, perfectly fine -- even reccomended -- to check that key files are in the correct places inside an init script. It doesn't need to be elaborate.
Code:
if [ ! -f /path/to/configfile ]
then
echo "configfile missing" >&2
exit 1
fi
Trying to mount a drive which has been dropped after corruption.
What is the quickets and esiest command to run and which switches? cheers
olly (1 Reply)
Hello, people. I am pretty new to linux, but I heard it was supposed to be good. So I installed it on an ancient 33mhz 486 with 27mbs of RAM. Ran into problems, patched them, and am here now.
I am trying to figure out how to use my floppy and CD-ROM drives. I click their respective icons on the... (2 Replies)
I have an old amiga IDE drive that I wish to read. Its formated in FFS and I understand I can mount this under linux as an AFS filesystem.
The drive is already installed in the PC. Can anyone explain in newbie terms the steps t mounting and reading this drive?
Thanks (1 Reply)
Hi All,
I'm a relative rookie when it comes to the world of Unix and Windows networking, and hoping you can help me out! My predicament:
I have a Windows machine running VMWare with an instance of Solaris 10.
I have a Windows XP Pro "server" with a large hard drive that I need Solaris to... (7 Replies)
hi, first of all, i would really like to know how to find out where my usb is in the system. if i "cd to /dev/usb i have a hub0 to hub4 and hid0 -- hid5 .. how do i know where my usb is?
and i guess once i find out which one my usb is at, i can do something like "mount /dev/usb/xxx /tmp" ... (5 Replies)
Sun 280R, Solaris 5.8....
I have inserted a 2nd hard drive on my system. 'format' recognized the disk, but I cannot figure out how to access the disk. Any help is appreciated! (3 Replies)
Sorry I posted it in wrong forum first.
OK, I'm new to Unix (but an IT since DOS 6.2 era) Long story short I'm trying to help a friend who has failing Unix system which is perhaps 16 years old with SCO Openserver 3.4v4.2 with DDS90 Tape where they backup their data. I've setup a Dell Precision... (9 Replies)
Discussion started by: shunail
9 Replies
LEARN ABOUT CENTOS
systemd-efi-boot-generator
SYSTEMD-EFI-BOOT-GENERATOR(8) systemd-efi-boot-generator SYSTEMD-EFI-BOOT-GENERATOR(8)NAME
systemd-efi-boot-generator - Generator for automatically mounting the EFI System Partition used by the current boot to /boot
SYNOPSIS
/usr/lib/systemd/system-generators/systemd-efi-boot-generator
DESCRIPTION
systemd-efi-boot-generator is a generator that automatically creates mount and automount units for the EFI System Partition (ESP), mounting
it to /boot. Note that this generator will execute no operation on non-EFI systems, on systems where the boot loader does not communicate
the used ESP to the OS, on systems where /boot is an explicitly configured mount (for example, listed in fstab(5)) or where the /boot mount
point is non-empty. Since this generator creates an automount unit, the mount will only be activated on-demand, when accessed.
systemd-efi-boot-generator implements the generator specification[1].
SEE ALSO systemd(1), systemd.mount(5), systemd.automount(5), systemd-gpt-auto-generator(8), gummiboot(8), fstab(5)NOTES
1. generator specification
http://www.freedesktop.org/wiki/Software/systemd/Generators
systemd 208SYSTEMD-EFI-BOOT-GENERATOR(8)