Re: [SLE] Mounting usb drives



Thanks for the reply.
I have a USB hard drive (160Gb) which is partitioned as a single drive.
However I may want to add another....

But currently I just want to ensure that if the system reboots, this one will
always be /dev/sdb1, and always mounted to /data1
I'll have a read of the notes listed and see if they help.


Phil

On Monday 20 March 2006 14:42, Jonathan Brooks wrote:
Hi,

I'm not sure mounting separate partitions on a USB stick to different
places on the filesystem is such a good idea. I think you could come
really unstuck with that.

If it's not absolutely necessary to have multiple mount points, and
you'd still like HAL to automatically mount USB sticks, CDs, DVDs,
external hard disks, ipods etc then a little bit of configuration along
the lines suggested in the link from the previous mail can force the
mount point to he /data.

See the section "Mounting a USB stick to a static mount point: " in
http://en.opensuse.org/SDB:Mounting_to_Static_Mount_Points

Personally I think this is a much better solution.

Cheers, Jon.

Sunny wrote:
On 3/17/06, Phil Burness <pburness@xxxxxxxxxxxxxxx> wrote:
I've just added a USB hard drive and it auto-mounts as /media/CLASSIC_SL

I wish to re-format the device and then automount the partitions to
various points on the root file structure i.e. /data1 /data2 etc.

how can I stop the device from automounting as /media/CLASSIC_SL?
I think the device node is /dev/sdb, how can I enforce this for all
subsequent reboots of the machine?
Assuming I can enforce as /dev/sdb I guess I can add the device to
/etc/fstab with the required mount points?


--
Phil Burness
Linux User since 1991 - currently using SuSE 9.3
Warrington - United Kingdom

<http://en.opensuse.org/SDB%3AConventional_Mounting_Instead_of_subfs>

--
--
Svetoslav Milenov (Sunny)

--
Jonathan Brooks (Ph.D.)
Research Assistant. PaIN Group,
Department of Human Anatomy & Genetics,
University of Oxford, South Parks Road, Oxford, OX1 3QX
tel: +44(0)1865-282654
fax: +44(0)1865-282656
web: http://www.fmrib.ox.ac.uk/~jon

--
Phil Burness
Linux User since 1991 - currently using SuSE 9.3
Warrington - United Kingdom

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages