10 More Discussions You Might Find Interesting
1. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
2. UNIX for Dummies Questions & Answers
This is a very newbie's question:
I was trying to add a new version of the same command "blastn", but the old command always shows up first.
which blastn
/usr/local/bin/blastnThe two versions of the same command "blastn" are located in:
which -a blastn
/usr/local/bin/blastn... (5 Replies)
Discussion started by: yifangt
5 Replies
3. Solaris
Can anyone kindly explain to me the meaning of the default values of the code below please?
Thank you very much
#MINDIFF=3
#MINALPHA=2
#MINNONALPHA=1
#MINUPPER=0
#MINLOWER=0
#MAXREPEATS=0
#MINSPECIAL=0
#MINDIGIT=0
#WHITESPACE=YES (1 Reply)
Discussion started by: cjashu
1 Replies
4. AIX
Hi all,
How do i change the default primary group of files uploaded in AIX (via ftp) in such a way that the files will be owned by tom:staff?
I understand that the default file permission can be set in /etc/profile for aix by adding a new line umask=032
Do I add a line in umask as well?... (5 Replies)
Discussion started by: chipahoys
5 Replies
5. Linux
I have a dual-boot system (just testing it out, really -- 32-bit Xubuntu 8.10 and 64-bit Ubuntu 9.04) and I'd like to set the computer to boot to the second OS unless I tell it otherwise. Is there a way to do that? (2 Replies)
Discussion started by: CRGreathouse
2 Replies
6. Solaris
There is a file in my Unix Server whose size will be constant.
But every day when the sheduled jobs run in the server, that file gets updated but the size does not change.
Upon doing file filename
It is dispalyed as a binary file.
Can anyone please explain how that file is created.
How is... (3 Replies)
Discussion started by: exterminator
3 Replies
7. Shell Programming and Scripting
I have a variable in a shell script which is more than 80 characters.
1) I log into SQL plus and populate a variable using 3 queries appended by ,' comma'.
ORAINFO=`sqlplus -s << !
/ as sysdba
set feedback off
set heading off
select LOG_MODE... (2 Replies)
Discussion started by: yerra
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am setting up an area on a unix server where multiple people will be editing web pages. Can anyone tell me how to set it up the directory and subdirectories so that when a user creates a new file, it defaults to permissions of 664 or 775?
I've tried using umask but from what I can... (1 Reply)
Discussion started by: robbieg
1 Replies
9. Shell Programming and Scripting
Hello all!
I have found a new home, this place is great!
I have been searching for days to find a way to set a max size for a log.txt file using a cron job exicuting a shell script. Is it possible for a script to remove older entries in a log file to maintain a limited file size? If so,... (5 Replies)
Discussion started by: v-rod
5 Replies
10. UNIX for Dummies Questions & Answers
What is the command to set default PASSLENGTH and the MAXWEEKS for all the passwords. I don't want to edit the /etc/default/passwd file either. And I am using Linux RedHat7.1 system.
If anyone knows, please help me out here.
Regards.
-Iftikhar (1 Reply)
Discussion started by: syedifti
1 Replies
disktab(4) Kernel Interfaces Manual disktab(4)
NAME
disktab - Disk description file
SYNOPSIS
#include <sys/disklabel.h>
DESCRIPTION
The disktab database describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk.
The format is patterned after the termcap terminal database. Entries in a disktab file consist of a number of : (colon) separated fields.
The first entry for each disk gives the names which are known for the disk, separated by | (vertical bar) characters. The last name given
should be a long name fully identifying the disk.
The following list indicates the normal values stored for each disk entry: Type Description str Type of disk (for example, removable, win-
chester) str Type of controller (for example, SMD, ESDI, floppy) num Number of sectors per track num Number of tracks per cylinder
num Total number of cylinders on the disk num Number of sectors per cylinder, nc*nt default num Number of sectors per unit, sc*nc
default num Sector size in bytes, DEV_BSIZE default bool Controller supports bad144-style bad sector forwarding num Rotation speed,
rpm, default 3600 num Sector skew per track, default 0 num Sector skew per cylinder, default 0 num Headswitch time, usec, default 0
num One-cylinder seek time, usec, default 0 num Sector interleave (n:1), default 1 num Drive-type-dependent parameters num Boot block
size, default BBSIZE num Superblock size, default SBSIZE num Block size for partition `a' (bytes) num Block size for partition `d'
(bytes) num Block size for partition `e' (bytes) num Block size for partition `f' (bytes) num Block size for partition `g' (bytes)
num Block size for partition `h' (bytes) num Fragment size for partition `a' (bytes) num Fragment size for partition `d' (bytes)
num Fragment size for partition `e' (bytes) num Fragment size for partition `f' (bytes) num Fragment size for partition `g' (bytes)
num Fragment size for partition `h' (bytes) num Offset of partition `a' in sectors num Offset of partition `b' in sectors num Offset of
partition `c' in sectors num Offset of partition `d' in sectors num Offset of partition `e' in sectors num Offset of partition `f' in
sectors num Offset of partition `g' in sectors num Offset of partition `h' in sectors num Size of partition `a' in sectors num Size of
partition `b' in sectors num Size of partition `c' in sectors num Size of partition `d' in sectors num Size of partition `e' in sectors
num Size of partition `f' in sectors num Size of partition `g' in sectors num Size of partition `h' in sectors str Partition type of
partition `a' (4.2BSD file system, swap, etc.) str Partition type of partition `b' str Partition type of partition `c' str Parti-
tion type of partition `d' str Partition type of partition `e' str Partition type of partition `f' str Partition type of partition `g'
str Partition type of partition `h'
EXAMPLES
The following is an example disktab entry:
rz25|RZ25|DEC RZ25 Winchester:
:ty=winchester:dt=SCSI:ns#62:nt#9:nc#1492:
:oa#0:pa#131072:ba#8192:fa#1024:
:ob#131072:pb#262144:bb#8192:fb#1024:
:oc#0:pc#832527:bc#8192:fc#1024:
:od#393216:pd#146437:bd#8192:fd#1024:
:oe#539656:pe#146437:be#8192:fe#1024:
:of#686096:pf#146437:bf#8192:ff#1024:
:og#393216:pg#439311:bg#8192:fg#1024:
:oh#0:ph#0:bh#8192:fh#1024:
FILES
/etc/disktab
RELATED INFORMATION
Functions: getdiskbyname(3)
Files: disklabel(4)
Commands: disklabel(8), newfs(8) delim off
disktab(4)