Author Topic: files?  (Read 661 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
files?
« on: 21 August 2002, 13:08 »
ummm i dled the openBSD install packages to /tmp/apps (i just made the dir) on Mandrake 6.0 Secure Server Edition, after dling i did ls and they wre there. I mv(ed) one file into the same folder from another folder. Now the only file in /tmp/apps is the file i moved there. Whats the deal???!!! Where did all my other files go???!!?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
files?
« Reply #1 on: 21 August 2002, 21:43 »
What was the exact command you used, and did the destination folder exist? i.e. you didn't mistype the destination?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
files?
« Reply #2 on: 23 August 2002, 05:03 »
i didnt, i searched for them manually. Then i did a find / base31.tgz
to find one of the files.
I just took off Mandrake and put on FreeBSD so i cant really give you any new information, but this has happened in RH 7.2 too (i have no clue what i did then, it was long ago)
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
files?
« Reply #3 on: 23 August 2002, 05:37 »
Well what I was getting is if you want to move a single file to a specific directory and you mistype the destination directory it will end up with a new file name of whatever you mistyped and not in the directory you intended (would be in the parent directory). This can happen in any version of UNIX, and even in Windows using the "move" command.  Is it possible that is what happened?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
files?
« Reply #4 on: 23 August 2002, 05:40 »
the filed I moved was in the right place. The files that were there in /tmp/apps that were supposed to be with it are missing.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
files?
« Reply #5 on: 23 August 2002, 06:10 »
Well, it's impossible to tell without knowing the exact command you used and what files were in the directory you were moving from.  That would certainly be a new one on me.  All I can tell you is files just don't disappear with no explanation. Did you get an error message (like maybe the destination file system was full)?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
files?
« Reply #6 on: 23 August 2002, 06:45 »
well.. this is exactly what i did:
i have 1 3GB root partition that has 44MB in it.
I had the files:
base31.tgz
comp31.tgz
misc31.tgz
game31.tgz
etc31.tgz
bsd
in the directory /tmp/apps/
from dling them with wget.
i did ls in /tmp/apps/ to get the listing of the files that were there (which are above).
the next day (computer was never shutoff, i logged out and back in).
I did
wget -nH http://url.to/file/xserv31.tg
i realized i didnt dl it in /tmp/apps/ so i did
mv xserv31.tgz /tmp/apps/
cd /tmp/apps
ls
then it listed only xserv31.tgz
i did
cd ..
ls
cd /tmp/apps
ls
cd /
ls
cd /tmp
ls
find / base31.tgz and it didnt find it.
then i came and posted this thread
 (in case ya didnt notice i was planning to install OpenBSD)
then i wget -nH http://all.those.file/again

[ August 22, 2002: Message edited by: Master of Reality / Bob ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
files?
« Reply #7 on: 23 August 2002, 06:55 »
Ha ha ha!!  I just realized where you were putting these files, under "/tmp".  Remember, you're not in Winblows anymore Toto.  Linux actually cleans up after itself, unlike Windows.  In RedHat there is a cron job that runs the "tmpwatch" command to clean out old files from "/tmp". See the "/etc/cron.daily/tmpwatch" script.

Also, there is a history of all of the commands that you ran by either typing "history" or by looking at your ".bash_history" file.

[ August 22, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
files?
« Reply #8 on: 23 August 2002, 07:19 »
i see.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
files?
« Reply #9 on: 23 August 2002, 07:41 »
tmpwatch, FUCK, thats were all my files went, ill will now use /smb
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
files?
« Reply #10 on: 23 August 2002, 07:49 »
I'm sorry, thought this would have been well known.  Guess it's good that m0r brought it up.  In fact on some UNIX systems "/tmp" is actually in RAM for speed. Programs use "/tmp" as a working area so being in RAM is an advantage (vi swap files, etc). It's well named. /tmp means "temporary".

Now that is the opposite philosophy that M$ uses.  "Temporary" means "Log every fucking place this luser has been".

[ August 22, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...