|
|
Back to UserFriendly Strip Comments Index
|
A (simple) Linux question. | by Khaar | 2003-07-11 13:01:28 |
| Mounting |
by yaeger |
2003-07-11 13:26:57 |
'man mount' will tell you a lot, and maybe too much.
General command (do it as root):
mount -t <filesystem type> <device> <mountpoint>
So you need to know what device to mount. The search for the right device can be hard, but usually I have a look at what 'fdisk' reports on a harddisk. It will not only give you the device numbers (like /dev/hda1), but also it's type. The '-t' option is optional, linux is usually able to work it out for itself. The mountpoint is usually a directory you created yourself, a logical location would be /mnt.
sample : mount -t auto /dev/hda1 /mnt/hda1
(this would mount the first partition of hda (usually the first reported drive in bios) to /mnt/hda1. From there you will see the filestructure of the mounted partition.
Some remarks: you can mount ntfs partitions, but do not expect to be able to write to them safely. If you recompiled the kernel with your own options make sure to turn on support for all the filesystems you need. |
|
[ Reply ] |
|
Oh darn it. | by Khaar | 2003-07-11 14:13:15 |
|
It should, | by yaeger | 2003-07-11 23:39:12 |
|
|
[Todays Cartoon Discussion]
[News Index]
|
|