Technical article 104870

How can I get a secondary filesystem to mount at boot time?

OpenServer 5.0.0OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

I want to be able to mount a secondary filesystem (such as /u) at boot, so I can have access to the content in single-user mode. I've tried using the "At System Startup" option in the File System Manager, but it doesn't mount the filesystem until I go into multiuser mode.

Solution

While logged in as root, create the file rc0filesys in the
/etc/default directory.  In the file, specify the device of
the filesystem that you would like to have mounted. As an
example, for a single file system to mount, the entry would
look like this:
/dev/u

For multiple filesystems, specify each on its own line:

/dev/u
/dev/home

During the next system boot, the filesystem will be automatically mounted and available upon entry into single-user mode.

From the Xinuos technical article database, record 104870. Reproduced with permission. The original is at www.sco.com/ta/104870, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.