03-14-2013
'read only filesystem' means it cannot write to that partition in any way, including things like chmod and chown which alter inodes. If the partition wasn't mounted readonly in the first place, it probably got set read-only because of a disk error -- the kernel will disallow any further writes to the damaged disk. Check your dmesg for disk errors.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HP UX 11i
Ok my server is about to run out of space, and i would like to know if there is something that i should be doing on a regular basis to maintain the machine like logs that i should clear or dmp file that i should delete...
Thanks in Advance (2 Replies)
Discussion started by: bbutler3295
2 Replies
2. UNIX for Dummies Questions & Answers
All,
I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
3. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
4. UNIX for Dummies Questions & Answers
I've tried to figure this out.
I'm only about 6 mos into my AIX admin duties, but I've got a "security" problem I can't figure out.
I've created a sub directory as follows:
drwx------ 2 root system 256 Apr 13 16:02 mike
I've logged in another session with the following user:
$ id... (2 Replies)
Discussion started by: mpheine
2 Replies
5. Solaris
Hi All,
I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as:
Unable to remove directory jdk: Read-only file system
Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Discussion started by: Pshah
4 Replies
6. Shell Programming and Scripting
So I have a script that runs as a non-root user, lets say the username is 'xymon' .
This script needs to log on to a remote system as a non-root user also and call up a bash script that runs another bash script as root.
in short: user xymon on system A needs to run a file as root user and have... (2 Replies)
Discussion started by: damang111
2 Replies
7. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
8. Solaris
Hi All
After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
9. Shell Programming and Scripting
Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal.
I want to give some users a root level access.
Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way
Regards
ADI (4 Replies)
Discussion started by: adisky123
4 Replies
10. UNIX for Dummies Questions & Answers
Is there any way to create a file in linux that root user also can't delete? (8 Replies)
Discussion started by: palani13dec
8 Replies
LEARN ABOUT NETBSD
disktab
DISKTAB(5) BSD File Formats Manual DISKTAB(5)
NAME
disktab -- disk description file
SYNOPSIS
#include <disktab.h>
DESCRIPTION
disktab is a simple database which 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(5) terminal data base. Entries in disktab consist of a number of `:' separated fields.
The first entry for each disk gives the names which are known for the disk, separated by `|' 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.
Name Type Description
ty str Type of disk (e.g. removable, winchester)
dt str Type of controller (e.g. SMD, ESDI, floppy)
ns num Number of sectors per track
nt num Number of tracks per cylinder
nc num Total number of cylinders on the disk
sc num Number of sectors per cylinder, ns*nt default
su num Number of sectors per unit, sc*nc default
se num Sector size in bytes, DEV_BSIZE default
sf bool Controller supports bad144-style bad sector forwarding
rm num Rotation speed, rpm, 3600 default
sk num Sector skew per track, default 0
cs num Sector skew per cylinder, default 0
hs num Headswitch time, usec, default 0
ts num One-cylinder seek time, usec, default 0
il num Sector interleave (n:1), 1 default
d[0-4] num Drive-type-dependent parameters
bs num Boot block size, default BBSIZE
sb num Superblock size, default SBSIZE
ba num Block size for partition `a' (bytes)
bd num Block size for partition `d' (bytes)
be num Block size for partition `e' (bytes)
bf num Block size for partition `f' (bytes)
bg num Block size for partition `g' (bytes)
bh num Block size for partition `h' (bytes)
fa num Fragment size for partition `a' (bytes)
fd num Fragment size for partition `d' (bytes)
fe num Fragment size for partition `e' (bytes)
ff num Fragment size for partition `f' (bytes)
fg num Fragment size for partition `g' (bytes)
fh num Fragment size for partition `h' (bytes)
oa num Offset of partition `a' in sectors
ob num Offset of partition `b' in sectors
oc num Offset of partition `c' in sectors
od num Offset of partition `d' in sectors
oe num Offset of partition `e' in sectors
of num Offset of partition `f' in sectors
og num Offset of partition `g' in sectors
oh num Offset of partition `h' in sectors
pa num Size of partition `a' in sectors
pb num Size of partition `b' in sectors
pc num Size of partition `c' in sectors
pd num Size of partition `d' in sectors
pe num Size of partition `e' in sectors
pf num Size of partition `f' in sectors
pg num Size of partition `g' in sectors
ph num Size of partition `h' in sectors
ta str Partition type of partition `a' (4.2BSD filesystem, swap, etc)
tb str Partition type of partition `b'
tc str Partition type of partition `c'
td str Partition type of partition `d'
te str Partition type of partition `e'
tf str Partition type of partition `f'
tg str Partition type of partition `g'
th str Partition type of partition `h'
FILES
/etc/disktab
SEE ALSO
getdiskbyname(3), disklabel(5), disklabel(8), newfs(8)
HISTORY
The disktab description file appeared in 4.2BSD.
BSD
June 5, 1993 BSD