Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-03-2005, 10:27 PM
|
#1
|
Member
Registered: Dec 2003
Location: Long Beach, CA
Distribution: haven't settled on one.
Posts: 251
Rep:
|
unable to untar a directory
I'm trying to untar a directory. specifically, the tarred directory is the /proc/bus/usb directory.
the command line tells me that I need to "specify one of the '-Acdrtux' options". I've looked in the man pages and google, but I can't seem to get anywhere.
I have tried
"tar -xvf"
"tar -C -xvf"
"tar -CDS -xvf"
and so on...
could someone teach me how this is done? The tar file is named usb2_tar
|
|
|
06-03-2005, 10:54 PM
|
#2
|
Member
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669
Rep:
|
run
file usb2_tar post what it says im thinking its compressed and the file name is not in .tar.bz2 or .tar.gz. you can name a file anything in linux it doesn't use extensions like windows
|
|
|
06-03-2005, 11:12 PM
|
#3
|
Member
Registered: Dec 2003
Location: Long Beach, CA
Distribution: haven't settled on one.
Posts: 251
Original Poster
Rep:
|
# file usb2_tar
Code:
usb2_tar: POSIX tar archive
|
|
|
06-04-2005, 12:38 AM
|
#4
|
Member
Registered: Dec 2003
Location: Long Beach, CA
Distribution: haven't settled on one.
Posts: 251
Original Poster
Rep:
|
I see now. All I had to do was RENAME the file and replace the _underscore with a .period
|
|
|
06-04-2005, 12:59 AM
|
#5
|
Member
Registered: Dec 2003
Location: Long Beach, CA
Distribution: haven't settled on one.
Posts: 251
Original Poster
Rep:
|
"cannot create directory: ...no such file or directory"
I'm the root user, but for somereason, I am not allowed to make the directory /proc/bus/usb.
I have a copy of the directory (I e-mailed to myself) in my /home direcory. If I try copying or moving it to /proc/bus/usb, I'm told that I cannot create the directory because it doesn't exist.
that makes no sense to me.
could someone teach me how to get around this.
-I currently have no "usb" directory in /proc/bus
-There is a full "usb" direcory in my /home directory, named "usb2"
-I want to copy or move "usb2" to "/proc/bus/usb"
-I have tried cp -rpf usb2 /proc/bus/usb
|
|
|
06-04-2005, 01:18 AM
|
#6
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
/proc does not have write permission even under root...
dr-xr-xr-x 86 root root 0 Jun 3 12:11 proc/
KC
|
|
|
06-04-2005, 01:22 AM
|
#7
|
Member
Registered: Dec 2003
Location: Long Beach, CA
Distribution: haven't settled on one.
Posts: 251
Original Poster
Rep:
|
oh darn..
Last edited by trickykid; 06-04-2005 at 10:08 AM.
|
|
|
06-04-2005, 10:08 AM
|
#8
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
I also merged your threads together since your discussing and asking about /proc directory.. so the discussion is all in one place and not scattered about.
|
|
|
All times are GMT -5. The time now is 01:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|