Red Hat Configuration - Auto mnt NTFS volume - how?

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Configuration > June 2004 > Auto mnt NTFS volume - how?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Auto mnt NTFS volume - how?
Huey Fong

2004-06-06, 2:49 am

Hi all...
I have Fedora Core 2 on my PC with Windows 2k as the primary OS. I have a
heap of files on the 2k partitions I need to regularly get at, edit and save
again from Fedora while I learn up and migrate to Linux.
My question(s) is:
Can someone tell me please how I automount the (2) Windows partitions at
boot time? For that matter, can you tell me please how I mount the
partitions at all? Mount /dev/hda does not work so something is obviously
missing from the statement.

Another issue is the Via Firewire card I use under Windows to access my
Epson 4870 flatbed scanner. Anyone know where to get a driver for the card
please?

Thanks in advance,
Huey


Lenard

2004-06-06, 4:50 pm

On Sun, 06 Jun 2004 06:16:18 +0000, Huey Fong wrote:

> Hi all...
> I have Fedora Core 2 on my PC with Windows 2k as the primary OS. I have
> a heap of files on the 2k partitions I need to regularly get at, edit
> and save again from Fedora while I learn up and migrate to Linux. My
> question(s) is:
> Can someone tell me please how I automount the (2) Windows partitions at
> boot time? For that matter, can you tell me please how I mount the
> partitions at all? Mount /dev/hda does not work so something is
> obviously missing from the statement.


First Redhat/Fedora does not support NTFS out of the box, if your Windows
2000 partitions are NTFS visit; http://linux-ntfs.sourceforge.net/

Second, read 'man mount' and 'man fstab' to learn how to mount (and
automount) partitions.


> Another issue is the Via Firewire card I use under Windows to access my
> Epson 4870 flatbed scanner. Anyone know where to get a driver for the
> card please?


Sorry can't help you with this question.

--
"In short, without this exclusive franchise, called the Windows API,
we would have been dead a long time ago." M$ Senior VP Bob Muglia '96
Kakadu

2004-06-06, 4:50 pm

On Sun, 06 Jun 2004 16:53:26 +0000, Lenard wrote:

> On Sun, 06 Jun 2004 06:16:18 +0000, Huey Fong wrote:
>
>
> First Redhat/Fedora does not support NTFS out of the box, if your Windows
> 2000 partitions are NTFS visit; http://linux-ntfs.sourceforge.net/
>
> Second, read 'man mount' and 'man fstab' to learn how to mount (and
> automount) partitions.
>
>

Giving help is good but statements like "read man mount" only further
confuse an already confused user. The man page for mount does nothing to
describe how to mount a file system you do not know how to describe. Would
it be possible to describe the syntax of the command?

Kakadu
Alexander Dalloz

2004-06-06, 4:50 pm

On Sun, 06 Jun 2004 18:25:33 +0000 Kakadu wrote:

> Giving help is good but statements like "read man mount" only further
> confuse an already confused user. The man page for mount does nothing to
> describe how to mount a file system you do not know how to describe. Would
> it be possible to describe the syntax of the command?
>
> Kakadu


What does your mount manpage miss? *wonder*

man mount -->

mount [-fnrsvw] [-o options [,...]] device | dir
mount [-fnrsvw] [-t vfstype] [-o options] device dir

What is not clear to you with the syntax? All options and switches are
explained in the manpage text.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Lenard

2004-06-06, 4:50 pm

On Sun, 06 Jun 2004 18:25:33 +0000, Kakadu wrote:

> On Sun, 06 Jun 2004 16:53:26 +0000, Lenard wrote:
>
> Giving help is good but statements like "read man mount" only further
> confuse an already confused user. The man page for mount does nothing to
> describe how to mount a file system you do not know how to describe.
> Would it be possible to describe the syntax of the command?


OK! Here's an example of using the mount command;

mount -t vfat /dev/hda1 /mnt/winders -w [-o rw]

Now if I would have an entry in /etc/fstab that basically matches the
mount example which might look like;

/dev/hda1 /mnt/winders vfat noauto,users,rw 0 0

