News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

SeparateUsr

From FrugalWiki

Jump to: navigation, search

If you want to separate the /usr directory, it won't be easy. There are some dependencies in /usr before rc.mount can mount other partitions. Therefore you have to copy some files and directories to the /usr dir in the root filesystem before mounting the filesystem there. Here is the list of the needed files and directories:

usr/:
drwxr-xr-x    2 root     root         4.0k Aug 23 20:45 bin
drwxr-xr-x    2 root     root         4.0k Aug 23 18:34 lib
drwxr-xr-x    7 root     root         4.0k Aug 23 20:52 share

usr/bin:
-rwxr-xr-x    1 root     root         4.5k Aug 23 18:23 chvt
-rwxr-xr-x    1 root     root         5.1k Aug 23 18:23 deallocvt
-rwxr-xr-x    1 root     root        53.0k Aug 23 18:23 dumpkeys
-rwxr-xr-x    1 root     root         5.1k Aug 23 18:23 fgconsole
-rwxr-xr-x    1 root     root       137.7k Aug  2 01:06 find
-rwxr-xr-x    1 root     root         5.8k Aug 23 18:23 kbd_mode
-rwxr-xr-x    1 root     root         5.9k Aug 23 18:23 kbdrate
-rwxr-xr-x    1 root     root        77.2k Aug 23 18:23 loadkeys
-rwxr-xr-x    1 root     root        18.1k Aug 23 18:23 loadunimap
-rwxr-xr-x    1 root     root        16.1k Aug 23 18:23 mapscrn
-rwxr-xr-x    1 root     root         9.9k Aug 23 18:23 openvt
-rwxr-xr-x    1 root     root        12.9k Aug 23 18:23 psfaddtable
-rwxr-xr-x    1 root     root        12.9k Aug 23 18:23 psfgettable
-rwxr-xr-x    1 root     root        12.9k Aug 23 18:23 psfstriptable
-rwxr-xr-x    1 root     root        12.9k Aug 23 18:23 psfxtable
-rwxr-xr-x    1 root     root        96.1k Aug 23 20:45 sed
-rwxr-xr-x    1 root     root        31.0k Aug 23 18:23 setfont
-rwxr-xr-x    1 root     root         6.3k Aug 23 18:23 setleds
-rwxr-xr-x    1 root     root         4.4k Aug 23 18:23 setmetamode
-rwxr-xr-x    1 root     root        10.5k Aug 23 18:23 showconsolefont
-rwxr-xr-x    1 root     root         7.6k Aug 23 18:23 showkey
-rwxr-xr-x    1 root     root         9.3k Aug 23 20:45 tput
-rwxr-xr-x    1 root     root         9.3k Aug 23 20:45 tputw
-rwxr-xr-x    1 root     root         2.5k Aug 23 18:23 unicode_start
-rwxr-xr-x    1 root     root          363 Aug 23 18:23 unicode_stop

usr/lib:
-rwxr-xr-x    1 root     root          777 Jul 21 21:57 libpcre.la
lrwxrwxrwx    1 root     root           16 Aug 23 18:16 libpcre.so -> libpcre.so.0.0.1
lrwxrwxrwx    1 root     root           16 Aug 23 18:16 libpcre.so.0 -> libpcre.so.0.0.1
-rwxr-xr-x    1 root     root       158.7k Jul 21 21:58 libpcre.so.0.0.1
-rw-r--r--    1 root     root       277.9k Jul 21 21:23 libreadline.a
lrwxrwxrwx    1 root     root           16 Aug 23 18:34 libreadline.so -> libreadline.so.5
lrwxrwxrwx    1 root     root           18 Aug 23 18:34 libreadline.so.5 -> libreadline.so.5.2
-rwxr-xr-x    1 root     root       230.8k Jul 21 21:23 libreadline.so.5.2

usr/share:
drwxr-xr-x    3 root     root         8.0k Aug  2 01:32 consolefonts
drwxr-xr-x    2 root     root         4.0k Aug  2 01:32 consoletrans
drwxr-xr-x    8 root     root         4.0k Aug  2 01:32 keymaps
drwxr-xr-x   44 root     root         4.0k Jul 21 21:11 terminfo
drwxr-xr-x    2 root     root         4.0k Aug  2 01:32 unimaps
Personal tools
Namespaces
Variants
Actions