Sponsored Content
Top Forums UNIX for Dummies Questions & Answers UNIX System V Mount Floppy Drive Post 302832393 by BrentBANKS on Sunday 14th of July 2013 09:01:45 PM
Old 07-14-2013
Unfortunately, I have a different version of format. ( there was a typo in my last post under format, I will fix it)

Code:
format [-f first] [-l last] [-i interleave] [-v] [-V] [-E] NOTES: -E implies -V

I formatted with
Code:
format /dev/rdsk/f0

It seemed to format just fine, but i still cant mount it.

I do have a make file system tool, mkfs.
Code:
mkfs -F ufs /dev/rdsk/f0
mkfs -F ufs /dev/rdsk/f03h

If i run either of those commands, i just end up with this prompt
Code:
ufs usage: mkfs [-F FSType] [-V] [-m] [-o options] special size [nsect ntrak bsize fragsize cgsize free rps nbpi opt apc gap]

I've read about tools like floppy, fdformat, rmformat, but UNIX Sys V is old enough that it doesn't have any of those. I think mkfs is the way to go. (I read about newfs, but i dont have it either).
Thanks for your help.

---------- Post updated at 08:01 PM ---------- Previous update was at 07:26 PM ----------

I take that back. I can mount it using the -F fdfs option.
Code:
mount -F fdfs /dev/dsk/f0 /mnt

It shows the drive the drive is mounted. This is the contents of the /mnt directory.
Code:
0 10 12 14 16 18 2 21 23 4 6 8
1 11 13 15 17 19 20 22 3 5 7 9

Is this correct, will i be able to copy files to and from, or should i try and format the drive as UFS?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. BSD

Floppy drive problem.

My FreeBSD install at ad0s1, and Windows 2000 at ad2s1. Everytime I start my FreeBSD, it shows me this message: fdc0: cmd 3 failed at out byte 1 of 3 pmtimer 0 on isa0 fdc0: cannot reserve I/O port range (6 ports) My Floppy drive info: 0x03F2 - 0x03F3 0x03F4 - 0x03F5 0x03F7 - 0x03F7... (6 Replies)
Discussion started by: _cs
6 Replies

3. UNIX for Advanced & Expert Users

mount a floppy in UNIX BSDi 3

Anybody know how to mount a floppy in BSDi3 UNIX? Have tried all the standard commands with no luck. This includes: mount /dev/fd0 /mnt/floppy mount /mnt/floppy (3 Replies)
Discussion started by: jpalmer320
3 Replies

4. UNIX for Dummies Questions & Answers

Mount a network computer/drive in unix?

:D hey all, how do you scan/mount a network drive or computer/directory? thanks (2 Replies)
Discussion started by: emplate
2 Replies

5. UNIX for Dummies Questions & Answers

Floppy will not mount on SUSE

I have installed SUSE 10 on a laptop that has a swappable CDROM/Floppy drive. When I was installing the OS my CDROM was connected. Later I tried to swap it with the Floppy and mount it but no success. Here is what I get: dell:/dev # mount -t msdos /dev/fd0 /mnt /dev/fd0: Invalid argument ... (0 Replies)
Discussion started by: reedcat
0 Replies

6. AIX

mount floppy, to be sure

Hi there, I never touch a AIX because i'm used to work on FreeBSD. I'll have to copy some file from a floppy to an AIX. Just to be sure is the mount command the same ? I mean a simple mount /dev/fd0 /floppy should work ? Thanks :) (1 Reply)
Discussion started by: Yogz
1 Replies

7. UNIX for Dummies Questions & Answers

Mount a windows drive on unix

Hi, I would like to be able to mount windows xp to a unix system, so that I can pull data from windows machine for backup and store it on the unix server. Does anyone know how I can go about mounting the windows drive in unix. Thanks, Eric (4 Replies)
Discussion started by: ejbrever
4 Replies

8. Solaris

Solaris 10 floppy drive problem

I have inserted a diskette but I don't see the files nor the floppy drive. These are the commands I ran. #volcheck -v #rmformat With rmformat, only the CD-ROM is listed. I don't see any floppy drive. How can I get my floppy drive to work?? I know it is connected b/c when I boot in XP, I... (0 Replies)
Discussion started by: kungpow
0 Replies

9. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

10. UNIX for Advanced & Expert Users

How to Mount a Unix share drive on Windows

We are trying to mount a Unix share drive on a Windows 2003 server to avoid transfering files accross the network using sftp. I can see shared drives on the Solaris server using the "share" command. How can I mount the drives on my Windows server so that I can read them directly. Do I need... (2 Replies)
Discussion started by: rbdenham
2 Replies
mkfs_ufs(1M)						  System Administration Commands					      mkfs_ufs(1M)

