12-05-2003
Format disks
I need to decommission an old server which uses Unixware 2.1 and need to wipe the disks. Can anyone advise what the formatting command is as I'm not very familiar with this OS.
Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
for reading a cobol indexed file i need to convert "mmddyy" date format to "ccyyddd" format.
i checked the datecalc and other scripts but couldnt modify them to cater to my need:(...
The datecalc gives an output which i believe is the total days till that date, but i want to convert it... (2 Replies)
Discussion started by: Bhups
2 Replies
2. UNIX for Dummies Questions & Answers
:confused: Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on... (9 Replies)
Discussion started by: rajreddy
9 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
4. Shell Programming and Scripting
Hi All,
I have created a Unix Shell script whch creates a *.csv file and export it to Excel.
The problem i am facing is that Users wants one of the AMOUNT field in comma separted values. Example :
if the Amount has the value as 3000000 User wants to be in 3,000,000 format.
This Amount format... (2 Replies)
Discussion started by: rawat_me01
2 Replies
5. Shell Programming and Scripting
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies
6. Shell Programming and Scripting
Hi Folks,
I have written a perl script that reads data from excel sheet(.xls) using Spreadsheet::ParseExcel module. But the problem is this module doesn't work for excel sheets with extension .xlsx.
I have gone through Spreadsheet::XLSX module with which we can read from .xlsx file directly.... (1 Reply)
Discussion started by: giridhar276
1 Replies
7. Shell Programming and Scripting
"Help Me" Need script for transferring bulk files from one format to text format in a unix server.
Please suggest (2 Replies)
Discussion started by: Kranthi Kumar
2 Replies
8. Shell Programming and Scripting
I want to develop a script that I can run like follows:
./format_disks.sh <disk name 1>, <disk name 2>, etc...
Some background. I've create a VMware based virtual machine that has Solaris 5.11 installed on it. Initially, the only disk that is on this VM is the one that hosts the OS. ... (1 Reply)
Discussion started by: wdg74
1 Replies
9. Solaris
anyone have any idea how do to this with auth_attr?
I suspect if I grant him
solaris.device.:RO::Device Allocation::help=DevAllocHeader.html
that will work but I'm unsure. Just looking for a second opinion. (10 Replies)
Discussion started by: os2mac
10 Replies
10. Solaris
Greetings!
After block level migration using an external appliance, the luns are getting reported as DGC-RAID5 and these luns are infact from the new storage. I have a query on changing the device Vendor info from DGC-RAID5 to HP3par in the format o/p only.
AVAILABLE DISK SELECTIONS:
... (3 Replies)
Discussion started by: n_Bhaskar
3 Replies
LEARN ABOUT DEBIAN
ufiformat
ufiformat(8) System Manager's Manual ufiformat(8)
NAME
ufiformat - Format a USB floppy disk.
SYNOPSIS
ufiformat [ -hiqvV ] [ -f|--format [size]] [ devicepath ]
OPTIONS
-f, --format [size]
Specify format capacity SIZE in KB. Without -f option, the format of the current media will be used.
-V, --verify
Verify the medium after formatting. Only meaningful without -i option.
-F, --force
Do not perform any safety checks.
-i, --inquire
Show device information, instead of performing format. Without devicepath argument, list all USB floppy disk devices attached to
the system.
-v, --verbose
Be verbose.
-q, --quiet
Suppress minor diagnostics.
-h, --help
Show help message.
DESCRIPTION
ufiformat is a raw level formatting disk utility for USB floppy devices.
Raw level format is to write gap,index,sectors to the unformatted disk using special commands specific to the disk controller, to make the
plain magneto-sensitive film into sector-addressable medium. Note that raw level format is NOT about creating filesystems (fs(5)) on the
disk.
After mid-1990's, floppy disks are sold generally pre-formatted in MS-DOS 2HD format: 80 cylinder, 2 heads, 18 sectors/track, 512
bytes/sector; it is seldom in need for raw formatting. Nevertheless raw formatting could cure some disk and drive mismatchings.
WARNING: You will NOT raw format an LS-120 disks or (removable) hard disks; they are precision formatted in factory and cannot be raw
reformatted.
ufiformat supports only the following format capacities:
1440/1232/1200 (for 2HD disk)
720/640 (for 2DD disk)
The device should support the capacities also, otherwise ufiformat shows an error message.
The above format capacities are predefined in the program, but each USB floppy device also has a limited set of formats (defined
internally) that it can format media to. The allowed format capacities are obtained by querying (-i) the device, but this only returns the
total format capacity and not CHS (cylinder, heads and sectors), hence a mapping is required in the program.
EXAMPLES
Inquiry the device for available format:
# modprobe sg
# ufiformat -i /dev/sda
vendor: Y-E DATA
product: USB-FDU
write protect: off
media type: 2HD
status block size kb
formatted 2880 512 1440
formattable 2880 512 1440
formattable 1232 1024 1232
formattable 2400 512 1200
Format the floppy disk in 1.44MB, and create a FAT filesystem:
# ufiformat -f 1440 /dev/sda
# mkdosfs -I /dev/sda
PREREQUISTES
ufiformat needs /dev/sg* SCSI pass-thru device to operate. If the device does not exist, add the driver by invoking modprobe sg.
You often need to be root to do anything with /dev/sd*.
SEE ALSO
fdformat(8), floppy(8), sg(4)
"Universal Serial Bus Mass Storage Class - UFI Command Specification" Revision 1.0 December 14 1998
http://www.usb.org/developers/devclass_docs/usbmass-ufi10.pdf
ufiformat(8)