Page 1 of 1
how to access my flopy and cdrom in minix
Posted: Fri May 09, 2003 5:04 am
by bgcq
hi,
i use mount /dev/fd0c /usr,the msg:it is not a valid fs?
how do i do,and how to access a cdrom in minix?
Re:how to access my flopy and cdrom in minix
Posted: Fri May 09, 2003 6:00 am
by Whatever5k
What is /dev/fd0c, I do not know this device. If you want to mount a floppy disk in UNIX, you probably do:
mount -t <file_type> /dev/fd0 /floppy/
It may be sufficient to leave out the -t argument, if not try -t ext2, -t msdos and some others.
For CD-ROM, I would try /dev/cdrom or /dev/hdc.
Re:how to access my flopy and cdrom in minix
Posted: Sat May 10, 2003 10:05 am
by bgcq
thanks,
i can use setup /usr to access a flopy that use fdvol a taz file to flopy,and vol -r /dev/fd0|uncompress|tar xvfp - to pross a file in flopy,but how can i read a asscii file on flopy?such as .txt?
my windows on hd1,and minix on hd3,can i in minix acess a file on hard disk of windows?if can ,how to do?
best regard 73
???
Re:how to access my flopy and cdrom in minix
Posted: Sat May 10, 2003 12:09 pm
by Pype.Clicker
i'm not sure of the directory structure in Minix, but i don't think it's a wise idea to use /usr as a mount point for your floppy ...
Once your floppy is mounted (either in /floppy or /usr if you prefer), you just have to go to the mount point (cd /floppy) and you'll have all your files there. You can then inspect the content of a text file using regular file tools like cat, more, vi, etc.
Re:how to access my flopy and cdrom in minix
Posted: Sun May 11, 2003 3:16 am
by Whatever5k
bgcq wrote:
my windows on hd1,and minix on hd3,can i in minix acess a file on hard disk of windows?if can ,how to do?
If it is NTFS file format:
mount -t ntfs /dev/hda1 /windows/
Don't use /usr/ as mount point.
Re:how to access my flopy and cdrom in minix
Posted: Sun May 11, 2003 5:07 am
by Tim
However, remember that this is Minix and not Linux. Minix definitely didn't have an NTFS driver included in the basic source code, or even a FAT32 driver.
Re:how to access my flopy and cdrom in minix
Posted: Mon May 12, 2003 1:45 am
by Pype.Clicker
does it have FAT12 (at least)?
Re:how to access my flopy and cdrom in minix
Posted: Mon May 12, 2003 5:11 pm
by Curufir
Ok, to try things out I went and dug up my Minix CD, here's the roundup.
Minix recognises two kinds of filesystems, V1 of the Minix filesystem, and ... *drumroll* ... V2 of the Minix filesystem. This means that you need to use mkfs on a floppy to get a useable disk under Minix, Fat12 won't be recognised (I know, because I checked).
Drive a: (As MS insists on calling it) is mounted with
mount /dev/fd0 /path_to_some_directory
or
mount -r /dev/fd0 /path_to_some_directory
if you want it mounted read only
mkfs can be used on drive a: with
mkfs /dev/fd0
on an unmounted disk.
There is a CD audio player (cdplay), but presumably it reads off the disk in raw binary and processes the data as such. There's no support for the standard CD filesystems, so it's unlikely you'll get any CDs to mount.
Hope that helps.