07-06-2003
somethign that migrants from windows to (unix
)'s might find confusing is the concept of one single file system hierarchy ( dont mind the spelling, its late). the different drives in windows, C: D: E:, etc etc, is a mistake left over from something never fixed in earlier versions of DOS. DOS has a merge command that will put and E: drive in a C:\somefolder\E which is similar to the UNIX filesystem. every single device in UNIX, be it the monitor or hardrive in unix will be located in the /dev/ directory. so lets say the first IDE drive which would have been C: in windows is mounted as /. this drive is really /dev/hda. probably /dev/hda2 and /dev/hda1 is the boot partition. anyway, if you wanted to copy a file from a cdrom, well, if I wanted to, i would put it in my home directory. so after executing the command mount /dev/cdrom (that should be in your /etc/fstab for convienience) i would execute, cp /cdrom/myfile /home/user1/myfile
the file located on your cdrom would then be copied to user1's home directory as 'myfile'. i hope that was clear and understandable. i just re read that and it looks alright. i will read it again and fix anything that dosnt make any sense tomorrow. hope that helped!
Last edited by norsk hedensk; 07-06-2003 at 12:02 PM..
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies
2. Shell Programming and Scripting
Hi:
I am a trying to write a script using a loop i guess. What I need to do is write a script that can allow my users to load a tape and copy a range of files from a tape to the hard disk. By range I mean, I would like the users to pick a range of numbers like files 3 - 8 and the script will... (0 Replies)
Discussion started by: msjazzie
0 Replies
3. Solaris
hi
i need help on how to reformat a hard disk. what should i do since i don't have any bootable disk. i'm using solaris 1 & 2 and also need to make a backup copy of the current hard disk. appreciate all the help i can get... (14 Replies)
Discussion started by: mr_balodoy
14 Replies
4. UNIX for Dummies Questions & Answers
:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on
"The following file systems are low, and could adversely affect server performance:
File system /: 99%full"
Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies
5. Filesystems, Disks and Memory
Hi,
I am writing a script to wipe my hard disk, in a relatively secure manner by over-writing the disk with 3 patterns. So, I run the dd/dcfldd command 3 times with a sync call in between each command call in the script.
#!/bin/sh
dcfldd pattern=99 conv=notrunc of=/dev/sda
sync
dcfldd... (7 Replies)
Discussion started by: jake24
7 Replies
6. SCO
Dear All,
I have a standalone desktop with SCO Openserver V 5, this is used to control a machine with custom written software. The problem is that the machine manufacturer has closed shop (bankruptcy) and there is no support on software.
As a precaution I would want to make a complete backup of... (3 Replies)
Discussion started by: iqbal_siddiqui
3 Replies
7. UNIX for Dummies Questions & Answers
I have found a question from the exercises of my study mat. The question is
"Why are there a in-core copy and a disk-copy of i-node block and super block?"
If any one know the proper answer then please send me..... (1 Reply)
Discussion started by: dearanik
1 Replies
8. SCO
hi
I've a fresh installation of SCO 5.0.7 on the IDE hard disk.
For SCSI hard disk I can declare, for example blc disk driver using:
# mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies
9. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
10. Solaris
Hi,
I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies