11-12-2004
it says something about sectors... and 125mb storage capability but thats as far as I can make of it.. I am still a little new to unix in certain areas.. ..
10 More Discussions You Might Find Interesting
1. Solaris
hi-
I just installed a quad gigaswift ethernet scsi card to my sunblade 150. I checked with the docs, and got all of the required drivers on the box. Now, I'm trying to mount an external scsi tape drive with no luck. I set the scsi address on the external drive to 0. Here's what I'm coming... (9 Replies)
Discussion started by: ECBROWN
9 Replies
2. UNIX for Dummies Questions & Answers
How do you mount a USB flash drive on Sun Blade 2000 or 2500 with solaris 8?
Thanks in advance ;) (1 Reply)
Discussion started by: xeroxtechnician
1 Replies
3. UNIX for Advanced & Expert Users
:( If anyone has solved this problem, please help me!
Thanks in advance! (0 Replies)
Discussion started by: FCollet
0 Replies
4. UNIX for Advanced & Expert Users
If somebody solve this error please help!
Thanks in advance! (5 Replies)
Discussion started by: FCollet
5 Replies
5. UNIX for Dummies Questions & Answers
My computer which uses scoUNIX, has an internal scsi tape backup. It will
no longer backup . It posts this message Notice :Stp tape 0 device 46/0
offline. This has been discussed before by the forum and I'd appreciate any
help that any expert could provide for me for a step wise approach to... (0 Replies)
Discussion started by: timothymhubbard
0 Replies
6. UNIX for Advanced & Expert Users
My tape drive is not backing up my data. This is the message that comes up as the computer starts up each morning. Notice Stp:SCSI tape 0 device 46/0 offline. The computer is equipped with a Seagate STD 24000N internal tape drive and the green indicator light on it continuously is on but the amber... (0 Replies)
Discussion started by: timothymhubbard
0 Replies
7. Linux
Hi Folks,
I want to know how to mount usb device (cd,dvd etc) in linux,
Regards,
Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies
8. UNIX and Linux Applications
When I attach a USB storage device to my Solaris server, the mount point is coming up as /rmdisk/unnamed_rmdisk
Is there anyway I can have this device come up as a mounted device with a predetermined mount name eg /morespace rather than unnamed_rmdisk ? (0 Replies)
Discussion started by: jimthompson
0 Replies
9. Ubuntu
Hi,
I have a created a logical partition sda5 in ubuntu server 9.0.4.
which is
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00053d78
Device Boot Start End ... (1 Reply)
Discussion started by: rac_oradba
1 Replies
10. Solaris
I'm looking for help with a legacy system.
I have some obsolete equipment connected to an Ultra 60 running Solaris 5.7 with the binary for a 32 bit driver. The driver is rejected by newer versions of solaris, which run 64 bit kernels.
I hope to reverse engineer the driver so that I can... (0 Replies)
Discussion started by: obsoleteStuff
0 Replies
LEARN ABOUT SUSE
cap_init
CAP_INIT(3) Linux Programmer's Manual CAP_INIT(3)
NAME
cap_init, cap_free, cap_dup - capability data object storage management
SYNOPSIS
#include <sys/capability.h>
cap_t cap_init(void);
int cap_free(void *obj_d);
cap_t cap_dup(cap_t cap_p);
Link with -lcap.
DESCRIPTION
The capabilities associated with a file or process are never edited directly. Instead, working storage is allocated to contain a represen-
tation of the capability state. Capabilities are edited and manipulated only within this working storage area. Once editing of the capa-
bility state is complete, the updated capability state is used to replace the capability state associated with the file or process.
cap_init() creates a capability state in working storage and returns a pointer to the capability state. The initial value of all flags are
cleared. The caller should free any releasable memory, when the capability state in working storage is no longer required, by calling
cap_free() with the cap_t as an argument.
cap_free() liberates any releasable memory that has been allocated to the capability state identified by obj_d. The obj_d argument may
identify either a cap_t entity, or a char * entity allocated by the cap_to_text() function.
cap_dup() returns a duplicate capability state in working storage given by the source object cap_p, allocating any memory necessary, and
returning a pointer to the newly created capability state. Once duplicated, no operation on either capability state affects the other in
any way. When the duplicated capability state in working storage is no longer required, the caller should free any releasable memory by
calling cap_free() with the cap_t as an argument.
RETURN VALUE
cap_init() and cap_dup() return a non-NULL value on success, and NULL on failure.
cap_free() returns zero on success, and -1 on failure.
On failure, errno is set to EINVAL or ENOMEM.
CONFORMING TO
These functions are specified in the withdrawn POSIX.1e draft specification.
SEE ALSO
libcap(3), cap_clear(3), cap_copy_ext(3), cap_from_text(3), cap_get_file(3), cap_get_proc(3), capabilities(7)
2008-05-11 CAP_INIT(3)