Re: clearing space

2005-01-07 Thread Marty Landman
At 01:08 PM 1/7/2005, Robert Huff wrote: Did you somehow install nmap under root, or use it as the root build directory? And if so, was that intentional? Dunno, dunno, and obviously unintentional since I don't know anything about it. As much as I hate to plead ignorance in this case anyth

Moving *directories*, like sbin, root, of / to /usr (was Re: clearing space)

2005-01-07 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Marty Landman thusly... > > Let's say I want to > > mv /sbin /usr/sbin > mv /root /usr/root > > How problematic can this become? You should know there already is one /usr/sbin ... which will be late if you had already mv(1)'d as root w/o -i option. You shou

Re: clearing space

2005-01-07 Thread Robert Huff
Marty Landman writes: > Ok, I've cleared half the space by rm -r /root/.cpan. yay! > # du -x / | sort -rn | head -15 > 60093 / > 15052 /root > 13750 /root/nmap-3.50 Did you somehow install nmap under root, or use it as the root build directory? And if so, was that

Re: clearing space

2005-01-07 Thread Marty Landman
At 12:20 PM 1/7/2005, Peter Risdon wrote: > > >No - you ought to be able to su to root still. Live and learn. That worked, guess I can read up on su myself to understand the difference. One thing that does occur to me: what is your user's shell and, if it isn't bash, do you have bash installed? A

Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 11:59 -0500, Marty Landman wrote: > At 11:32 AM 1/7/2005, Peter Risdon wrote: > >On Fri, 2005-01-07 at 10:41 -0500, Marty Landman wrote: > > > > > > > > This has become a problem. Took a working keyboard from another box and it > > > won't work. Unless by some weird chance I s

Re: clearing space

2005-01-07 Thread Marty Landman
At 11:32 AM 1/7/2005, Peter Risdon wrote: On Fri, 2005-01-07 at 10:41 -0500, Marty Landman wrote: > > This has become a problem. Took a working keyboard from another box and it > won't work. Unless by some weird chance I should reboot first. > This happens, but don't just reboot. Peter, are you say

Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 10:41 -0500, Marty Landman wrote: > At 10:15 AM 1/7/2005, Peter Risdon wrote: > > >Boot into single user mode. Scratch that. > > This has become a problem. Took a working keyboard from another box and it > won't work. Unless by some weird chance I should reboot first. >

Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 07:39 -0800, Tabor Kelly wrote: > Peter Risdon wrote: > > > > >>>#mv /sbin /usr/sbin > >>>#ln -s /usr/sbin /sbin [...] > > > I was in reference to the /sbin moving to /usr/sbin. > Yes, that's a very good point, which I'd missed completely. /sbin/mount Peter. __

Re: clearing space

2005-01-07 Thread Marty Landman
At 10:15 AM 1/7/2005, Peter Risdon wrote: Boot into single user mode. This has become a problem. Took a working keyboard from another box and it won't work. Unless by some weird chance I should reboot first. But shouldn't the keyboard, if the ps2 port is working properly, at least have numlock a

Re: clearing space

2005-01-07 Thread Tabor Kelly
Peter Risdon wrote: #mv /sbin /usr/sbin #ln -s /usr/sbin /sbin I have a system I need to hose this weekend anyway, so checked first. I moved the /root directory to /usr/root, then exited from su - and su still worked. Then I rebooted into single user mode and got a shell. So it seemed fine,

Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 09:48 -0500, Marty Landman wrote: > At 09:30 AM 1/7/2005, Peter Risdon wrote: > > > > > > # mv /sbin /usr/sbin > > > # ln -s /usr/sbin /sbin > > > # mv /root /usr/root > > > # ls -s /usr/root /root > > > >Typo here: ls instead of ln - that's why there's no link. > > Oh man, c

Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 06:39 -0800, Tabor Kelly wrote: > Peter Risdon wrote: > > How about: > > > > #mv /sbin /usr/sbin > > #ln -s /usr/sbin /sbin > > #mv /root /usr/root > > #ln -s /usr/root /root > > Isn't this a bad idea if you ever have to boot to single user mode and > only have / mounted? >

Re: clearing space

