![](https://seccdn.libravatar.org/avatar/e24799c89b6dfbae452f40295fb98778.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/c18a749dda699514c262030be9e0ded9.jpg?s=120&d=mm&r=g)
On 3/17/06, Phil Burness <pburness@btopenworld.com> 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)
![](https://seccdn.libravatar.org/avatar/bbb12e030d77c2c8d1b3ad3426767d6d.jpg?s=120&d=mm&r=g)
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@btopenworld.com> 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
![](https://seccdn.libravatar.org/avatar/e24799c89b6dfbae452f40295fb98778.jpg?s=120&d=mm&r=g)
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@btopenworld.com> 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
![](https://seccdn.libravatar.org/avatar/bbb12e030d77c2c8d1b3ad3426767d6d.jpg?s=120&d=mm&r=g)
Ah - I see, for some reason I thought it was a USB memory stick. I should have read more carefully :) You can definitely follow those instructions to set a permanent mount point for the disk, and it might work with multiple mount points. Sorry for the duff information. Cheers, Jon. Phil Burness wrote:
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@btopenworld.com> 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
-- Jonathan Brooks (Ph.D.) Research Fellow PaIN Group, Department of Human Anatomy & Genetics University of Oxford, South Parks Road, Oxford, OX1 3QX tel: 01865 282654 fax: 01865 282656
participants (3)
-
Jonathan Brooks
-
Phil Burness
-
Sunny