11-06-2008
are you able to unmount the filesystem?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
2. Linux
I recently started working with Linux and wrote my first device driver for a hardware chip controlled by a host CPU running Linux 2.6.x kernel.
1. The user space process makes an IOCTL call with pointer to a user memory buffer.
2. The kernel device driver in the big switch-case of IOCTL,... (1 Reply)
Discussion started by: agaurav
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i am having a directory in which files are having space in the name .
$ls -1
aa b.txt
my file.pdf
lost file.csv
foo_file.txti want to copy those file to some where with date +%F as extension . But it failed for the file having space.
#!/bin/sh
ls -1 >tt
for var in `cat tt`
do
b=$var... (2 Replies)
Discussion started by: posix
2 Replies
4. UNIX for Dummies Questions & Answers
Please help ,
I am in an urgent need, Please help
nawk '{for(i=1;i<=NF;i++){printf("%s\n",$i)}}' filename | sed 's/.*com//' | nawk '/pdf/ {printf("F:%s\n",$0)}' | while read line; do mv $line /images/; done
the above script works for without spaces but,My path is also having some space... (3 Replies)
Discussion started by: umapearl
3 Replies
5. Shell Programming and Scripting
Hi experts
cp bin root src /mnt
but not copy bin/bigfile
any help?
( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum)
Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a space delimited text file but I only want to change the first space to a tab and keep the rest of the spaces intact. How do I go about doing that? Thanks! (3 Replies)
Discussion started by: evelibertine
3 Replies
7. AIX
Hello,
I want to install GCC gcc-4.8.1-2.src.rpm for AIX 6.1
when I lance my command rpm -i gcc-4.8.1-2.src.rpm
I have this error
unpacking of archive failed on file gcc-4.8.1.tar.bz2: cpio: copy failed - No space left on device
I checked the free space and I am surpise becouse I have... (7 Replies)
Discussion started by: tatab355
7 Replies
8. Shell Programming and Scripting
print "After create SubDir routine.";
createSubDirs($fileDir);
my $from = $ORACLE_HOME.$dirSep.$file;
my $to = $bootstrapDir.$dirSep.$fileDir;
if ($isWindows) {
copy($from,... (1 Reply)
Discussion started by: ambarginni
1 Replies
9. Emergency UNIX and Linux Support
print "After create SubDir routine.";
createSubDirs($fileDir);
my $from = $ORACLE_HOME.$dirSep.$file;
my $to = $bootstrapDir.$dirSep.$fileDir;
if ($isWindows) {
copy($from,... (2 Replies)
Discussion started by: ambarginni
2 Replies
LEARN ABOUT OPENSOLARIS
bp_copyin
bp_copyin(9F) Kernel Functions for Drivers bp_copyin(9F)
NAME
bp_copyin - copy from a buf(9S) into a driver buffer
SYNOPSIS
#include <sys/types.h>
#include <sys/buf.h>
int bp_copyin(struct buf *bp, void *driverbuf, offset_t offset,
size_t size);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
bp Pointer to the buffer header structure to copy from.
driverbuf Driver buffer to copy to.
offset Offset into bp where to start copying.
size Size of copy.
DESCRIPTION
The bp_copyin() function copies size bytes into the memory associated with bp to the destination driver buffer driverbuf. The offset only
applies to bp.
RETURN VALUES
Under normal conditions, 0 is returned to indicate a successful copy. Otherwise, -1 is returned if bp references invalid pages.
CONTEXT
The bp_copyin() function can be called from user or kernel context only.
SEE ALSO
bp_copyout(9F), bp_mapin(9F), bp_mapout(9F), ddi_copyout(9F), buf(9S)
SunOS 5.11 16 Oct 2007 bp_copyin(9F)