10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
LD:=C:/WindRiver/diab/5.9.3.0/WIN32/bin/dld.exe
CFILES:=$(wildcard *.c)
OBJFILES:=$(subst .c,.o, $(CFILES))
OBJ_PATH:=$(PRJ_PATH)/out/
ADDOBJFILES := $(addprefix $(OBJ_PATH),$(OBJFILES))
FILES:=C:/EB/tresos/workspace/Test_Spi/output/src
copyfiles:
cp ... (3 Replies)
Discussion started by: ushacy
3 Replies
2. AIX
Hi Folks,
I am facing an issue with the performance.
P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes
P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies
3. Solaris
I have somehow taken on the collateral duties of System Administrator for our small internal network. At current we have one main file server with 48 SATA swappable drives under the Solaris 10 OS.
My question is this. Our analysts are bringing back data from the field in Windows formatted... (8 Replies)
Discussion started by: cbrowne20
8 Replies
4. Shell Programming and Scripting
I am trying to copy a folder which contains a list of C executables.
It takes 2 mins for completion,where as the entire script takes only 3 more minutes for other process.
Is there a way to copy the folder faster so that the performance of the script will improve? (2 Replies)
Discussion started by: prasperl
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
my router is my Linux embedded device.
I have system installed on HDD 4GB usb stick, part1 swap, part2 /opt , part3 data.
I need to copy my system to new HDD 8GB usb stick.
What is a way for 4GB > 4GB HDD
and what for 4GB > 8GB
As I remeber, I can copy image of my 4GB HDD usb stick... (7 Replies)
Discussion started by: jack2
7 Replies
6. UNIX for Dummies Questions & Answers
Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D
I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4.
The current HDD is an IBM DGHS COMP IEC -950
FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies
7. UNIX for Dummies Questions & Answers
Hey, I was wondering how I can write/edit files on my FreeBSD hdd from windows XP. I specifically need to fix a change I made to /boot/defaults/loader.conf that made it impossible to boot into my FreeBSD hdd. It's a simple fix, but since I can't boot into FreeBSD, I have to fix it from my Windows... (2 Replies)
Discussion started by: Xandor
2 Replies
8. Filesystems, Disks and Memory
Hi there,
Here I have an old HP LC3 server from a client of ours.
The server was running in Raid1 Mirror mode.
Yesterday the server didn't boot anymore and now
I have concluded that 1 drive is damaged.
I pulled it out so it can boot from the "good" one.
Unfortuanally this didn't work.
I... (3 Replies)
Discussion started by: severt
3 Replies
9. Solaris
I've just replaced the secondary disk drive (was 4 Gb) with a Seagate Barracuda 7200 200 Gb. However the OS seems to think this is only 500 Mb and a spin speed of 5400, although it correct recognises the drive as Seagate ST3200822A.
I take it that it still thinks the old drive is attached. How... (5 Replies)
Discussion started by: wiggiesworld
5 Replies
10. UNIX for Advanced & Expert Users
HI ALL,
I need to backup HDD with SCO UNIX. I need to have a full functionaly backup of this hard disk. Does anybody have any tool or subsription how to do it. I tried some SW, but after when I tried to use this copy of my original disk "can not find a root directory". Thanks in advance. (1 Reply)
Discussion started by: jardas
1 Replies
PREP(8) System Manager's Manual PREP(8)
NAME
prep, format - prepare hard and floppy diskettes
SYNOPSIS
disk/prep [ -ra ] special [ type ]
disk/format [ -t type ] [ -f ] [ -d ] [ -b bfile ] [ -c csize ] [ -l label ] drive [ files ... ]
DESCRIPTION
A partition table is stored on a hard disk to specify the division of the physical disk into a set of logical units. On Plan 9 the parti-
tion table is a list of triples: name, starting sector, and ending sector. The kernel fabricates the first two partitions, disk and parti-
tion; the disk partition records the starting and ending sectors for the whole disk, and the partition partition, typically the last sector
on the disk, holds the partition table itself.
Special is the maximal prefix of names of the logical units on the disk, for example #w/hd0. Prep reads and prints the associated parti-
tion table and then enters a simple interactive mode to control editing the table.
The options are:
-r (read only) prohibits writing the table on disk.
-a automatically create default partitions if no partition table already exists. These include partitions for DOS, a boot kernel, an
NVRAM substitute, a kfs(4) file system, and, if room remains, a swap partition.
Format prepares for use the floppy diskette in the disk file named drive, for example /dev/fd0disk. The options are:
-f Do not physically format the disc. Used to install an MS-DOS filesystem on a previously formatted disc. With this option, drive can
be a plain file.
-t specify a density and type of disk to be prepared. The possible types are:
31/2DD 31/2" double density, 737280 bytes
31/2HD 31/2" high density, 1474560 bytes
51/4DD 51/4" double density, 368640 bytes
51/4HD 51/4" high density, 1146880 bytes
The default is the highest possible on the device, unless -f is used, in which case the default is 31/2HD.
-d add MS-DOS parameter block, file access table (FAT), and root directory to the start of the floppy.
The remaining options have effect only when -d is specified:
-b use the contents of bfile as the bootstrap block installed in sector 0.
-c use a DOS cluster size of csize sectors when creating the DOS FAT.
-l add a label when creating the DOS parameter block.
Again under -d, any files listed are added, in order, to the root directory of the MS-DOS filesytem. The files are contiguously allocated
and created with the READONLY attribute set.
The file /sys/src/boot/pc/bb is an example of a suitable bfile to make the disk a boot disk. It gets loaded by the BIOS at 0x7C00, reads
the root directory into address 0x7E00, and looks at the first root directory entry. If that file is called B.COM, it uses single sector
reads to load the file into address 0x10000 and then jumps to the loaded file image.
EXAMPLE
Create a Plan 9 boot floppy on a previously formatted diskette:
disk/format -f -b bb -d /dev/fd0disk /386/b.com
SOURCE
/sys/src/cmd/disk/prep.c
/sys/src/cmd/disk/format.c
/sys/src/boot/pc/bb.s
SEE ALSO
floppy(3), wren(3), b.com(8)
PREP(8)