DOSSRV(4) Kernel Interfaces Manual DOSSRV(4)NAME
dossrv, 9660srv, a:, b:, c:, eject - DOS and ISO9660 file systems
SYNOPSIS
dossrv [ -v ] [ -s ] [ -f file ] [ service ]
9660srv [ -v ] [ -s ] [ -f file ] [ service ]
a:
b:
c:
eject [ n ]
DESCRIPTION
Dossrv is a file server that interprets DOS file systems. A single instance of dossrv can provide access to multiple DOS disks simultane-
ously.
Dossrv posts a file descriptor named service (default dos) in the /srv directory. To access the DOS file system on a device, use mount
with the spec argument (see bind(1)) the name of the file holding raw DOS file system, typically the disk. If spec is undefined in the
mount, dossrv will use file as the default name for the device holding the DOS system.
Normally dossrv creates a pipe to act as the communications channel between itself and its clients. The -s flag instructs dossrv to use
its standard input and output instead. The kernels use this if they are booting from a DOS disk. This flag also prevents the creation of
an explicit service file in /srv.
The -v flag causes verbose output for debugging.
The shell script a: contains
unmount /n/a: >[2] /dev/null
mount -c /srv/dos /n/a: /dev/fd0disk
and is therefore a shorthand for mounting a floppy disk in drive A. The scripts b: and c: are similar.
9660srv is identical to dossrv in specification, except that it interprets ISO9660 CD-ROM file systems instead of DOS file systems.
If the floppy drive has an ejection motor, eject will spit out the floppy from drive n, default 0.
EXAMPLE
Mount a floppy disk with a DOS file system on it.
dossrv
a:
SEE ALSO kfs(4)SOURCE
/sys/src/cmd/dossrv
/sys/src/cmd/9660srv
/rc/bin/eject
DOSSRV(4)
Check Out this Related Man Page
MSDOSFS(5) BSD File Formats Manual MSDOSFS(5)NAME
msdosfs -- MS-DOS file system
SYNOPSIS
options MSDOSFS
DESCRIPTION
The msdosfs driver will permit the FreeBSD kernel to read and write MS-DOS based file systems.
The most common usage follows:
mount -t msdosfs /dev/ada0sN /mnt
where N is the partition number and /mnt is a mount point. Some users tend to create a /dos directory for msdosfs mount points. This helps
to keep better track of the file system, and make it more easily accessible.
It is possible to define an entry in /etc/fstab that looks similar to:
/dev/ada0sN /dos msdosfs rw 0 0
This will mount an MS-DOS based partition at the /dos mount point during system boot. Using /mnt as a permanent mount point is not advised
as its intention has always been to be a temporary mount point for floppy and ZIP disks. See hier(7) for more information on FreeBSD direc-
tory layout.
SEE ALSO mount(2), unmount(2), mount(8), mount_msdosfs(8), umount(8)AUTHORS
This manual page was written by Tom Rhodes <trhodes@FreeBSD.org>.
BSD October 1, 2013 BSD
Hello all, Maybe someone can help? Please?!?!?
How do I wipe a UNIX hard drive, For dos I use Norton. Is there something like that for UNIX. I am just barley understanding UNIX, so please forgive my ignorance. Also, is there a government approved method of sanitization?
Thanks (10 Replies)
Hi, :)
Is it possible to access a file stored in dos drive say 'c:/' from shell prompt.
The situation is i have to copy a file from dos to unix directory.
if it is possible then how?
cheers
RRK (6 Replies)
Hi,
I have same file by name
i want to keep only access file and want to delete rest. This is specific to DOS only.
Any idea of doing this. I tried so many options but none worked for me.
Thanks
Namish (11 Replies)
Greetings,
I would be very grateful to anyone who is willing to help and knows there scripting and how to convert a DOS CMD script. :)
In this posting I am also hoping to pass on information to anyone wanting to see a bit of VMware command line stuff.
I have made a script (batch file) that runs... (11 Replies)
I have two PCs with Ubuntu 10.4 and DOS 5.0, which are connected with a 9 pins serial cable.
I need to copy some files from the Linux box to the DOS box.
I tried UUCP but it's too difficult and i didn't found a working client for DOS.
Can you help me? Thanks for any reply! (10 Replies)
I'm wondering if any of you could lend an assist with a small problem.
First, I'm under the impression I need to use Delayed Environment Variable Expansion (DEVE), based on other things I've read across the web.
Summary: trying to use command shell (cmd.exe) in XP sp3 (if that's relevant) to... (4 Replies)
I have created with the DOS-command dir a list of a directory.
Directory of C:\Users\User\Documents
09.06.2011 20:50 48.322 file1.txt
02.11.2010 23:00 9.216 file2.txt
15.12.2010 21:06 26.793 file2.txt
Now i would like to add the directory ahead of the filename. Therefore a... (6 Replies)
Hello
Where is there a good source to receive an understanding of MS DOS.
I have tried google books " MS DOS ", no luck.
i did try " command prompt " , no luck.
the subject " seems " to be dry. no water flowing in that creek.
what would be good search terms.
I would like to aim towards the... (6 Replies)
Hi Team,
The content of the file is as follows.
asdf
234
asdf
asdf
dsfg
gh
67
78
The file is in DOS format (not in Unix Format). The file is transferred to Unix. I need a unix command to check the number of blank lines in a input (comming from Windows). If it is greater than... (4 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)
As stated, I am looking into keeping my backup drive unmounted in normal windows use. Partly this is to address threats like cryptolocker. Since one of my backup drives is an internal drive, it will not likely afford any protection from such a threat. I am thinking of adding code to my rsync script... (5 Replies)
Greetings :)
Got a basic one to muddle through tonight; and hoping for a smidgen of help 'long the way ;)
Here 'tis:ls ./dir1/ | grep -i .jpg | xargs cp -f ./dir1/$1 ../../dir2/$1Simple enough; and to this amateur eye, it looks like things should work pretty well. But, of course, it tanks... (10 Replies)