Complete.Org: Mailing Lists: Archives: linux-help: March 2002:
[linux-help] Re: Best way to have Linux automatically mount a volume on
Home

[linux-help] Re: Best way to have Linux automatically mount a volume on

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: Best way to have Linux automatically mount a volume on bootup
From: "John Lucas" <jdlucas@xxxxxxxxxxxx>
Date: Sun, 17 Mar 2002 21:09:00 -0600
Reply-to: linux-help@xxxxxxxxx

Thanks for the help!

Adding that line to fstab worked, and it looks like I may be re-arranging
some drives again, so the info on partitioning, etc. will be useful as well.

Thanks again
--John


----- Original Message -----
From: "Tom Hull" <thull@xxxxxxxxxxx>
To: <linux-help@xxxxxxxxx>
Sent: Saturday, March 16, 2002 10:08 PM
Subject: [linux-help] Re: Best way to have Linux automatically mount a
volume on bootup


> Add a line to the /etc/fstab file, something like:
>
>   /dev/hdb1 /c vfat rw 0 0
>
> Replace "/dev/hdb1" with the Linux filename of the raw disk partition
> (/dev/hdb1 means the 2nd IDE disk drive, 1st partition).
>
> Replace "/c" with an empty directory in your Linux filesystem (I usually
> use /c); do a mkdir /c if the directory does not exist.
>
> "vfat" is the file system type; I think this works for all FAT file
systems.
>
> "rw" is the mount options; check man 8 mount for some more ideas here. As
> long as you do _not_ use "noauto" the file system will be mounted on boot.
>
> "0 0" has to do with fsck checking; I don't think there's a fsck for vfat,
> so "0 0" disables this checking.
>
> If you have any additional unused disk partitions, you will need to run
> mkfs on the disk partition, then add a line to /etc/fstab as above. (The
> file system type should probably be efs2.) There may be some smarter tools
> to help you do this sort of thing, but they ultimately depend on mkfs,
> /etc/fstab, and mount.
>
> If you need to create a new partition on the disk, you can use fdsk, but
> I can't try to explain that here. If you wish to defragment your FAT
> partition, then reduce its size and create a new partition with the
> unused space, there's a way to do that too, but I've never done it,
> and offhand don't recall what the program is.
>
> --
> /*
>  *  Tom Hull * thull at kscable.com * http://www.tomhull.com/
>  */


-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]