Xenix help in Cleburne TX
Bill Campbell
bill at celestial.com
Wed Oct 9 16:48:44 PDT 2013
On Tue, Oct 08, 2013, Jay Ashworth wrote:
>du -a / | sort -rn | {more/less}
>
>Shows you every file on the machine, in descending order of size; this is
>usually useful for giving you the best targets to shoot at.
I usually use something like:
find /path/to/file/system/root -xdev -size +10000 \
> /path/to/other/filesystem/tmp/bigfiles
The command varies depending on the version of find. SCO's uses
the -mount option instead of -xdev.
All the systems I've built since the early days of Xenix have had
'/' and at least one other file system (usually '/home') so if one
fills, there's room on another for files. Having '/' on its own
file system with all data on another makes it fairly easy to
reinstall the OS in case '/' is trashed.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
the average American legislator is not only an ass but also an
oblique, sinister, depraved and knavish fellow. -- H.L. Mencken
More information about the Filepro-list
mailing list