/dev/hda1 is a device file.  it is the kernel's abstraction of the
physical collection of the disk blocks that make up a partition.

raw tools like dd can overwrite those blocks. if you want to destroy
/dev/hda1's data try dd'ing or cat'ing /dev/zero to it.

however to read it in the normal way as a filesystem you need something
that will understand the filesystem that resides on the disk blocks.
enter mount, which understands various filesystems.

On Mon, 24 May 2004 11:12:42 +1200
Don Gould <[EMAIL PROTECTED]> wrote:

> That worked...
> 
> There must be a basic concept idea that I'm missing here but why can't I
> just see the volume at /dev/hda1 ? 
> 
> Why do I have to mount it?
> 
> Sorry if this is a dumb ass question.
> 
> Cheers Don
> 
> On Mon, 2004-05-24 at 10:33, Nick Rout wrote:
> > first make a place to mount it
> > 
> > # mkdir /mnt/win
> > 
> > then mount it
> > 
> > #mount /dev/hda1 /mnt/win
> > 
> > it should pick up the filesystem type automatically, if not re run the
> > command like:
> > 
> > #mount -t vfat /dev/hda1 /mnt/win
> > 
> > then you will be able to browse the file system under /mnt/win
> > 
> > it will be mounted with permissions root;root, you can change thit like
> > this:
> > 
> > first establish your uid and gid:
> > 
> > #id don
> > 
> > if it tells you your uid=1000 and your gid=500 then:
> > 
> > mount /dev/hda1 /mnt/win -o uid=1000,gid=500
> > 
> > On Mon, 24 May 2004 10:22:49 +1200
> > Don Gould <[EMAIL PROTECTED]> wrote:
> > 
> > > The first patition on the disk is Fat32.
> > > 
> > > How do I see (mount?) that within rh9?
> > > 
> > > Cheers Don

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to