tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* ls acting odd on mount point files
@ 2001-12-07 18:58 Trevor Osatchuk
  0 siblings, 0 replies; only message in thread
From: Trevor Osatchuk @ 2001-12-07 18:58 UTC (permalink / raw)
  To: tru64-unix-managers

I have a harddrive that is externally connected to my Alpha that is mounted
in the file system.  I am running 4.0d.  The mount point is
/usr/smalldir/bigdir.  The files used to reside in bigdir, but as they are
files that don't ever need to be backed up I wanted to put them on a
different drive and then mount them so that I could decrease the size of the
/usr dump.  So, I mounted the drive to /mnt did a gtar -cvpf
/usr/smalldir/bigdir | gtar -xvf - from the /mnt directory to move them.  

Is there an easier way besides tarring from the directory and piping to ( cd
/mnt ; gtar -xvpf - )?

Anyhoo, that put the files in /mnt/usr/smalldir/bigdir.  I went into bigdir
and did cd .. * and repeated until all of the files and directories were in
/mnt.  I umount'ed /mnt and then mounted the partition to /usr/bigdir/small
dir after deleting the files and directories there.  Now to the crux of my
problem.  When I do a `ls a*` I get something like this:

000001ofl.wtl
025049ofl.wtl
pscl_wtl.tar

This is not all of the files I have, but obviously none of the ones here
start with 'a'.  I have tried this in bash, chs and sh in case I was running
into some kind of shell peculiarity, but the result is the same.  Also, on
another machine where I have not yet performed this action I get the proper
response.  So, why do I get these strange results?  Did I mess something up
with my convoluted moving procedure?

Any insight would be apprecitated.

Trevor Osatchuk
Process Solutions Canada Ltd.
Support and Integration Analyst
(780) 452-2227 Ext. 286
trevor.osatchuk@pscl.com

Any man whose errors take ten years to correct is quite a man. 
          - J. Robert Oppenheimer, speaking of Albert Einstein 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-07 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-07 18:58 ls acting odd on mount point files Trevor Osatchuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox