Sometime Today, Satya assembled some asciibets to say:
> [root]/dev# l zero*
> crw-rw-rw- 1 root root 1, 5 May 6 1998 zero
> [root]/dev# mknod zero1 b 1 5
> [root]/dev# l zero*
> crw-rw-rw- 1 root root 1, 5 May 6 1998 zero
> brw-r--r-- 1 root root 1, 5 May 15 19:29 zero1
I am not entirely sure whethere zero and zero1 are the same device. They
may be, but it can't be guaranteed. See the block and character device
switch tables have separate entries in the kernel. When a system call is
made to access a special file, the kernel checks if it is a block or
character file and calls the appropriate service routine.
> [root]/dev# chmod 666 zero1
> [root]/dev# mount /dev/zero1 /root/a
> [MS-DOS FS Rel. 12,FAT 0,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
> [me=0x0,cs=0,#f=0,fs=0,fl=0,ds=0,de=0,data=0,se=0,ts=0,ls=0,rc=0,fc=4294967295]
> Transaction block size = 512
> VFS: Can't find a valid MSDOS filesystem on dev 01:05.
> mount: you must specify the filesystem type
This most likely because of what I said - all calls return null. I don't
know why it thinks that it is MS-DOS cause the media descriptor would have
to be 01 not 00 for MS-DOS.
Philip
--
Computer programs expand so as to fill the core available.
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener