Well...we have two questions here...
1. To add files to the root directory, you need to be logged in as root. Typically the permissions set to the root directory are as follows:
drwxr-xr-x 22 root root 4096 2006-01-03 13:06 .
This means that root owns the root directory, and everyone has read and execute permissions to it. In order for you to get access to it you will need to be root.
2. For the C:\ directory, you first need to know where it is located in relation to the partitions on the system. You may be able to tell which partition it is by the size and by looking at /proc/partitions. Once you know which partition it happens to be (say /dev/hda1 or /dev/sda1), you can then mount it to a location. For instance, the following would mount a FAT32 partition in linux:
$ mount -t vfat /dev/hda1 /mnt/c-drive
This would mount the partition /dev/hda1 to the mount location /mnt/c-drive. You will need root permissions in order to do this as well.
If your C: drive is an NTFS partition, it is possible to mount that drive as well:
$ mount -t ntfs /dev/hda1 /mnt/c-drive
Understand that you can only mount NTFS drives read-only.
|