Nailing Down a /dev point 2006-01-15 - By Elam Daly
Back 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? And then simply mount <label><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> <<a href="mailto :greg@(protected)">greg@(protected)</a>> 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> e2label /dev/sda1 <your label ><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>> Howdy all,<br>><br>> We have the USB 2.0 Iomega hard drives we use for a nightly backup scheme.<br>><br>> They work great except for the fact that each time you plug one of them in, <br>> the potential mount point changes. So if I plug in drive a on Monday, the<br>> dev point is /dev/sda1, or it could be /dev/sdc1 etc. It's never<br >> consistent. I've hacked a script that uses the fdisk command and greps for <br>> the appropriate drive and then mounts it, but I'd rather not do this. <br>><br>><br>> Is there a way to tell ES that I want every single usb hard drive to use the<br>> same mount point, preferably /dev/sda1? <br>><br>> Thanks,<br>> -Elam<br><br>+-- ---- ---- ---- ---- ---- ---- -- ---- ---- ---- ---- ---- ---- ----+<br><br>Please also check the log file at "/dev/null" for additional information.<br> (from /var/log/Xorg.setup.log) <br><br>| Greg Hosler <a href ="mailto:greg@(protected)">greg@(protected)</a> |<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
|
|