Re: [newbie] can't remember how to mount hda1

2002-08-04 Thread Mad Scientist

On Sunday 04 August 2002 03:10 am, Sean Goh wrote:
> eri'm a real newbiewhat does it mean to mount?

A filesystem (usually on a disk partition, floppy disk, or cdrom) can only be 
accessed after it's been mounted. Mounting sets a flag on the filesystem so 
that if there is a sudden crash or power failure, on reboot, the system knows 
that the partition may not be in a consistent state. During a proper 
shutdown, all filesystems are unmounted once their buffers have been properly 
written to disk. Of course, read-only filesystems like cdroms don't have any 
flags set. 

Mounting also assigns where the filesystem will appear in the directory tree. 
Unlike the DOS world where disks get assigned (somewhat arbitrary) drive 
letters, in Linux, the entire directory structure is a single tree under /. 
You select where your disks will appear. For example, you might mount your 
old windows partition under /mnt/windows while mounting your floppy disk 
under /mnt/floppy. Of course, they don't have to be under /mnt. They could 
appear anywhere in the filesystem. Often, the home directory is on a separate 
partition so that a system re-install doesn't affect user data. Therefore, 
/home is a mounted partition.

Type "mount" at a command prompt to see what is currently mounted on your 
system. The output will be

 on  type  

filesystem type could be ext2 or ext3 for native Linux, ntfs or dos for old 
Windows partitions, or something else. Options could include "r" for read 
only, "rw" for read/write, etc.

See man mount for more details.

-Mad

-- 
Madness is soil in which creativity grows

 - Chris Bielek



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] can't remember how to mount hda1

2002-08-04 Thread John Richard Smith

Sean Goh wrote:

> eri'm a real newbiewhat does it mean to mount?
>
> Sean
>
> Mad Scientist wrote:
>
>>On Thursday 01 August 2002 11:00 pm, you wrote:
>>  
>>
>>>i was wondering how to mount  hda1  so i can  access my win xp files
>>>even though i hate win xp.
>>>
>>>
>>
>>mount /dev/hda1 /mnt/disk
>>
>>Replace /mnt/disk with your mountpoint.
>>
>>-Mad
>>
>>  
>>
>>
>>
Amend /etc/fstab, add something like

/dev/hda1 /mnt/WXP ntfs iocharset=iso8859-15,defaults 0 0

Add a new subdirectory in  /mnt

/mnt/WXP

In terminal
run

mount -a

And you can browse XP files , but don't write to them .
All this assumes NTFS XP install,
otherwise change ntfs to vfat, for FAT32

John

-- 
John Richard Smith
[EMAIL PROTECTED] 






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] can't remember how to mount hda1

2002-08-04 Thread Sean Goh




eri'm a real newbiewhat does it mean to mount?

Sean

Mad Scientist wrote:

  On Thursday 01 August 2002 11:00 pm, you wrote:
  
  
i was wondering how to mount  hda1  so i can  access my win xp files
even though i hate win xp.

  
  
mount /dev/hda1 /mnt/disk

Replace /mnt/disk with your mountpoint.

-Mad

  
  

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
  


-- 

"...if my people, who are called by my name, will humble themselves and pray and seek my face and turn from their wicked ways, then will I hear from heaven and will forgive their sin and will heal their land. " - 2 Chron 7:14





Re: [newbie] can't remember how to mount hda1

2002-08-01 Thread Sridhar Dhanapalan

On Fri, 02 Aug 2002 00:00:21 -0600, Brent Warren <[EMAIL PROTECTED]> wrote:
> i was wondering how to mount  hda1  so i can  access my win xp files 
> even though i hate win xp.

# mount /dev/hda1 /mnt/win_c

where /mnt/win_c is the directory where you want to make the mount. You may need
to add the '-t [FILESYSTEM]' parameter as well. So if /dev/hda1 is FAT, add '-t
vfat', and if it's NTFS, add '-t ntfs'. NTFS support is read-only.

-- 
Sridhar Dhanapalan

"What difference does it make to the dead, the orphans, and the homeless,
whether the mad destruction is wrought under the name of totalitarianism or the
holy name of liberty and democracy?" -- Mohandas Gandhi



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] can't remember how to mount hda1

2002-08-01 Thread Mad Scientist

On Thursday 01 August 2002 11:00 pm, you wrote:
> i was wondering how to mount  hda1  so i can  access my win xp files
> even though i hate win xp.

mount /dev/hda1 /mnt/disk

Replace /mnt/disk with your mountpoint.

-Mad

-- 
Madness is soil in which creativity grows

 - Chris Bielek



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] can't remember how to mount hda1

2002-08-01 Thread Brent Warren

i was wondering how to mount  hda1  so i can  access my win xp files 
even though i hate win xp.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com