DOSDIR(1) General Commands Manual DOSDIR(1)NAME
dosdir - list an MS-DOS directory [IBM]
SYNOPSIS
dosdir [-lr] drive
OPTIONS -l Long listing
-r Recursively descend and print subdirectories
EXAMPLES
dosdir -l A # List root directory on drive A
dosdir -r C x/y # Recursively list directory x/y
dosdir -r fd1 # List device /dev/fd1
DESCRIPTION
Dosdir reads standard IBM PC diskettes or hard disk partitions in MS-DOS format and lists their contents on standard output. Directory
names should contain slashes to separate components, even though MS-DOS uses backslashes. The names dosdir , dosread , and doswrite are
all links to the same program. The program sees which function to perform by seeing how it was called. A drive code of A causes the pro-
gram to use /dev/dosA, for example, a link to /dev/fd0. Similarly, to have hard disk partition 1 be DOS drive C, /dev/dosC could be a link
to /dev/hd1, and so on for other drive codes. A normal device name may also be used instead of a drive code.
DOSDIR(1)
Check Out this Related Man Page
HD(4) Linux Programmer's Manual HD(4)NAME
hd - MFM/IDE hard disk devices
DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major
device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave
hdd.
General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the
partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order
the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the
four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi-
cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions
on an IDE disk.
For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the
second one.
They are typically created by:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
...
mknod -m 660 /dev/hda8 b 3 8
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
...
mknod -m 660 /dev/hdb8 b 3 72
chown root:disk /dev/hd*
FILES
/dev/hd*
SEE ALSO chown(1), mknod(1), sd(4), mount(8)COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 HD(4)
SCO 5.07: How do I copy files to a USB memory stick?
The stick is formatted as a hd and has an active Unix partition using the hole stick for Unix.
How do I get acces to the stick? (1 Reply)
How do I transfer Plain Text and/or BMP image files between my WindowsXP PC and my AIX 4.1 PowerPC?
I have no network or USB options, just a Floppy disk drive and a CD drive on each machine.
Is it possible at all? Any help would be gratefully received:) (11 Replies)
How do I transfer Plain Text and/or BMP image files between my WindowsXP PC and my AIX 4.1 PowerPC?
I have no network or USB options, just a Floppy disk drive and a CD drive on each machine.
Is it possible at all? Any help would be gratefully received:) (7 Replies)
I would be extremely grateful for any help on the following matter.
Under AIX 5.1 and for years I have been using perfectly well a USB 3.5" disketted drive. But since yesterday, after a power failure disconnected my e-server, I have been unable to use the drive. Whatever <operation> I try to... (0 Replies)
Does anybody know the commands to access the data from a pen drive in a SCO Openserver 6.
What are the parameters to the mount command for accessing the USB port:confused: (9 Replies)
I have recently installed UNIX SysV on an old computer to try and expand my general knowledge of computers. I want to install NASM on it so I can begin working on some assembly language, but I am having trouble accessing the floppy disk with the files I need.
I've tried running
mount /dev/fd0... (23 Replies)