10 More Discussions You Might Find Interesting
1. Linux
Hi all,
I am trying to get below information from linux machine, could you please assist me to get this information using a command(s) or small script:
SectorsPerTrack
TotalCylinders
TotalHeads
TotalTracks
TracksPerCylinder
i am aware of fdisk -l command but the information provided by... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
2. Red Hat
Can you please help me to remove this error.
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk... (4 Replies)
Discussion started by: karthik9358
4 Replies
3. Programming
Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs.
Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal - no good.
I rotate pixmap for all lines and then XSetTile for each line with own pixmap, but it's... (1 Reply)
Discussion started by: Yuriy
1 Replies
4. Solaris
Hi everybody,
Sorry to bother you one more time, but I have a problem with my Solaris 8 installation.
Actually, Solaris works well, I can start X and access my desktop (CDE), but I'm having troubles using Cadds (a CAO software). Cadds works, but the 3D visualization is very slow compare to... (4 Replies)
Discussion started by: firstpost
4 Replies
5. Solaris
hi Guys ..
user want mirror disk c3t9d0 (running ) to c2t9d0 (fresh hdd).
when i tried to
bash : prtvtoc /dev/rdsk/c3t9d0s2 | fmthard -s- /dev/rdsk/c2t9d0s2
it showing following error
Partition 0 not aligned on cylinder boundary: " 0 4 222 .....
unable to mirror ....
plz... (1 Reply)
Discussion started by: coolboys
1 Replies
6. Solaris
I am trying to expand the root partition on Solaris 10. I can expand root partition using format/partition command, but usually increasing cylinders on partition is done on back end. In this case I would have to expand from the front end following the table below, meaning I would have to move the... (12 Replies)
Discussion started by: mjaminal
12 Replies
7. What is on Your Mind?
Do you draw flowcharts while you do the programming , design new network or simmilar ? (8 Replies)
Discussion started by: solaris_user
8 Replies
8. Programming
Hi,
please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction.
waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies
9. Ubuntu
Hi,
i am new to opengl, how to work openGL in ubuntu ,,
i am not getting which packages as to be install and how to install those packages.
and how to work with small programs..
Please guide me ,,, it will appriceated ... (7 Replies)
Discussion started by: Ravikishore
7 Replies
10. Solaris
Hi all,
I am working on Solaris 8 . Its default file system is UFS. My problem is regarding to the file system. I create two partition 1) / 1.2 Gb and 2) /home 4.5 GB
In root partition there were 76 Cylinder groups ,when I was traversing the Cylinder Groups I found that the length of one cylinder... (2 Replies)
Discussion started by: sundeep saini
2 Replies
CGREAD(3) BSD Library Functions Manual CGREAD(3)
NAME
cgread, cgread1, cgwrite1 -- read/write cylinder groups of UFS disks
LIBRARY
UFS File System Access Library (libufs, -lufs)
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
#include <ufs/ufs/ufsmount.h>
#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
#include <libufs.h>
int
cgread(struct uufsd *disk);
int
cgread1(struct uufsd *disk, int c);
int
cgwrite1(struct uufsd *disk, int c);
DESCRIPTION
The cgread() and cgread1() functions provide cylinder group reads for libufs(3) consumers. The cgread1() function reads from one cylinder
group, specified by c into the d_cg field of a userland UFS disk structure. It sets the d_lcg field to the cylinder group number c.
The cgread() function operates on sequential cylinder groups. Calling the cgread() function is equivalent to calling cgread1() with a cylin-
der group specifier equivalent to the value of the current d_ccg field, and then incrementing the d_ccg field.
The cgwrite1() function stores cylinder group specified by c from d_cg field of a userland UFS disk structure on disk.
RETURN VALUES
Both functions return 0 if there are no more cylinder groups to read, 1 if there are more cylinder groups, and -1 on error.
ERRORS
The function cgread() may fail and set errno for any of the errors specified for the library function bread(3).
The function cgread1() has semantically identical failure conditions to those of cgread().
The function cgwrite1() may fail and set errno for any of the errors specified for the library function bwrite(3).
SEE ALSO
bread(3), bwrite(3), libufs(3)
HISTORY
These functions first appeared as part of libufs(3) in FreeBSD 5.1.
AUTHORS
Juli Mallett <jmallett@FreeBSD.org>
BSD
June 4, 2003 BSD