🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #47787

Re: beginner needs help on cp to fdisk

#47787
From: Gavin Rogers
Date: Sat, 02 Jan 1999 00:00
40 lines
1682 bytes
Grant Williams <grantandlinda@bigpond.com> wrote:

> The question is, how do i copy a file to a fdisk.  Does the fd need to be
> specially formatted or something.  As you guessed, I'm also new to unix
> etc...

Okay. Assuming the kernel you are using has support for the vfat (i.e. FAT16 +
long file names), then you can copy files to/ from MSDOS/Windows running
machines.

For simplicity (you can get stuck in the icky details later!) I'll assume you
are using formatted floppies.

You first need to mount the floppy disk so as far as any programs are
concerned, the floppy is part of the hard disk file system:

mount /dev/fd0 /floppy -t vfat

This mounts the first floppy drive (/dev/fd0) on to the directory /floppy,
using the vfat file system.

Copy the files as normal. (cp * /floppy)

Lastly, to ensure all data has been written to the floppy, unmount the disk by
typing:

umount /dev/fd0


And don't worry about it - we were all new to computers (and linux) one day!

cya.
Gavin.


---
                 rogersge@ses.curtin.edu.au
                 progersgr@cc.curtin.edu.au
                    grogers@omen.com.au
               http://www.omen.com.au/~grogers
Technical Details
Message-ID: <8h6l67.vj2.ln@voyager>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <368cc308.0@139.134.5.33>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,c7aa178042db7fa9
X-Google-Attributes: gid102983,public
From: Gavin Rogers <grogers@omen.com.au>
Subject: Re: beginner needs help on cp to fdisk
Date: 1999/01/02
Message-ID: <8h6l67.vj2.ln@voyager>
X-Deja-AN: 427987904
References: <368cc308.0@139.134.5.33>
Organization: Debian GNU/Linux site
User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (Linux/2.1.125 (i486))
Newsgroups: aus.computers.linux