Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to prune root directory FreeBSD 6.2? Post 302162676 by Smiling Dragon on Tuesday 29th of January 2008 06:16:31 PM
Old 01-29-2008
That core file would be a good place to start (kdm-bin.core).
Otherwise:
Code:
du -skd * / | sort -n

Then look at things with large sizes. If you wish, you can pick a big directory and run the du command again (replace / with the dir name) to see what's overly large in there.

Also, /product looks suspicious, it's publicly writable (incredibly bad) and not on it's own partition. I'd bet your problem is in there somewhere.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

scripts in root directory

Is it good practice to leave scripts in the root directory? if no, why is it not? (1 Reply)
Discussion started by: stephen adebayo
1 Replies

2. UNIX for Advanced & Expert Users

What change in freeBSD OS to allow root logging using ssh?

Hi everybody, ] I would like to ask just simpe and short question. I am using freeBSD 6.0 and Debian Sarge. From Debian console I can log as root using ssh to bsd mashine but not vice versa. When I say in bsd console su I got sorry output, it does not allow me to su to root when I am logged... (5 Replies)
Discussion started by: 100days
5 Replies

3. UNIX for Dummies Questions & Answers

root directory

root directory is going out of space. how can i free up memory by deleting unwanted file. which files are safe to remove.i checked tmp dir. also. but no files. thanks (1 Reply)
Discussion started by: ajantha
1 Replies

4. UNIX for Advanced & Expert Users

Damaged root directory ..

With the cpio command of a Unix File System for error I have replaced the directory “.. “ (when you give the command “ls -la” under root you see at the beginning the hidden directory “. “ followed by a hidden file who is called “..” ) I have the copy on a cartridge of the whole file system, but... (3 Replies)
Discussion started by: SISQUEZ
3 Replies

5. UNIX for Dummies Questions & Answers

How to display only Owner and directory/sub directory names under particular root

hai, I am new to Unix, I have a requirement to display owner name , directory or sub directory name, who's owner name is not equal to "oasitqtc". (here "oasitqtc" is the owner of the directory or sub directory.) i have a command (below) which will display all folders and sub folders, but i... (6 Replies)
Discussion started by: gagan4599
6 Replies

6. Ubuntu

Root directory not available!

I am using Ubuntu 10.10. I want to access root home directory (~) through GUI and want access to its content. I login from administrator who is the only login user and have all rights for it. I can access the content through terminal but can't do it through GUI. Remedy my problem (5 Replies)
Discussion started by: nixhead
5 Replies

7. Web Development

What is a root directory

Hey guys. I am learning PHP and I just started a few minutes ago and it said after you maked your first hello world php file to upload it to your root directory in your webserver. What is your root directory? Is it where like all the appearance of the website is held (like what we see when we enter... (6 Replies)
Discussion started by: orszhak
6 Replies

8. Solaris

root directory is full

root directory in server / is full 100% , i already tried to delete any core file , log , .. still files under /proc directory take more than 4 G.. what you advice please i don't want to format the server and install again and re partition , i tried the FORMAT tools ! but it seems i cant do... (5 Replies)
Discussion started by: moata_u
5 Replies

9. UNIX for Dummies Questions & Answers

Removing directory with leading hyphen from root directory

I know that this basic question has been asked many times and solutions all over the internet, but none of the are working for me. I have a directory in the root directory, named "-p". # ls -l / total 198 <snip> drwxr-xr-x 4 root root 4096 Dec 3 14:18 opt drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: edstevens
2 Replies

10. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies
FREEBSD-UPDATE(8)					    BSD System Manager's Manual 					 FREEBSD-UPDATE(8)

NAME
freebsd-update -- fetch and install binary updates to FreeBSD SYNOPSIS
freebsd-update [-b basedir] [-d workdir] [-f conffile] [-k KEY] [-r newrelease] [-s server] [-t address] command ... DESCRIPTION
The freebsd-update tool is used to fetch, install, and rollback binary updates to the FreeBSD base system. Note that updates are only avail- able if they are being built for the FreeBSD release and architecture being used; in particular, the FreeBSD Security Team only builds updates for releases shipped in binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 7.3-RELEASE and FreeBSD 8.0-RELEASE, but not FreeBSD 6.3-STABLE or FreeBSD 9.0-CURRENT. OPTIONS
The following options are supported: -b basedir Operate on a system mounted at basedir. (default: /, or as given in the configuration file.) -d workdir Store working files in workdir. (default: /var/db/freebsd-update/, or as given in the configuration file.) -f conffile Read configuration options from conffile. (default: /etc/freebsd-update.conf) -k KEY Trust an RSA key with SHA256 of KEY. (default: read value from configuration file.) -r newrelease Specify the new release to which freebsd-update should upgrade (upgrade command only). -s server Fetch files from the specified server or server pool. (default: read value from configuration file.) -t address Mail output of cron command, if any, to address. (default: root, or as given in the configuration file.) COMMANDS
The command can be any one of the following: fetch Based on the currently installed world and the configuration options set, fetch all available binary updates. cron Sleep a random amount of time between 1 and 3600 seconds, then download updates as if the fetch command was used. If updates are downloaded, an email will be sent (to root or a different address if specified via the -t option or in the configuration file). As the name suggests, this command is designed for running from cron(8); the random delay serves to minimize the proba- bility that a large number of machines will simultaneously attempt to fetch updates. upgrade Fetch files necessary for upgrading to a new release. Before using this command, make sure that you read the announcement and release notes for the new release in case there are any special steps needed for upgrading. Note that this command may require up to 500 MB of space in workdir depending on which components of the FreeBSD base system are installed. install Install the most recently fetched updates or upgrade. rollback Uninstall the most recently installed updates. IDS Compare the system against a "known good" index of the installed release. TIPS
o If your clock is set to local time, adding the line 0 3 * * * root /usr/sbin/freebsd-update cron to /etc/crontab will check for updates every night. If your clock is set to UTC, please pick a random time other than 3AM, to avoid overly imposing an uneven load on the server(s) hosting the updates. o In spite of its name, freebsd-update IDS should not be relied upon as an "Intrusion Detection System", since if the system has been tam- pered with it cannot be trusted to operate correctly. If you intend to use this command for intrusion-detection purposes, make sure you boot from a secure disk (e.g., a CD). FILES
/etc/freebsd-update.conf Default location of the freebsd-update configuration file. /var/db/freebsd-update/ Default location where freebsd-update stores temporary files and downloaded updates. SEE ALSO
freebsd-update.conf(5) AUTHORS
Colin Percival <cperciva@FreeBSD.org> FreeBSD July 14, 2010 FreeBSD
All times are GMT -4. The time now is 01:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy