* CLI, accessing another drive
@ Glenn
` Gregory Nowak
` Chuck Hallenbeck
0 siblings, 2 replies; 4+ messages in thread
From: Glenn @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CLI, accessing another drive
CLI, accessing another drive Glenn
@ ` Gregory Nowak
` Chuck Hallenbeck
1 sibling, 0 replies; 4+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Glenn, Speakup is a screen review system for Linux.
On Sun, Jan 06, 2013 at 11:05:05PM -0600, 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?
If you do what you wrote above, cp will tell you the destination
argument is missing or something like that. What you're proposing
wouldn't work anyway, even if you did provide the destination. In
GNU/Linux devices are referred to as files. So, /dev/sdd is a name for
your flash drive. You need to mount the contents of that device onto a
directory under /, then you can use the cp command. I would suggest
you do some reading up on the basics (use your favorite search
engine). Also, have a look at the mount(8) manual
page.
Greg
--
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
--
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CLI, accessing another drive
CLI, accessing another drive Glenn
` Gregory Nowak
@ ` Chuck Hallenbeck
` Glenn
1 sibling, 1 reply; 4+ messages in thread
From: Chuck Hallenbeck @ UTC (permalink / raw)
To: Glenn, Speakup is a screen review system for Linux.
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@linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>
--
Chuck in Hudson, i.e., Hudson on the Hudson.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CLI, accessing another drive
` Chuck Hallenbeck
@ ` Glenn
0 siblings, 0 replies; 4+ messages in thread
From: Glenn @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi Chuck,
Thank you for instructions, rather than recommending that I read the manual.
Glenn
----- Original Message -----
From: "Chuck Hallenbeck" <chuckh@ftml.net>
To: "Glenn" <glennervin@gmail.com>; "Speakup is a screen review system for
Linux." <speakup@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@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@linux-speakup.org
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
CLI, accessing another drive Glenn
` Gregory Nowak
` Chuck Hallenbeck
` Glenn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).