Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Nailing Down a /dev point

Nailing Down a /dev point

2006-01-15       - By Elam Daly

 Back
Reply:     1     2     3     4     5     6     7     8     9  

Greg,

Are you saying that in my script I run this command each time?  And then
simply mount <label>
The man page doesn't say if the label change is permanent or not.

Thanks,
-Elam

On 1/15/06, Greg Hosler <greg@(protected)> wrote:
>
> set a device label, and then it will ALWAYS mount to the SAME mount point,
> regardless as to whether it is detected as sda, sdb, sdc, or whatever.
>
>         e2label /dev/sda1 <your label>
>
> The label can be up to 16 characters.
>
> man e2label
>
> best rgds,
>
> -Greg Hosler
>
> On 15-Jan-2006 (See http://Jan-2006.ora-code.com) Elam Daly wrote:
> > Howdy all,
> >
> > We have the USB 2.0 Iomega hard drives we use for a nightly backup
> scheme.
> >
> > They work great except for the fact that each time you plug one of them
> in,
> > the potential mount point changes. So if I plug in drive a on Monday,
> the
> > dev point is /dev/sda1, or it could be /dev/sdc1 etc. It's never
> > consistent.  I've hacked a script that uses the fdisk command and greps
> for
> > the appropriate drive and then mounts it, but I'd rather not do this.
> >
> >
> > Is there a way to tell ES that I want every single usb hard drive to use
> the
> > same mount point, preferably /dev/sda1?
> >
> > Thanks,
> > -Elam
>
> +-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------+
>
> Please also check the log file at "/dev/null" for additional information.
>                 (from /var/log/Xorg.setup.log)
>
> | Greg Hosler                                   greg@(protected)    |
> +-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------+
>
> --
> Taroon-list mailing list
> Taroon-list@(protected)
> https://www.redhat.com/mailman/listinfo/taroon-list
>

Greg,<br><br>Are you saying that in my script I run this command each time?
&nbsp; And then simply mount &lt;label&gt;<br>The man page doesn't say if the
label change is permanent or not.<br><br>Thanks,<br>-Elam<br><br><div><span
class="gmail_quote">
On 1/15/06, <b class="gmail_sendername">Greg Hosler</b> &lt;<a href="mailto
:greg@(protected)">greg@(protected)</a>&gt; wrote:</span><blockquote class=
"gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt
0pt 0.8ex; padding-left: 1ex;">
set a device label, and then it will ALWAYS mount to the SAME mount point,<br
>regardless as to whether it is detected as sda, sdb, sdc, or whatever.<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e2label /dev/sda1 &lt;your label
&gt;<br><br>The label can be up to 16 characters.
<br><br>man e2label<br><br>best rgds,<br><br>-Greg Hosler<br><br>On 15-Jan-2006 (See http://Jan-2006.ora-code.com)
Elam Daly wrote:<br>&gt; Howdy all,<br>&gt;<br>&gt; We have the USB 2.0 Iomega
hard drives we use for a nightly backup scheme.<br>&gt;<br>&gt; They work great
except for the fact that each time you plug one of them in,
<br>&gt; the potential mount point changes. So if I plug in drive a on Monday,
the<br>&gt; dev point is /dev/sda1, or it could be /dev/sdc1 etc. It's never<br
>&gt; consistent.&nbsp;&nbsp;I've hacked a script that uses the fdisk command
and greps for
<br>&gt; the appropriate drive and then mounts it, but I'd rather not do this.
<br>&gt;<br>&gt;<br>&gt; Is there a way to tell ES that I want every single usb
hard drive to use the<br>&gt; same mount point, preferably /dev/sda1?
<br>&gt;<br>&gt; Thanks,<br>&gt; -Elam<br><br>+-- ---- ---- ---- ---- ---- ----
-- ---- ---- ---- ---- ---- ---- ----+<br><br>Please also check the log file at
&quot;/dev/null&quot; for additional information.<br>&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(from
/var/log/Xorg.setup.log)
<br><br>| Greg Hosler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href
="mailto:greg@(protected)">greg@(protected)</a>&nbsp;&nbsp;&nbsp;&nbsp;|<br>
+-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------+<br><br>-
-<br>Taroon-list mailing list
<br><a href="mailto:Taroon-list@(protected)">Taroon-list@(protected)</a><br><a
href="https://www.redhat.com/mailman/listinfo/taroon-list">https://www.redhat
.com/mailman/listinfo/taroon-list</a><br></blockquote></div><br>

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list