You are not logged in.

#1 2012-07-21 19:48:00

quayasil
Member
Registered: 2008-11-09
Posts: 116

/lib symlinks /usr/lib. Doeas it mean /usr HAS to be mounted??

For traditional Unix systems (FHS-compliant) it is (was?) completely safe to unmount (or even delete) the `/usr' filesystem. There are (were?) no files critical to the system "itself" - only applications, daemons, desktop data etc.

Since now under Arch `/lib' symlinks `/usr/lib'. But `/lib/modules/<kernel>' stores kernel modules - even those that are critical; `/lib' also stores libraries critical to binaries in `/bin' ans `/sbin'! Does it mean that since now inaccessible `/usr' may result in a non-booting system???

Last edited by quayasil (2012-07-21 20:05:28)

Offline

#2 2012-07-21 20:45:07

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: /lib symlinks /usr/lib. Doeas it mean /usr HAS to be mounted??

You have to add the 'usr' hook to /etc/mkinitcpio.conf, so that /usr is accessible.  Good thing they didn't do this out of order!


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2012-07-21 20:46:57

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: /lib symlinks /usr/lib. Doeas it mean /usr HAS to be mounted??

Offline

#4 2012-07-21 20:50:03

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: /lib symlinks /usr/lib. Doeas it mean /usr HAS to be mounted??

quayasil wrote:

Does it mean that since now inaccessible `/usr' may result in a non-booting system???

Arch uses an initramfs, so all necessary tools for rescue operatiosn should be included there. As long as /boot is working, you'll be able to boot in an initramfs-console.

critical to the system "itself"

Well, what do you define as critical? Text-console and writing files? Mounting? Networking?

Last edited by progandy (2012-07-21 20:53:24)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2012-07-21 21:12:02

quayasil
Member
Registered: 2008-11-09
Posts: 116

Re: /lib symlinks /usr/lib. Doeas it mean /usr HAS to be mounted??

critical to the system "itself"

Well, what do you define as critical? Text-console and writing files? Mounting? Networking?

Enter the multiuser runlevel (default, or 3), execute runlevel startup scripts,  initialize any shell (sh, csh or any derived ones), be able to run fundamental API-wrapper commands (u-/mount, init, cd, ls, ...)

Offline

Board footer

Powered by FluxBB