Re: Best way to copy /usr to different partition?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 7, 2007 11:48 AM, Rick Stevens <rstevens@xxxxxxxxxxxx> wrote:
>
> On Fri, 2007-12-07 at 11:12 -0800, Daniel B. Thurman wrote:
> > Daniel B. Thurman wrote:
> >
> > >Sent: Thursday, December 06, 2007 7:31 PM
> > >To: Fedora-List (E-mail)
> > >Subject: Best way to copy /usr to different partition?
> > >
> > >I was getting dangerously close to running out of disk space
> > >since /usr was filling up fast.

> > It seems to me, that the only files I need to worry about are the above
> > libsysfs.so.1/2 needs to be relabeled and I am not sure what to do about
> > the /etc/resolv.conf file.
>
> The hard links to /etc/resolv.conf are typically somewhere in
> /etc/sysconfig/networking/profiles
>
> You can "ls -i /etc/resolv.conf" to get the inode of resolv.conf.
> Then "find /etc/sysconfig/networking -inum inode" to find the other
> hard links.  Example on my laptop:
>
> [root@golem3 ~]# ls -l /etc/resolv.conf
> -rw-r--r-- 2 root root 75 2007-11-26 08:57 /etc/resolv.conf
> [root@golem3 ~]# ls -i /etc/resolv.conf
> 8389128 /etc/resolv.conf
> [root@golem3 ~]# find /etc/sysconfig/networking/profiles -inum 8389128
> /etc/sysconfig/networking/profiles/Office/resolv.conf
>
> You can delete the entry in the networking tree (in this case,
> /etc/sysconfig/networking/profiles/Office/resolv.conf), restorecon
> /etc/resolv.conf, then recreate the hard link.
>
> ----------------------------------------------------------------------
> - Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
> - CDN Systems, Internap, Inc.                http://www.internap.com -
> -                                                                    -
> -                 IGNORE that man behind the keyboard!               -
> -                                                - The Wizard of OS  -
> ----------------------------------------------------------------------
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Hi Rick Stevens and All!

For those like me whose "Education Continues" I note the following link:

http://linuxgazette.net/105/pitcher.html

One of the reasons I love this list is the practical education it facilitates!

Thanks!

Tod


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux