03-05-2012
How big is this thing?
Can't you just ufsdump each filesystem and park it somewhere on another system just for future reference? What if some stupid user doesn't realise they need their data until a year has gone by?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how can I automatically check if important files exist in a directory and if not, automatically put the important files where they are needed
say, I want to put .bashrc and a dozen other important files like it into every user's directory, how can I do this??? how do I check every user's... (4 Replies)
Discussion started by: TRUEST
4 Replies
2. UNIX for Dummies Questions & Answers
Hello There ,
When i try to install Solaris 8 on my machine, at the Select Disk option, it present 4 pull down menu, each menu has four options, like Other, PRI DOS, Solaris, X86Boot.
What is PRI DOS, X86Boot options ? Are these 4 menu are 4 diffirent partitions we can make in a hard disk ? ... (1 Reply)
Discussion started by: abidmalik
1 Replies
3. Shell Programming and Scripting
Suppose I have a unix file which contain a lost of 60 files like
filename1
filename2
...
..
...
filename60
I want to write a unix script that will pick up first 10 files in first run
10-20 files in 2 run
20-30 files in 3 run
30-40 files in 4 run
40-50 files in 5 run
50-60 files in 6... (2 Replies)
Discussion started by: er_zeeshan05
2 Replies
4. Shell Programming and Scripting
as we can find file greater than 1 MB with find command as:
find /dir -name '*' -size +1M
find /dir/* -name '*' -size +1M
but wats its doing is , its finding files only in current directory not in sub-directories. i want files from sub-directories too.
Please help... Thanx in... (3 Replies)
Discussion started by: manoj_dahiya22
3 Replies
5. Shell Programming and Scripting
Hi,
I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below.
I will be using the config file as mentioned below:
(config.txt)
country:a,b
city:1,2
type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies
6. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
7. Solaris
I have recently been told that on a Solaris 10 system # means default settings, and that ## indicates a comment.
Therefore, the following setting in the etc/default/login file
#RETRIES=5
indicates that the number of failed login attempts allowed is 5.
Is this true or false? Should... (5 Replies)
Discussion started by: jclarkaz
5 Replies
8. Shell Programming and Scripting
Hi Friends,
I want to the list the files in the folder which was access before 2 hours in Solaris.
Thanks in advance...... (3 Replies)
Discussion started by: natraj005
3 Replies
9. Solaris
How do I list all the files in Solaris which are ^M chars in it?
Tried the below, which didnt help
find . -type f -name "*" -exec file "{}" \; | grep -c CRLF
find . | xargs grep -l "\^M"
Thank you,
Sunil Kumar (3 Replies)
Discussion started by: msgforsunil
3 Replies
QUOTAON(8) BSD System Manager's Manual QUOTAON(8)
NAME
quotaon, quotaoff -- turn filesystem quotas on and off
SYNOPSIS
quotaon [-g] [-u] [-v] filesystem ...
quotaon [-g] [-u] [-v] -a
quotaoff [-g] [-u] [-v] filesystem ...
quotaoff [-g] [-u] [-v] -a
DESCRIPTION
Quotaon announces to the system that disk quotas should be enabled on one or more filesystems. Quotaoff announces to the system that the
specified filesystems should have disk quotas turned off. The filesystem must be mounted and it must have the appropriate mount option file
located at its root, the .quota.ops.user file for user quota configuration, and the .quota.ops.group file for group quota configuration.
Quotaon also expects each filesystem to have the appropriate quota data files located at its root, the .quota.user file for user data, and
the .quota.group file for group data. These filenames and their root location cannot be overridden. By default, quotaon will attempt to
enable both user and group quotas. By default, quotaoff will disable both user and group quotas.
Available options:
-a If the -a flag is supplied in place of any filesystem names, quotaon/quotaoff will enable/disable any filesystems with an existing
mount option file at its root. The mount option file specifies the types of quotas that are to be configured.
-g Only group quotas will be enabled/disabled. The mount option file, .quota.ops.group, must exist at the root of the filesystem.
-u Only user quotas will be enabled/disabled. The mount option file, .quota.ops.user, must exist at the root of the filesystem.
-v Causes quotaon and quotaoff to print a message for each filesystem where quotas are turned on or off.
Specifying both -g and -u is equivalent to the default.
Quotas for both users and groups will automatically be turned on at filesystem mount if the appropriate mount option file and binary data
file is in place at its root.
FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence
indicates that quotas are to be enabled for that filesystem.
.quota.user data file containing user quotas
.quota.group data file containing group quotas
.quota.ops.user mount option file used to enable user quotas
.quota.ops.group mount option file used to enable group quotas
SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), repquota(8)
HISTORY
The quotaon command appeared in 4.2BSD.
4.2 Berkeley Distribution October 17, 2002 4.2 Berkeley Distribution