PDA

View Full Version : duplication between the partitions?


BSAKing
05-03-2003, 10:12 PM
If I uderstand this correctly, things are duplicated between the partitions?

I have this:

Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda7 126911 26630 93728 22% /
/dev/hda9 126911 1040 119318 1% /var

and I am missing file

"//tvlib/tcl/tv/StatusStrings.itcl"

Can I somehow access it on the backup partition? If so, how? I'm not a great Linux guru and the mount setups get me confused.

thanks.:p

Robert S
05-06-2003, 01:45 PM
Well, there are two sets of system partitions, but that's not the same as saying they're duplicates. On a new disk, one set will be empty (mount will probably ask you to specify file system type rather than declaring that the partition is empty).

If the partition does contain files, it'll be from the previous version of the software, so it may not be sensible to try to run files from the inactive partition.

However, it shouldn't be hard to mount it. You need a directory to act as a mount point. You probably have a directory called /mnt already, but you can create one with mkdir.

mount /dev/hda4 /mnt

should make the contents of the filing system on hda4 appear below /mnt, so your file should be

/mnt/tvbin/tcl/tv/StatusStrings.itcl

If you copy it to /var you might need to do chmod +x to make it executable.

Remember to do

umount /mnt

to unmount the partition when you're finished with it.