I have a pen drive1 with UFS file system and it has 43G used. It has a hell lot of soft links to other files which are located in a second pen drive2. We partitioned the file system on sun sparc machine, such that / has around 150G space.Now when we are copying the files from pen drive 1 to / on the sun machine, the space on the machine has already increased to 69G without full copy. What could be the reason. I am using df -h to check the space. Are soft links using space?? if so , so much??
There is some confusion here. When you give the copy command a source name that is a symbolic link - the "big" file - the one the link refers to gets copied.
Does not create a second link, it goes to the source instead and copies that. So you get lots of data.
Why else would a command like vi linkname allow you to actually change a file? Links are not like some kinds of filesystem objects example: snapshots that simply contain delta data.
Short answer : use the ln command to "copy" a link.
Also note that symlinks never tell you that the original files does not exist - until you try to stat or open that file. You can symlink across filesystems, but it is fraught with problems if you are not careful. Your USB symlink copy could rapidly become pointless.
I want to run solaris10 with my pxelinux server
i put on pxelinux.cfg/default this
LABEL solaris 10
kernel mboot.c32
append -solaris solaris/boot/platform/i86pc/kernel/unix -v -m verbose install dhcp nowin nfs://192.168.0.2/jumpstart/config.tar -B install_media=192.168.0.2:/solaris... (0 Replies)
Hi
I want to create softlinks, my source files and folders are placed in one server(hostname: info-1) and i want to access those files from different host(hostname :info-2).
file and folder names in info-1 host.
file1
folder1
Thanks,
Mallik. (1 Reply)
How do i make a hardlink readable,writable, and executable by me?
I am kinda hoping for a command i can use
Also, i was wondering what file type are hardlinks and softlinks?Are they directories? (10 Replies)
Hello I'm trying to do an exercise programming in bash where I have to get only the store of files in a directory but NOT all capacity of the directory.
I probe with: du -sh "$directory"*` but I get all the capacity and I probe with ls command but I couldnt.
Are there any way to get only files... (2 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Hi All
How can we verify if any of the parameters we have change in Solaris10 after reboot. Like is there any command? Please advice
Thanks (3 Replies)
hi to all,
I am newuser can anyone tell me from where i get the sun solaris 10 dumps.
plz mail me at (no email addresses - read the RULES of these forums) (2 Replies)
Hello,
I got an IHS 6.1 installed and want to publish a directory with an index of files, directories and symlinks / symbolic links / soft links, last ones being created with the usual Unix command "ln -s .... ....".
In httpd.conf I've tried following for that directory:
Options Indexes... (1 Reply)
Hi all,
I wrote a small shell (bash) script and it was executing well. I'm getting problem when I use this in crontab. My script is:
#!/usr/bin/bash
mkdir `date '+%m-%d-%y'`
cd `date '+%m-%d-%y'`
cvs co -r br_name module
cd dir1/dir2/dir3
bash build.sh
this is doing well... (7 Replies)
sorry,my english is poor.
who can install win2003 and solaris10 in one pc ?
my win2000server in hda1
so
frist install win2003 in hda5
second install solaris10 in hda2
but after install over,the win2003 can't logon in. alway let me press<ctrl>+<alt>+<del>.
why? (1 Reply)