Trying to move /usr

Derek Ragona derek at computinginnovations.com
Mon Aug 20 16:34:39 PDT 2007


At 06:28 PM 8/20/2007, Michael S wrote:
>Here's df -k output:
>
>Filesystem  1K-blocks     Used    Avail Capacity
>Mounted on
>/dev/da0s1a    507630    85046   381974    18%    /
>devfs               1        1        0   100%    /dev
>/dev/da0s1e    495726       10   456058     0%    /tmp
>/dev/da0s1f   3733038  2869704   564692    84%
>/user
>/dev/da0s1d    495726   110700   345368    24%    /var
>/dev/da1s1d  68431992 27948332 35009102    44%
>/usr/home
>/dev/da2s1d  17213408  2882922 12953414    18%    /usr
>
>When I go back to the old /usr by editing fstab:
>/dev/da0s1b             none            swap    sw
>          0       0
>/dev/da1s1b             none            swap    sw
>          0       0
>/dev/da0s1a             /               ufs     rw
>          1       1
>/dev/da0s1e             /tmp            ufs     rw
>          2       2
>/dev/da0s1f             /usr            ufs     rw
>          2       2
>/dev/da0s1d             /var            ufs     rw
>          2       2
>/dev/da1s1d             /home           ufs     rw
>          2       2
>/dev/da2s1d             /user           ufs     rw
>          2       2
>/dev/acd0               /cdrom          cd9660
>ro,noauto       0
>
>I get into my home directory with no problem.

You need to adjust not just the /usr and /user but also /usr/home entries 
in fstab.  Before you make any changes, do just a mount command and see 
where things are mounted.

         -Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the freebsd-questions mailing list