From: "Rev. Don Kool"Subject: Re: Cleaning up / ? Date: 23 Jul 2000 00:00:00 GMT Message-ID: <[email protected]> Content-Transfer-Encoding: 7bit References: <[email protected]> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: [email protected] X-Trace: news1.rdc1.md.home.com 964320307 24.3.25.57 (Sat, 22 Jul 2000 19:45:07 PDT) Organization: Jack Daniel's Field Testing Services, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Sat, 22 Jul 2000 19:45:07 PDT Newsgroups: comp.unix.bsd.freebsd.misc "Gil G." wrote: > > Hello, > > My / partition is 100MB but somehow got full.. > What can I safely delete from there? Try "find / -type f -exec rm {} \;". That should clear your PC of unnecessary files. > Also, is there a way to rename a partition? > By accident I created a /temp partition, meaning to create /tmp > Now /tmp has been created by the system. I tried to make a link > pointing tmp to temp but tmp is never empty and I can't erase it! > I would like temp to become tmp... You're talking about the mount point, not the partition name. Edit your mount table. In most UNIX systems, except for SOLARIS, it is called "/etc/fstab". Under FreeBSD it most likely has a similar name. Mount the partition to "/tmp" instead of "/temp". Hope this helps, Don -- ********************** You a bounty hunter? * Rev. Don McDonald * Man's gotta earn a living. * Baltimore, MD * Dying ain't much of a living, boy. ********************** "Outlaw Josey Wales" http://members.home.net/oldno7
From: "Rev. Don Kool"Subject: Re: Cleaning up / ? Date: 24 Jul 2000 00:00:00 GMT Message-ID: <[email protected]> Content-Transfer-Encoding: 7bit References: <[email protected]> <[email protected]> <[email protected]> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: [email protected] X-Trace: news1.rdc1.md.home.com 964451760 24.3.25.57 (Mon, 24 Jul 2000 08:16:00 PDT) Organization: Jack Daniel's Field Testing Services, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Mon, 24 Jul 2000 08:16:00 PDT Newsgroups: comp.unix.bsd.freebsd.misc Chris Hedley wrote: > "Rev. Don Kool" writes: > > Try "find / -type f -exec rm {} \;". > > > > That should clear your PC of unnecessary files. > Do *not* under any circumstances try this. Our mate Don here seems > to think it would be "cool" to see some poor sod erase their entire > system. No, it will simply remove the unnecessary files. The PC will still boot into Windows as it was designed to do. > > You're talking about the mount point, not the partition name. Edit > > your mount table. In most UNIX systems, except for SOLARIS, it is > > called "/etc/fstab". > The UNIX systems you're talking about should be using /etc/vfstab by now. SOLARIS is the only UNIX system that uses "/etc/vfstab". It is part of their continuing game of unnecessarily changing the names of system files with each new release. > > Under FreeBSD it most likely has a similar > > name. Mount the partition to "/tmp" instead of "/temp". > That, at least, is reasonable advice. All my advice is reasonable, Chris. > You learn, albeit slowly, Don. If only I could say the same for you, Chris. If only I could say the same for you... :-( Hope this helps, Don -- ********************** You a bounty hunter? * Rev. Don McDonald * Man's gotta earn a living. * Baltimore, MD * Dying ain't much of a living, boy. ********************** "Outlaw Josey Wales" http://members.home.net/oldno7
<< back