Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dossrv(4) [plan9 man page]

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
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Wiping UNIX Hard Drive

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)
Discussion started by: rocky123
10 Replies

2. Shell Programming and Scripting

Hot Keys

I am a new user, using Unix in a DOS window. Can I set up Hot Keys to run a script? Example - A12.1.13.15 aaaaBbbbCccc Thank you, cwtlr (8 Replies)
Discussion started by: cwtlr
8 Replies

3. Windows & DOS: Issues & Discussions

Ms-DOS Download

Please where can i get the origanal MS-DOS, I need it. Not mandatory but botting from a floppy is best. (9 Replies)
Discussion started by: Irish Jimmy
9 Replies

4. Shell Programming and Scripting

dos_from_unix

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)
Discussion started by: ravi raj kumar
6 Replies

5. Shell Programming and Scripting

removing extra files in dos

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)
Discussion started by: namishtiwari
11 Replies

6. Shell Programming and Scripting

Building a script in Ubuntu (Linux) from existing DOS .cmd

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)
Discussion started by: dp123
11 Replies

7. IP Networking

Need to copy file from Linux to DOS.

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)
Discussion started by: mghis
10 Replies

8. Shell Programming and Scripting

Setting Variables WITHIN For Loop in DOS Command Shell

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)
Discussion started by: ProGrammar
4 Replies

9. Shell Programming and Scripting

gawk (dos) insert backslash at end of line

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)
Discussion started by: sdf
6 Replies

10. Windows & DOS: Issues & Discussions

Anatomy of DOS

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)
Discussion started by: cowLips
6 Replies

11. Shell Programming and Scripting

UNIX command to count blank lines in a file in DOS format

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)
Discussion started by: kmanivan82
4 Replies

12. UNIX for Dummies Questions & Answers

UNIX System V Mount Floppy Drive

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)
Discussion started by: BrentBANKS
23 Replies

13. Shell Programming and Scripting

Cygwin bash script to unmount and mount an XP partition

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)
Discussion started by: LMHmedchem
5 Replies

14. Shell Programming and Scripting

Nifty (and non-working) File Copy Using ls

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)
Discussion started by: LinQ
10 Replies