Then all I would have to type is 'mount /mnt/winders' assuming the
mountpoint (/mnt/winders) does exist. If not then the mountpoint needs to
be created before mounting is attempted (mkdir /dev/winders)

With both the mount command and fstab entry provided above as examples in
mind;

The '-t vfat' in the mount command or the 'vfat' in the /etc/fstab entry
is the filesystem type to be mounted.

The partition to be mounted is; /dev/hda1 (the first partition on the
first IDE hard drive)

The location where the mounted filesystem is to be available for reading
and writing is /mnt/winders

The filesystem is vfat (FAT32 in Microsoft terms)

The switch (rw [fstab] -w or -o rw [mount command]) is mount the
filesystem read/write. The switch 'users' in the fstab example allows
users other then root to both read and write to the mounted filesystem.
With the mount command only root can read/write to the filesystem, unless
permissions are set (before or during) to allow users to write to the
filesystem

If the switch 'noauto' is changed to 'auto' then the filesystem would be
mounted at the time the system is started, the mount command would not be
needed. For the details you need to read 'man mkdir', 'man mount' and 'man
fstab', remember these are only examples they may or not meet your
requirements and/or preferences. Additional help and information is
available on the web, a good place to start is at; http://www.tldp.org/

Reading the Redhat Linux 9 manuals could also be helpful;
http://www.redhat.com/docs/manuals/linux/

All are available for downloading for later reading/reference.


--
"In short, without this exclusive franchise, called the Windows API,
we would have been dead a long time ago." M$ Senior VP Bob Muglia '96
Huey Fong

2004-06-06, 11:51 pm

Thank you Lenard.
Your example was what I needed. At best the man pages provide too much
information. At worst, they only serve to confuse those who do not natively
work with, nor understand well, cryptic script and abrupt abreviations... I
guess with time I'll learn but until then... God help if you cant!

Huey
------------------------------

"Lenard" <lenard@127.0.0.1> wrote in message
news:pan.2004.06.06.19.52.59.255854@127.0.0.1...
> On Sun, 06 Jun 2004 18:25:33 +0000, Kakadu wrote:
>
>
> OK! Here's an example of using the mount command;
>
> mount -t vfat /dev/hda1 /mnt/winders -w [-o rw]
>
> Now if I would have an entry in /etc/fstab that basically matches the
> mount example which might look like;
>
> /dev/hda1 /mnt/winders vfat noauto,users,rw 0 0
>
> Then all I would have to type is 'mount /mnt/winders' assuming the
> mountpoint (/mnt/winders) does exist. If not then the mountpoint needs to
> be created before mounting is attempted (mkdir /dev/winders)
>
> With both the mount command and fstab entry provided above as examples in
> mind;
>
> The '-t vfat' in the mount command or the 'vfat' in the /etc/fstab entry
> is the filesystem type to be mounted.
>
> The partition to be mounted is; /dev/hda1 (the first partition on the
> first IDE hard drive)
>
> The location where the mounted filesystem is to be available for reading
> and writing is /mnt/winders
>
> The filesystem is vfat (FAT32 in Microsoft terms)
>
> The switch (rw [fstab] -w or -o rw [mount command]) is mount the
> filesystem read/write. The switch 'users' in the fstab example allows
> users other then root to both read and write to the mounted filesystem.
> With the mount command only root can read/write to the filesystem, unless
> permissions are set (before or during) to allow users to write to the
> filesystem
>
> If the switch 'noauto' is changed to 'auto' then the filesystem would be
> mounted at the time the system is started, the mount command would not be
> needed. For the details you need to read 'man mkdir', 'man mount' and 'man
> fstab', remember these are only examples they may or not meet your
> requirements and/or preferences. Additional help and information is
> available on the web, a good place to start is at; http://www.tldp.org/
>
> Reading the Redhat Linux 9 manuals could also be helpful;
> http://www.redhat.com/docs/manuals/linux/
>
> All are available for downloading for later reading/reference.
>
>
> --
> "In short, without this exclusive franchise, called the Windows API,
> we would have been dead a long time ago." M$ Senior VP Bob Muglia '96



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com