1. "weof" operation in "mt" command gives "permission denied"
Hi,
Some time ago I made a mistake and deleted my /dev directory. Since
then, I have had to occasionally run the "mknod" command to create a
device here and there. I did have a directory list of /dev, and I have
used that as a guide for which major and minor node numbers to use, and
which type of file to create.
Anyway, my Exabyte 8200 is /dev/nrst0, which is listed as:
crw-rw-rw- 1 root wheel 9, 128 Oct 29 09:30 /dev/nrst0
I am trying to write 2 eof marks after the end of file 0, so that I can
re-write file 1. The sequence that I use for this on the the same tape
at work (and this works just fine) is:
1) mt -f /dev/nrst0 asf 1 position after the first eof (after file 0)
2) mt -f /dev/nrst0 bsf 1 position before the first eof
3) mt -f /dev/nrst0 weof 2 make it look like file 0 is only file on tape
4) mt -f /dev/nrst0 bsf 1 position after the first eof
When I try this with linux, the weof command (step 3) results in:
mt: /dev/nrst0: Permission denied
Is this a problem with the driver, or is there something wrong with my
device definition. According to the man page, I should be able to do
this under Linux pretty much the same as it works under SunOS.
There is no problem writing to the tape otherwise.
I have Slackware 2.x.
thanks,
tw
2. Help: syntax error in shell script
3. Error messages in syslog about printing: "lock: permission denied"
4. adtran ISDN
5. "IP fw-in deny" message in /var/log/messages
6. New version of Mumail: 2.3b
7. How to remove "Denied connection from" from /var/log/messages?
8. I can copy to "a:" now, thanks to all ...
9. GETSERVBYNAME()????????????????????"""""""""""""
10. NCSA 1.4 giving false "file permissions deny server access" errors
11. INN gives 408 error "transfer permission denied"
12. PROBLEM: rlogin error: "rcmd: socket: Permission denied"
13. NFS and "Permission denied" error