The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

A (simple) Linux question. by Khaar2003-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 Khaar2003-07-11 14:13:15
      It should, by yaeger2003-07-11 23:39:12

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)