02-27-2002
A not-so-known thing about FreeBSD:
I wanted to duplicate a disk, but couldn't for the life of me get it to work - how the H#&& do I get the SCSI-emulator to work, grrrr!!
Then I found burncd, worked right off the IDE, just like I would have done it.
".. just like I would have ... hmm, lets try .."
# cat /dev/acd0 >file.iso
YES! That is the way to duplicate a disk under FreeBSD:
You cat the CD and pipe it to the CD-R!
I became a _dedicated_ BSD fan after that :-)
Atle
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
has any body put freebsd on a drive smaller than 80megs? (4 Replies)
Discussion started by: silverraindog
4 Replies
2. UNIX for Dummies Questions & Answers
I am trying to install a tape drive on this system (Unix 7.1.1)
where will I start?
1. Do I need to load the driver on the on board scsi? How?
2. Is there a driver for the tape drive itself?
Things done:
1. Terminated the device on the controller board. (4 Replies)
Discussion started by: a4tech
4 Replies
3. UNIX for Dummies Questions & Answers
I don't know if this can be done, otherwise, my project will come to
a screeching halt.
I have a SCO 5.0.5 machine connected to the internet with a static
IP address.
I need to be able to share a drive : /shareddrive
I need to map to it from a windows machine:
hence, what i'd like to... (3 Replies)
Discussion started by: gseyforth
3 Replies
4. UNIX for Advanced & Expert Users
Hello,
I will be processing 47000 zip files each of size 5.5 MB.
Following operation will be performed for each zip file:
1. Unzip the file.
2. Read each text and binary file.
3. Preprocess the files.
4. Store the files in different tables in Oracle.
5. Delete the extracted... (7 Replies)
Discussion started by: joshivaibhav
7 Replies
5. UNIX for Dummies Questions & Answers
hi :)
I need to delete partial duplicate lines
I have this in a file
sihp8027,/opt/cf20,1980182
sihp8027,/opt/oracle/10gRelIIcd,155200016
sihp8027,/opt/oracle/10gRelIIcd,155200176
sihp8027,/var/opt/ERP,10376312
and need to leave it like this:
sihp8027,/opt/cf20,1980182... (2 Replies)
Discussion started by: C|KiLLeR|S
2 Replies
6. UNIX for Dummies Questions & Answers
One of our production systems has a slice called "oldslice" that periodically runs low on space during normal operation. We have minimum requirements for online data retention, and whoever sized this slice didn't give it much wiggle room, so it periodically runs low on space. I'm getting tired of... (1 Reply)
Discussion started by: the.gooch
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have a fixed width unix file with 2 columns containing the following data
ZTXX_CTBR1-ZBRAN1 ZTXX_CTBR1-ZBRAN_DESC
01 CASH & CARRY
02 DRUGSTORE - RX
04 ... (4 Replies)
Discussion started by: chumsky
4 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
Can any one help me on this.
I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive?
Regards,
LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
9. Shell Programming and Scripting
Ultimately, I'm looking to create a script that allows me to plug in a usb drive with lots of jpegs on it & copy them over to a folder on my hard drive. So in the process of copying I am looking to hash check them, record dupes to a file, copy only 1 of the identical files (if it doesn't exsist... (1 Reply)
Discussion started by: JonaQuinn
1 Replies
10. UNIX for Beginners Questions & Answers
Dear team , thanks for your support. I am trying to not to duplicate a thread if one is already there for what I am looking, which I am not able to figure out. Is it OK if I post the post the following question in new thread.
--- What follows was in blue.. we are to avoid using colours as we want... (4 Replies)
Discussion started by: ar103081
4 Replies
LEARN ABOUT HPUX
diskinfo
diskinfo(1M) diskinfo(1M)
NAME
diskinfo - describe characteristics of a disk device
SYNOPSIS
character_devicefile
DESCRIPTION
The command determines whether the character special file named by character_devicefile is associated with a SCSI or floppy disk drive. If
so, summarizes the disk's characteristics.
The command displays information about the following characteristics of disk drives:
Vendor name Manufacturer of the drive (SCSI only)
Product ID Product identification number or ASCII name
Type Floppy or SCSI classification for the device
Disk Size of disk specified in bytes
Sector Specified as bytes per sector
Both the size of disk and bytes per sector represent formatted media.
Options
The command recognizes the following options:
Return the size of the disk in 1024-byte sectors.
Display a verbose summary of all of the information
available from the device. For floppy drives, this option has no effect.
SCSI disk devices return the following:
Vendor and product ID
Device type
Size (in bytes and in logical blocks)
Bytes per sector
Revision level
SCSI conformance level data
DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. However, one diagnostic message deserves further clarification. If the command
fails to access the lunpath corresponding to a given special file, it displays the following diagnostics data, which contains device iden-
tification and capability information:
device type 127 (unknown); device is inaccessible
iso ecma ansi rmb dtq resv rdf
WARNINGS
As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in particular, will respond to inquiries as if they were SCSI devices. There-
fore, the text "SCSI describe" in the output of the command does not definitively mean that the disk is in fact a SCSI drive (especially in
the case of CD-ROMs). Use to check which type of INTERFACE node, SCSI or IDE, the device's hardware path lies beneath, in order to defini-
tively determine a drive's interface.
DEPENDENCIES
General
The command supports floppy and HP SCSI disk devices.
SCSI Devices
The SCSI specification provides for a wide variety of device-dependent formats. For non-HP devices, may be unable to interpret all of the
data returned by the device. Refer to the drive operating manual accompanying the unit for more information.
AUTHOR
was developed by HP.
SEE ALSO
ioscan(1M), lsdev(1M), disktab(4), disk(7).
diskinfo(1M)