CLI, accessing another drive

Glenn glennervin at cableone.net
Mon Jan 7 21:14:28 EST 2013


Hi Chuck,
Thank you for instructions, rather than recommending that I read the manual.
Glenn
----- Original Message ----- 
From: "Chuck Hallenbeck" <chuckh at ftml.net>
To: "Glenn" <glennervin at gmail.com>; "Speakup is a screen review system for 
Linux." <speakup at linux-speakup.org>
Sent: Monday, January 07, 2013 5:06 AM
Subject: Re: CLI, accessing another drive


Hi Glen,

On Sun, 6 Jan 2013, Glenn wrote:

> Hi,
> I know that other drives are devices such as /dev/sdb, or /dev/hdc, and 
> the
> like.
> But I am messing with Arch Linux, with Speakup, and I want to install 
> Voxin,
> and I will plug in a thumb drive, it will probably be /dev/sdd.
> can I just work my way to the folder in Arch that I want to put the 
> install
> file, and do something like:
> cp /dev/sdd/voxin-enu-4.3.tgz
> and bring it in?
> I am used to copying files with Ubuntu, and only using the CLI for
> installation of the files.
> Glenn
>
You must mount the device, such as /dev/hdb1, /dev/sdb1, or the like, to a
point in your file system. Linux usually makes an empty directory available
for that purpose, such as /mnt, or /media. The mounbt command might look
like this:

# mount /dev/sdb1 /mnt

The number sign indicates that you must be root to do that. Once it is
mounbted, you can then use the cp command to copy your file from
/mnt/filename,  or /media/filename, just as though it were already present
on your system. You can also write to that device by referring to it as
/mnt, delete stuff from it, and so on, being careful when finished to
unmount it, something like this:

# umount /mnt

or

# umount /dev/sdb1

Either form is correct, and the unmount command is really spelled umount,
no kidding.

Chuck



> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>

-- 

Chuck in Hudson, i.e., Hudson on the Hudson.
_______________________________________________
Speakup mailing list
Speakup at linux-speakup.org
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup 



More information about the Speakup mailing list