NAME
mkfs_ufs - construct a UFS file system SYNOPSIS
mkfs -F ufs [generic_options] [-o FSType_specific_options] raw_device_file [size] DESCRIPTION
The UFS-specific module of mkfs builds a UFS file system with a root directory and a lost+found directory (see fsck(1M)). The UFS-specific mkfs is rarely run directly. Use the newfs(1M) command instead. raw_device_file indicates the disk partition on which to create the new file system. If the -o N, -V, or -m options are specified, the raw_device_file is not actually modified. size specifies the number of disk sectors in the file system, where a disk sector is usually 512 bytes. This argument must follow the raw_device_file argument and is required (even with -o N), unless the -V or -m generic options are specified. generic_options are supported by the generic mkfs command. See mkfs(1M) for a description of these options. OPTIONS
The following generic options are supported: -m Print the command line that was used to create the existing file system. -V Print the current mkfs command line. OPTIONS
The following UFS-specific options are supported: -o Use one or more of the following values separated by commas (with no intervening spaces) to specify UFS-specific options: apc=n The number of alternate sectors per cylinder to reserve for bad block replacement for SCSI devices only. The default is 0. This option is not applicable for disks with EFI labels and is ignored. bsize=n The logical block size of the file system in bytes, either 4096 or 8192. The default is 8192. The sun4u architec- ture does not support the 4096 block size. cgsize=n The number of cylinders per cylinder group, ranging from 16 to 256. The default is calculated by dividing the num- ber of sectors in the file system by the number of sectors in a gigabyte. Then, the result is multiplied by 32. The default value is always between 16 and 256. The per-cylinder-group meta data must fit in a space no larger than what is available in one logical file system block. If too large a cgsize is requested, it is changed by the minimum amount necessary. fragsize=n The smallest amount of disk space in bytes that can be allocated to a file. fragsize must be a power of 2 divisor of bsize, where: bsize / fragsize is 1, 2, 4, or 8. This means that if the logical block size is 4096, legal values for fragsize are 512, 1024, 2048, and 4096. When the logical block size is 8192, legal values are 1024, 2048, 4096, and 8192. The default value is 1024. For file systems greater than 1 terabyte or for file systems created with the mtb=y option, fragsize is forced to match block size (bsize). free=n The minimum percentage of free space to maintain in the file system between 0% and 99%, inclusively. This space is off-limits to users. Once the file system is filled to this threshold, only the superuser can continue writing to the file system. The default is ((64 Mbytes/partition size) * 100), rounded down to the nearest integer and limited between 1% and 10%, inclusively. This parameter can be subsequently changed using the tunefs(1M) command. gap=n Rotational delay. This option is obsolete in the Solaris 10 release. The value is always set to 0, regardless of the input value. maxcontig=n The maximum number of logical blocks, belonging to one file, that are allocated contiguously. The default is cal- culated as follows: maxcontig = disk drive maximum transfer size / disk block size If the disk drive's maximum transfer size cannot be determined, the default value for maxcontig is calculated from kernel parameters as follows: If maxphys is less than ufs_maxmaxphys, which is typically 1 Mbyte, then maxcontig is set to maxphys. Otherwise, maxcontig is set to ufs_maxmaxphys. You can set maxcontig to any positive integer value. The actual value will be the lesser of what has been specified and what the hardware supports. You can subsequently change this parameter by using tunefs(1M). mtb=y Set the parameters of the file system to allow eventual growth to over a terabyte in total file system size. This option sets fragsize to be the same as bsize, and sets nbpi to 1 Mbyte, unless the -i option is used to make it even larger. If you explicitly set the fragsize or nbpi parameters to values that are incompatible with this option, the user-supplied value of fragsize or nbpi is ignored. N Print out the file system parameters that would be used to create the file system without actually creating the file system. nbpi=n The number of bytes per inode, which specifies the density of inodes in the file system. The number is divided into the total size of the file system to determine the number of inodes to create. This value should reflect the expected average size of files in the file system. If fewer inodes are desired, a larger number should be used. To create more inodes, a smaller number should be given. The default is 2048. The number of inodes can increase if the file system is expanded with the growfs command. nrpos=n The number of different rotational positions in which to divide a cylinder group. The default is 8. This option is not applicable for disks with EFI labels and is ignored. nsect=n The number of sectors per track on the disk. The default is 32. ntrack=n The number of tracks per cylinder on the disk. The default is 16. This option is not applicable for disks with EFI labels and is ignored. opt=s|t The file system can either be instructed to try to minimize the time spent allocating blocks, or to try to mini- mize the space fragmentation on the disk. The default is time. This parameter can be subsequently changed with the tunefs(1M) command. rps=n The rotational speed of the disk, in revolutions per second. The default is 60. Note that you specify rps for mkfs and rpm for newfs. This option is not applicable for disks with EFI labels and is ignored. Alternatively, parameters can be entered as a list of space-separated values (without keywords) whose meaning is positional. In this case, the -o option is omitted and the list follows the size operand. This is the way newfs passes the parameters to mkfs. OPERANDS
The following operands are supported: raw_device_file The disk partition on which to write. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
fsck(1M), mkfs(1M), newfs(1M), tunefs(1M), dir_ufs(4), attributes(5), ufs(7FS) DIAGNOSTICS
The following error message typically occurs with very high density disks. On such disks, the file system structure cannot encode the proper disk layout information. However, such disks have enough onboard intelligence to make up for any layout deficiencies, so there is no actual impact on performance. The warning that performance might be impaired can be safely ignored. Warning: insufficient space in super block for rotational layout tables with nsect sblock.fs_nsect and ntrak sblock.fs_ntrak. (File system performance may be impaired.) The following error message occurs when the disk geometry results in a situation where the last truncated cylinder group cannot contain the correct number of data blocks. Some disk space is wasted. Warning: inode blocks/cyl group (grp) >= data blocks (num) in last cylinder The following error message occurs when the best calculated file system layout is unable to include the last few sectors in the last cylin- der group. This is due to the interaction between how much space is used for various pieces of meta data and the total blocks available in a cylinder group. Modifying nbpi and cpg might reduce this number, but it is rarely worth the effort. Warning: num sector(s) in last cylinder group unallocated NOTES
You can use lofiadm to create a file that appears to the mkfs command (for example, mkfs_pcfs or mkfs_ufs) as a raw device. You can then use the mkfs command to create a file system on that device. See lofiadm(1M) for examples of creating a UFS and a PC (FAT) file system on a device created by lofiadm. Both the block and character devices, such as devices in /dev/dsk and /dev/rdsk, must be available prior to running the mkfs command. SunOS 5.10 6 Nov 2003 mkfs_ufs(1M)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy