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)
Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
iam geting a error with this index script. heres the error
Parse error: parse error in c:\phpdev\www\dev\compulearn\in work\index.php on line 39
Whats wrong??
------------------------
<?php
//display header and left bars
include ('header.php');
include ('left.php');
//connect... (13 Replies)
So here is goes to the Gurus of shell programming......I have tried a lot of different ways and its a very challenging code to write but i am enjoying it as i troubleshoot and hopefully someone can provide me a better option....Thank you in advance for your time and support....Much appreciated...
... (12 Replies)
Hi all,
I wanted to access two arrays (of same size) using one for loop.
Ex:
#!/bin/bash
declare -a num
declare -a words
num=(1 2 3 4 5 6 7)
words=(one two three four five six seven)
for num in ${num}
do
echo ":$num: :${words}:"
done
Required Output:
:1: :one: (11 Replies)
I am beginner in awk
awk 'BEGIN{for(i=1;(getline<"opnoise")>0;i++) arr=$1}{print arr}'
In the above script, opnoise is a file, I am reading it into an array and then printing the value corresponding to index 20. Well this is not my real objective, but I have posted this example to describe... (19 Replies)
Hi, I am trying to make a command to delete my files out the trash can, but one at a time.
I am currently using rm - i to do this, but the original file locations for restoring my files are heard on a .txt file which I am using as an index table.
How would I manage to make it so that if I... (21 Replies)
I'm trying to figure out a way to store the index value from a flat file. The flat file looks like this:
A1,A2,A4,A6,B3,B6,B7,C1,C2,C5,C7,D2,D5,D7,E2,E3,E4,F1,F5,F6,G2,G5
What I'm trying to achieve is to grab individual index value so as to display it out in a 7x7 matrix with ROW and COL... (21 Replies)
I met a challenge to filter ~70 millions of sequence rows and I want using awk with conditions:
1) longest string of each pattern in column 2, ignore any sub-string, as the index;
2) all the unique patterns after 1);
3) print the whole row;
input:
1 ABCDEFGHI longest_sequence1
2 ABCDEFGH... (12 Replies)
Hi!
Let's say I would like to convert "1", "2", "3" to "a", "b", "c" respectively. But if a record contains other number then return "X".
input:
1
2
3
4
output:
a
b
c
X
What is the syntax for:
if(array doesn't contain a particular index){
then print the value "X" instead} (12 Replies)
Hello,
I have a file with two columns like the following
FILE1:
chr1 61042
chr1 61153
chr1 61446
chr1 61457
chr1 61621
chr10 61646
chr10 61914
chr10 62024
chr10 62782
Alos, I have another file
FILE2: (13 Replies)
I am trying to search a given text in a file and find its last occurrence index. The task is to append the searched index in the same file but in a separate column. I am able to accomplish the task partially and looking for a solution.
Following is the detailed description:
names_file.txt
... (17 Replies)
I am trying to assign indexes to an associative array in a for loop but I have to use an eval command to make it work, this doesn't seem correct I don't have to do this with regular arrays
For example, the following assignment fails without the eval command:
#! /bin/bash
read -d "\0" -a... (19 Replies)
For over a decade, unix.com has been in the top tier for search referrals. The keyword "unix" used to rank #4, and when it was down, it was #9. At times, we were close to #2 on Google for the "unix" keyword. Now, in some geos (in the US for example yesterday), in Google search the "unix"... (28 Replies)
Well, Google throws the web a curve ball again:
I thought I was going to get a break from coding; but no.....
https://www.unix.com/members/1-albums215-picture1240.png (15 Replies)