Sponsored Content
Full Discussion: finding hardware settings
Top Forums UNIX for Dummies Questions & Answers finding hardware settings Post 16046 by divvy on Sunday 24th of February 2002 07:20:04 PM
Old 02-24-2002
use the command format to see the capacity of your hard drive.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

setting constant hardware settings

Let me give a little background on the problem. I am trying to hook up a unix box through a KVM to a display. The KVM is connected to a windows box as well. When I run the mouse and monitor directly to the unix box it works pretty well. However when I trie to load it through the KVM the keyboard... (0 Replies)
Discussion started by: Winzernotman
0 Replies

2. Shell Programming and Scripting

finding duplicate files by size and finding pattern matching and its count

Hi, I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern. Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies

3. Solaris

problem in finding a hardware problem

Hi I am right now facing a strange hardware problem. System get booted with the following error: Fatal Error Reset CPU 0000.0000.0000.0003 AFSR 0100.0000.0000.0000 SCE AFAR 0000.07c6.0000.1000 SC Alert: Host System has Reset It happen 4 or 5 times and get the same error every time.I... (8 Replies)
Discussion started by: girish.batra
8 Replies

4. AIX

hyperlink settings

Does anyone know the hyperlink settings to look at an AIX5L box? (1 Reply)
Discussion started by: vbagwell
1 Replies

5. Linux

Ip settings

Hi, How to set ip address in linux. Regards, Guguli (1 Reply)
Discussion started by: guguli
1 Replies

6. UNIX for Advanced & Expert Users

user settings

Hello I wonder... lets say I have to set up very very restricted rights to a user that only should be able to access logfile Y in catalogue X and nothing else. Current user is going to use Putty to access current unix machine. Is it possible to set up user settings so a user is just able to... (1 Reply)
Discussion started by: mimaca
1 Replies

7. UNIX for Dummies Questions & Answers

finding hardware config - HP-UX

HP-UX B.11.23 U ia64 model: HP RX7640/4 What commands can I issue to find out quantity/type of memory and CPUs? I know what I get from Glance but want to know if there are OS commands to get same or additional information. Thanks. Lisa (4 Replies)
Discussion started by: LisaS
4 Replies

8. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

9. UNIX for Advanced & Expert Users

Finding the hardware model name remotely

First, forgive me if this is a stupid questions that I should have asked in the non-expert forum. It seems like a hard questions to me. Is there a way to find the hardware model name from the command line on UNIX machines in general? I want to find out what kind of machines are running at a... (5 Replies)
Discussion started by: Pug
5 Replies

10. Solaris

Solaris 11 no sound despite finding hardware

Hello Everyone, I'm new to Solaris, less than a week to give an idea how green I am.:eek: Although new to UNIX, I've been running Linux (i.e. OpenSUSE, Ultimate Edition, Arch, and obviously Ubuntu) for many years, so, I decided to put Solaris 11 on my 12 core opteron. I had a bit of difficulty... (23 Replies)
Discussion started by: Nostradamus1973
23 Replies
mformat(1)						      General Commands Manual							mformat(1)

NAME
mformat - mtools utility to add a DOS file system to a low-level formatted diskette SYNOPSIS
mformat [-t tracks] [-h heads] [-s vectors] [-l volumelabel] drive: OPTIONS
Specifies the number of tracks (not cylinders) on the diskette. Specifies the number of heads (sides) on the diskette. Specifies the num- ber of sectors per track. Specifies the volume label. This is an optional option. DESCRIPTION
Note You must specify the floppy disk storage device that is to be formatted. If you do not specify a device, or if a device is not found, the command may incorrectly format a SCSI device which could be a system or data disk. The mformat command adds a minimal DOS compatible file system (boot sector, FAT, and root directory) to a UNIX formatted diskette. If the diskette is unformatted, you must low-format the disk. You can do this with a PC system, or on Tru64 UNIX using either the scu utility or the fddisk utility, depending on your floppy drive. Tru64 UNIX supports both FDI and SCSI attached 3.5" floppy drives with DD, HD, or ED media. Not all floppy drives are compatible with ED media. The following track/head/sector values are supported: --------------------------------------------------------------- Media Capacity Tracks Heads Sectors type KB/MB Bytes Sectors -t -h -s --------------------------------------------------------------- DD 720KB 737280 1440 80 2 9 HD 1.44MB 1474560 2880 80 2 18 ED 2.88MB 2949120 5760 80 2 36 --------------------------------------------------------------- To format a diskette for other than the ED 2.88MB default capacity, you must specify the number of sectors per track with the -s option. No error is returned if you use mformat to put an ED file system onto an HD floppy, but you will get errors from other utilities if you try to write beyond the physical end of the media. RESTRICTIONS
The following restrictions apply: The mformat command requires a low-level format utility from UNIX. The mformat command does not detect (or record) bad block information. EXIT STATUS
The following exit values are returned: Success. Failure. EXAMPLES
In the following example, a SCSI floppy diskette is formatted at the ED 2.88MB capacity, then a DOS file system is initialized with mfor- mat: $ /sbin/scu -f /dev/rdisk/dsk/6a format density ED $ mformat a: In the following example, an FDI floppy diskette is formatted at the HD 1.44MB capacity, then a DOS file system is initialized with mformat, a file is copied to the diskette, and the mdir command is used to check the contents of the diskette. The mlabel command is used to add a label and mdir is used to again check the diskette contents. Finally, a DD file system is placed on the diskette, mcopy is used to place a file on it, and mdir is used to verify the diskette contents: $ fddisk -fmt /dev/rfd0a NOTE: Setting interleave factor to ``-i2:4''. Use ``-i<nnn>[:<ccc>]'' option to override. Disk type: 3.50 inch, HD (1.44MB) Number of sectors per track: 18 Number of surfaces: 2 Number of cylinders: 80 Sector size: 512 interleave factor: 2:4 Formatting disk... Percentage complete: Format complete, checking... Quick check of disk passes OK. $ mformat -s 18 a: $ mcopy README a: Copying README $ mdir a: Volume in drive A has no label Directory for A:/ README 769 6-04-97 8:59a 1 File(s) 1456640 bytes free $ mlabel a: Volume in drive A is unlabeled Enter the new volume label (11 characters): hddisk $ mdir a:Volume in drive A is hddisk Directory for A:/ README 769 6-04-97 8:59a 1 File(s) 1456640 bytes free $ mformat -s 9 -l dddisk a: $ mcopy README a:README.1 $ mdir a: Volume in drive A is dddisk Directory for A:/ README 1 769 6-04-97 9:16a 1 File(s) 729088 bytes free In the following example, an unformatted 2.8Mb floppy diskette is formatted using the scu command, followed by the mformat command. Once it is formatted by both the scu and mformat commands, it is ready for use: $ /sbin/scu -f /dev/disk/floppy format density ED $ mformat -t 80 -h 2 -s 36 a: FILES
Executable file SEE ALSO
Commands: mlabel(1), mtools(1) Utilities: fddisk(8), scu(8) Floppy disk interface: fd(7) mformat(1)
All times are GMT -4. The time now is 05:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy