On May 14, 2000 at 23:12, Philip S Tellis wrote:
>What I want to know now - and this is something Amit and I spoke about on
>Saturday - is can you mount a non disk device?
># mount /images/mybin.img /home/philip/bin
>Where mybin.img would be a file that is basically an image of an ext2
>diskette containing all my bin files.
Well, it doesn't work on:
[root]~# mount --version
mount: mount-2.9o
What I so is, create a ramdisk, dd the file image to it, and mount *that*.
># mount /dev/zero /some/where
mount: /dev/zero is not a block device
>Well, actually it would fail simply because /dev/zero is not a block
>device. But what if we had a block equivalent of /dev/zero Then what?
[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
[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
[root]/dev#
BTW,
alias l='ls -lp'
--
Satya. http://satya.virtualave.net/
FREE! Email reminder service at http://satyaonline.cjb.net/rem.html
US-bound grad students! For pre-apps, see http://quickapps.cjb.net/
Who stole my tagline?
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