01-27-2009
Erasing the files might not fix the problem. You should first check if the files are not still open by some processes.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hello,
i want to implements user quotas. the problem is that all of our user names are integer numbers, like 8510453.
so when i set quota for a user (e.g. 8510453), it wont be set for that user name instead it will be set for exactly this: #8510453 (this is what webmin report shows).
i have... (5 Replies)
Discussion started by: mrhosseini
5 Replies
2. Shell Programming and Scripting
Good morning everybody,
I'm using Minix and I want to find the user with less number of files in the system
I have tried this solution:
#! /bin/sh
indice=0
listaCut=$(cut -f 3 -d : /etc/passwd)
for USER in $listaCut; do
cont=0
listaFind=$(find / -user "${USER}" -type -f)
... (4 Replies)
Discussion started by: Guccio
4 Replies
3. Shell Programming and Scripting
Good evening everybody,
I have to find the user owner of the most recently file in the system
How can I do? :confused: (5 Replies)
Discussion started by: Guccio
5 Replies
4. UNIX for Dummies Questions & Answers
Hi Experts,
I have a file which contains some text. i need to print the word next to a given keyword. Please help.
Ex: test.txt
=====================
NEXT HOST
=====================
AEADBAS001
access-list 1 permit xxxxxxxxxxxxxx
ip access-list extended BLA_Outgoing_Filter... (6 Replies)
Discussion started by: mwrg
6 Replies
5. Shell Programming and Scripting
i am prompting for a name to search.
read user
if
then
however, i get this error:
please enter a username on the system:
fool
menu_script2.sh: line 123: (4 Replies)
Discussion started by: icelated
4 Replies
6. UNIX for Dummies Questions & Answers
When I choose to encrypt my drive during a Linux install, it encryps it, but I receive errors in dmesg and in ~/.xsessions-errors during use. The first error is in dmesg where it sometimes shows errors writing to the encypted device. The second error is in ~/.xsessions-errors with an error about... (0 Replies)
Discussion started by: justgoogleit
0 Replies
7. Solaris
Hi Guys,
I have quota support turned on, on two file systems. However, when I do a repquota -va I get report only for one. What might be the problem?
I will really appreciate your help.
Thanks Gurus. (0 Replies)
Discussion started by: cjashu
0 Replies
8. Solaris
Hello,
I have a x86 Solaris server running on VMWare. c1t0d0 is root disk of 40 GB. I am not able to find, where space is being consumed. It just available space is 2.6 GB only. There is no quota or reservation set. Can somebody give me some pointer to fix it ?
-bash-3.2# zpool list
NAME ... (6 Replies)
Discussion started by: solaris_1977
6 Replies
9. UNIX for Beginners Questions & Answers
Hi.
I'm wondering if it is possible to execute system(), if a certain string of text appears on the screen or not?
I want to be able to run system("rz -Z") based on if "B00000000000000" appears on the screen.
rz is a program to recieve files via Zmodem protocol. Is this possible? In C, of... (3 Replies)
Discussion started by: ignatius
3 Replies
LEARN ABOUT NETBSD
postinstall
POSTINSTALL(8) BSD System Manager's Manual POSTINSTALL(8)
NAME
postinstall -- check and fix installation after system upgrades
SYNOPSIS
postinstall [-a arch] [-d destdir] [-m machine] [-s {srcdir | tgzdir | tgzfile}] operation [item [...]]
DESCRIPTION
The postinstall utility performs post-installation checks and/or fixes on a system's configuration files. It is especially useful after sys-
tem upgrades, e.g. after updating from NetBSD 1.6.2 to NetBSD 2.0. The items to check or fix are divided in two groups: enabled by default
and disabled by default. The latter are items that are dangerous for some reason, for example because they remove files which may be still
in use. If no items are provided, the default checks or fixes are applied. Those which are disabled by default must be provided explicitly.
Supported options:
-a arch MACHINE_ARCH. Defaults to machine of the host operating system.
-d destdir Destination directory to check. Defaults to /.
-m machine MACHINE. Defaults to machine of the host operating system.
-s {srcdir | tgzdir | tgzfile}
The location of the reference files, or the NetBSD source files used to create the reference files. This may be speci-
fied in one of three ways:
-s srcdir The top level directory of the NetBSD source tree. By default this is /usr/src.
-s tgzdir A directory in which reference files have been extracted from a binary distribution of NetBSD. The files
that are distributed in the ``etc.tgz'' set file must be present. The files that are distributed in the
``xetc.tgz'' set file are optional.
-s tgzfile The location of a set file (or ``tgz file'') such as ``etc.tgz'' or ``xetc.tgz'' from a binary distribu-
tion of NetBSD. Each set file is a compressed archive containing reference files, which will be extracted
to the temproot directory. Multiple -s options may be used to specify multiple set files. The
``etc.tgz'' set file must be specified. The ``xetc.tgz'' set file is optional.
The operation argument may be one of:
check Perform post-installation checks on items.
diff [diff(1) options]
Similar to check, but also show the differences between the files.
fix Apply fixes that check determines need to be applied. Not all items can be automatically fixed by postinstall, and in some
cases an error will be reported, after which manual intervention will be required.
Conflicts between existing files in the target file system and new files from the NetBSD distribution are resolved by replac-
ing the existing file with the new file; there is no attempt to merge the files. See etcupdate(8) for an alternative update
method that is able to merge files.
help Display a short help.
list List available items, showing if they are enabled or disabled by default.
usage Same as help.
EXIT STATUS
The postinstall utility exits 0 on success, and >0 if an error occurs or a problem was found.
SEE ALSO
etcupdate(8)
HISTORY
The postinstall utility first appeared in NetBSD 1.6.
In NetBSD 4.0, the -s tgzfile option was added.
In NetBSD 5.0, the ability to specify multiple colon-separated files with a single -s option was deprecated.
BSD
October 4, 2008 BSD