2005-01-07 Thread Marty Landman
At 09:30 AM 1/7/2005, Peter Risdon wrote: > > # mv /sbin /usr/sbin > # ln -s /usr/sbin /sbin > # mv /root /usr/root > # ls -s /usr/root /root Typo here: ls instead of ln - that's why there's no link. Oh man, could I be any stupider? Do you have physical access to the machine? Yep, haven't used the

Re: clearing space

2005-01-07 Thread Tabor Kelly
Peter Risdon wrote: How about: #mv /sbin /usr/sbin #ln -s /usr/sbin /sbin #mv /root /usr/root #ln -s /usr/root /root Isn't this a bad idea if you ever have to boot to single user mode and only have / mounted? -- Tabor Kelly [EMAIL PROTECTED] http://tabor.taborandtashell.net __

Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 09:24 -0500, Marty Landman wrote: > At 08:55 AM 1/7/2005, Joshua Lokken wrote: > >On Fri, 07 Jan 2005 13:05:42 +, Peter Risdon > > > > > How about: > > > > > > #mv /sbin /usr/sbin > > > #ln -s /usr/sbin /sbin > > > #mv /root /usr/root > > > #ln -s /usr/root /root > > I've

Re: clearing space

2005-01-07 Thread Marty Landman
At 08:55 AM 1/7/2005, Joshua Lokken wrote: On Fri, 07 Jan 2005 13:05:42 +, Peter Risdon > How about: > > #mv /sbin /usr/sbin > #ln -s /usr/sbin /sbin > #mv /root /usr/root > #ln -s /usr/root /root I've run into a little bit of trouble here. I ssh into my fbsd box as user marty in group wheel,

Re: clearing space

2005-01-07 Thread Joshua Lokken
On Fri, 07 Jan 2005 13:05:42 +, Peter Risdon <[EMAIL PROTECTED]> wrote: > On Fri, 2005-01-07 at 07:53 -0500, Marty Landman wrote: > > Let's say I want to > > > > mv /sbin /usr/sbin > > mv /root /usr/root > > > > How problematic can this become? I can anticipate at least having to revise > > per

Re: clearing space

2005-01-07 Thread Peter Risdon
On Fri, 2005-01-07 at 07:53 -0500, Marty Landman wrote: > At 12:36 AM 1/7/2005, [EMAIL PROTECTED] wrote: > > >It does. You might want to try something like: > > > >du -x / | sort -rn | head -15 > > > >to figure out wheer your diskspace has gone. > > Ok, I've cleared half the space by rm -r /root

Re: clearing space

2005-01-07 Thread Marty Landman
At 12:36 AM 1/7/2005, [EMAIL PROTECTED] wrote: It does. You might want to try something like: du -x / | sort -rn | head -15 to figure out wheer your diskspace has gone. Ok, I've cleared half the space by rm -r /root/.cpan. Now I have # df Filesystem 1K-blocks Used Avail Capacity Mounted on /d

Re: clearing space

2005-01-06 Thread afabian
On Thu, Jan 06, 2005 at 06:50:54PM -0500, Marty Landman wrote: > Here's a picture of my situation. > > swamisalami# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a128990 128988 -10316 109%/ > > Does this mean that everything not on { /tmp, /usr, /var } is wha

RE: clearing space

2005-01-06 Thread Marty Landman
At 07:15 PM 1/6/2005, Hauan David A wrote: > I see this all the time. > Do you log on as root a lot I don't use the main console at all. I ssh in and then when I think it's needed su -. In this case what's happened is I want to install a Perl package, and assumed that I should run Perl's CPAN sh

RE: clearing space

2005-01-06 Thread Hauan David A
> > Here's a picture of my situation. > > > > swamisalami# df > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a128990 128988 -10316 109%/ > > /dev/ad0s1f257998 81790 15557034%/tmp > > /dev/ad1s1e 2030062 926976 94068250%/usr > > /dev/ad

RE: clearing space

2005-01-06 Thread Hauan David A
> -Original Message- > From: Marty Landman [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 3:51 PM > To: freebsd-questions@freebsd.org > Subject: clearing space > > > Here's a picture of my situation. > > swamisalami# df > Filesy

clearing space

2005-01-06 Thread Marty Landman
Here's a picture of my situation. swamisalami# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a128990 128988 -10316 109%/ /dev/ad0s1f257998 81790 15557034%/tmp /dev/ad1s1e 2030062 926976 94068250%/usr /dev/ad0s1e257998 2090 235270 1%