10-03-2002
the size of a partion can you find with `df -k` command.
the current bytes in use of a directory you can find with `du -k .`
10 More Discussions You Might Find Interesting
1. Linux
I have a 50GB section of my hard drive on which I've kept all my music, movies and more back from when I had Windows. When I'm in linux it says that the NTFS section is a read only section. Is it possible to copy, rename, add, move or delete any files off of this section? I'm trying to get rid... (2 Replies)
Discussion started by: CTroxtell21
2 Replies
2. UNIX for Dummies Questions & Answers
Hiya people,
A great big "HI" to everybody. I'm new to the Forum and now to my problem(s).
I am about to partition my only 80GB HD and using the Partition Magic 8 software it looks fairly simple although here is my problem :-
1. Do I change the new partition to primary or logical?
2. Do I... (4 Replies)
Discussion started by: Syndrome_00
4 Replies
3. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
4. Solaris
Hi everyone :b:
I'm glade to join this forum and I have one question
I installed latest Solaris 10 release on SF V480 with 2 73 GB disks 8 GB RAM 4 CPU's
My configuration is 10GB for root, 8GB for Swap and 12GB for var.
I mirrored root, so disk 1 has 40GB free of space and disk 2 has... (11 Replies)
Discussion started by: HishamN
11 Replies
5. Shell Programming and Scripting
At my computer shop where I work, we got alot of used PC's from some place. It's my job to refurbish them for resale. Each computer comes with XP pro. So the boss man asks me if there is a way to put a XP restore option. I say yes if I install Linux on a small partion and use partimage to make a... (1 Reply)
Discussion started by: Zewbie
1 Replies
6. Linux
I can't control the partion order during install.
For example i need.
hda5 /var 1GB
hda6 /opt 2GB
I created them in such order but OS adjust them to
hda5 /opt 2GB
hda6 /var 1GB
It is frustrating during install, I pretty sure I can order the partion as i like... (0 Replies)
Discussion started by: honglus
0 Replies
7. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
8. Solaris
Hi all,
After restoring the / FS on a netra 240. It is unable to boot the system.
The message displayed is the following:
"The file just loaded does not appear to be executable"
Bellow, the content of /etc/vfstab before restoring:
#more /etc/vfstab... (0 Replies)
Discussion started by: faberarnold
0 Replies
9. UNIX for Advanced & Expert Users
Hello,
in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies
10. AIX
/dev/fslv01 5.00 2.90 42% 776 1% /movelv_testfslv01:/movelv_test
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0175 hdisk1 0111 hdisk0
0002 0176 hdisk1 0112 hdisk0
0003 0177 hdisk1 0113 hdisk0... (10 Replies)
Discussion started by: bobochacha29
10 Replies
lndir(1X) lndir(1X)
NAME
lndir - create a shadow directory of symbolic links to another directory tree
SYNOPSIS
lndir fromdir [todir]
DESCRIPTION
lndir makes a shadow copy todir of a directory tree fromdir, except that the shadow is not populated with real files but instead with sym-
bolic links pointing at the real files in the fromdir directory tree. This is usually useful for maintaining source code for different
machine architectures. You create a shadow directory containing links to the real source which you will have usually NFS mounted from a
machine of a different architecture, and then recompile it. The object files will be in the shadow directory, while the source files in
the shadow directory are just symlinks to the real files.
This has the advantage that if you update the source, you need not propagate the change to the other architectures by hand, since all
source in shadow directories are symlinks to the real thing: just cd to the shadow directory and recompile.
The todir argument is optional and defaults to the current directory. The fromdir argument may be relative (e.g., ../src) and is relative
to todir (not the current directory).
Note that RCS, SCCS, and CVS.adm directories are not shadowed.
Note also that if you add files, you must run lndir again. Deleting files is difficult because the symlinks will point to places that no
longer exist.
BUGS
The patch routine needs to be able to change the files. You should never run patch from a shadow directory.
Use a command like the following to clear out all files before you can relink (if the fromdir has been moved, for instance):
find todir -type l -print | xargs rm
The following command will find all files that are not directories:
find . ! -type d -print
lndir(1X)