how to access my flopy and cdrom in minix

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
bgcq

how to access my flopy and cdrom in minix

Post 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?
Whatever5k

Re:how to access my flopy and cdrom in minix

Post 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.
bgcq

Re:how to access my flopy and cdrom in minix

Post 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
???
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:how to access my flopy and cdrom in minix

Post 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.
Whatever5k

Re:how to access my flopy and cdrom in minix

Post 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.
Tim

Re:how to access my flopy and cdrom in minix

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:how to access my flopy and cdrom in minix

Post by Pype.Clicker »

does it have FAT12 (at least)?
Curufir

Re:how to access my flopy and cdrom in minix

Post 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.
Post Reply