Re: mount /dev/hda3 stuff

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jim
Date:  
To: plug-discuss
New-Topics: Re: mount /dev/hda3 stuff *works now*
Subject: Re: mount /dev/hda3 stuff
The file fstab is in the /etc directory. You have to open it in a text
editor and make the changes.

--
Del Boy for President.
http://www.ofah.net

On Wed, 27 Oct 2004, mike hoy wrote:

> I can't seem to get fstab to work. What do you type
> exactly?
>
> I've tried :
>
> root@slackware:~# fstab
> -bash: fstab: command not found
> root@slackware:~# cd /etc
> root@slackware:/etc# fstab
> -bash: fstab: command not found
> root@slackware:/etc# fstab /dev/hda3
> -bash: fstab: command not found
> root@slackware:/etc# fstab --help
> -bash: fstab: command not found
> root@slackware:/# whereis fstab
> fstab: /etc/fstab /usr/include/fstab.h
> /usr/man/man5/fstab.5.gz
> /usr/share/man/man5/fstab.5.gz
> root@slackware:/# cd /usr/include
> root@slackware:/usr/include# fstab
> -bash: fstab: command not found
> root@slackware:/usr/include# cd /
> root@slackware:/# cd usr/share/man/man5/
> root@slackware:/usr/share/man/man5# fstab
> -bash: fstab: command not found
> root@slackware:/usr/share/man/man5#
>
> -Mike
> --- Jim <> wrote:
>
> > You'll need to put that partition in your /etc/fstab
> > file. Here's part of
> > mine.
> >
> >
> > /dev/hda5        swap             swap
> > defaults         0   0
> > /dev/hda1        /                ext3
> > defaults         1   1
> > /dev/hdb1     /home          ext2          defaults         1
> > 1

> >
> > You should add to your /etc/fstab something like
> > this.
> >
> > /dev/hda3    /mnt/localbackup  ext2          defaults
> >   1   1

> >
> > /dev/hda3 is the partition you're talking about.
> > /mnt/localbackup is where you want it mounted.
> > ext2 is the file system type. If you formatted the
> > partition as ext3,
> > you'll need to put that in. If you formatted the
> > partition so windows
> > could read and write to it, you'll need to put vfat
> > as the partition type.
> >
> > I believe defaults means the partition is mounted
> > with the default
> > settings for that partition type. Maybe someone
> > else can shed some more
> > light on this.
> >
> > You're right about logging in as root. You could do
> > a lot of damage to
> > your system.
> >
> > --
> > Del Boy for President.
> > http://www.ofah.net
> >
> > On Wed, 27 Oct 2004, mike hoy wrote:
> >
> > > hi all,
> > >
> > > i recently formmatted some unused space on my hdd.
> > and
> > > couldn't see it in linux, as i expected, by
> > default.
> > > so i tried the following.
> > > mkdir /mnt/localbackup
> > > mount -t /dev/hda3 /mnt/localbackup
> > >
> > > it made the dir and after mounting the hda3
> > partition
> > > was finally able to access it
> > >
> > > but i have to mount it each time i reboot. i
> > suspect
> > > you all know how to make this so i can always
> > access
> > > the partition, when i setup slackware it made hda1
> > > (windoze.vfat.partition) always mounted.
> > >
> > > and i always log in as root so permissions don't
> > seem
> > > to be an issue. oh and by the way I know that in
> > > theory i should not be using root user for normal
> > > everyday usage...
> > >
> > > mike!
> > >
> > > =====
> > > My site http://www.solodiver.net
> > >
> > >
> > >
> > > _______________________________
> > > Do you Yahoo!?
> > > Express yourself with Y! Messenger! Free. Download
> > now.
> > > http://messenger.yahoo.com
> > >
> > ---------------------------------------------------
> > > PLUG-discuss mailing list -
> >
> > > To subscribe, unsubscribe, or to change you mail
> > settings:
> > >
> >
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> >
> > To subscribe, unsubscribe, or to change you mail
> > settings:
> >
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss